function preloadImages()
{
	for(var i = 0; i<arguments.length; i++)
	{
		$("body").after("<img src='"+arguments[i]+"' style='display:none;'>");
	}
}

function load( label, refreshGrayBox )
{
	if ( typeof(refreshGrayBox) == "undefined" )
		refreshGrayBox = true;
	
	if ( refreshGrayBox )
	{
		$("#grayBoxBanner").fadeOut("fast");
		$("#grayBoxText").fadeOut("fast");
	}
	$("#contentArea").fadeOut("fast",function(){ load2( label, refreshGrayBox ); });
}

function load2( label, refreshGrayBox )
{
	loadDetails( label );
	
	if ( refreshGrayBox )
	{
		$("#grayBoxBanner").fadeIn("fast", function(){ $(this).css({opacity:"", overflow:""}); });
		$("#grayBoxText").fadeIn("fast", function(){ $(this).css({opacity:"", overflow:""}); });
	}
	$("#contentArea").fadeIn("fast", function(){ $(this).css({opacity:"", overflow:""}); });
}

function loadDetails( label )
{
	var grayBoxHeader;
	var grayBoxText;
	var mainContent;
	
	var showcaseHeader = "Showcase";
	var showcaseText = "Just the tip of the iceberg..."
	var showcaseMenu = "<div class='center bottomLine'><a class='showcaseLink' href='#' onclick=\"load('Card Sort', false)\">Card Sort</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class='showcaseLink' href='#' onclick=\"load('Image Zoning', false)\">Image Zoning</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class='showcaseLink' href='#' onclick=\"load('Audio/Video', false)\">Audio/Video</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class='showcaseLink' href='#' onclick=\"load('Lightbox', false)\">Lightbox</a><br /><a class='showcaseLink' href='#' onclick=\"load('Inline', false)\">Inline Survey</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class='showcaseLink' href='#' onclick=\"load('Single Slider', false)\">Slide Control</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class='showcaseLink' href='#' onclick=\"load('Video Slider', false)\">Video Slide Control</a></div><br />";
	
	switch ( label )
	{
		case 'Home':
			grayBoxHeader = "Carbonview Research";
			grayBoxText = "The Optimal Blend of Marketing Research Science and Technology";
			mainContent = "Carbonview specializes in delivering high-value results and insight for you by utilizing a consultative approach to fully understand your research needs, building processes to support those requirements, and consistently delivering on those specific measures.<br /><br />Our disciplined operational design is simple and logical:<br /><br /><div class='contentHeader center'>discover | define | deliver</div><br />Our goal is to build a customized service to fit your needs while giving insight and operational benefit where you need it most.  We decrease the risk you take in the beginning by truly understanding your organizational approach first, thereby facilitating a better service for you in the long-term. We want to understand your business; we want to help you achieve your goals both tactically and strategically.";
		break;
		case 'Research Services':
			grayBoxHeader = "Research Services";
			grayBoxText = "One Team, Your Solution";
			mainContent = "Our approach is to become your staff. Creating a team for you is only a small portion of the <span class='keyWord2'>Total Process</span>. After the initial <span class='keyWord'>discovery</span>, we develop an adaptable and scalable framework for managing your research needs. <span class='keyWord'>Process Definition</span> begins with your operational consultant and team internal to Carbonview that are most relevant to your needs. This team reviews information about your organization, your focus, your application of the research.<br /><br />Our customized solutions span a wide breadth of research tools and techniques. Leveraging these assets for you is our specialty. Below is just a handful of areas we have assisted our other clients with…<br /><br /><span class='keyWord2'>Project/Process Consulting</span>: Our technology and market research consultation starts with listening to you and your concerns. We assist you at any point in the process starting with conceptual vision through to strict and rigid delivery requirements if needed.<br /><br /><span class='keyWord2'>Operational Support</span>: Our operational support starts with our extensive experience and insight. We don’t just do it, we think about it, do everything we can to offer our insight and work with you for your technical needs, operational needs or just simply delivering to your exact specifications.<br /><br /><span class='keyWord2'>Questionnaire Development and Design</span>: Our goal is to understand your methods and approach and then to define our success around yours resulting in our ability to get your questions answered appropriately.<br /><br /><span class='keyWord2'>Our partners and integration</span>: We only work with those organizations we feel extend our philosophy. Whether it is that vendor that provides the hard to reach respondent or a vendor that provides one of our many technology components, we only work with the best. That said, your experience is completely seamless and stress free. We handle the research and due diligence needed to create a combined turn-key service.<br /><br /><span class='keyWord2'>Custom Panel Development</span>: We have created our own panel, why?, because we know how to build, manage, and utilize it appropriately. We, in-turn, can create your custom research community. Our ability to do this at a fraction of the costs allows you to concentrate on your needs and not the budget when a custom community is needed.<br /><br /><span class='keyWord2'>Superior Programming for Online Research</span>: As our Tech Showcase shows, we feel that an online interview should not be limited to a collection of logically based entry forms to get the answers you need. We view our survey platform as only an enabling agent to our total solution. If you can think of it, we can make it happen. Our examples are the tip of the iceberg, please, challenge us – whether it’s a new generation respondent engagement style or an advanced statistical approach behind the scenes - we would love to create or assist in your vision. <br /><br /><span class='keyWord2'>State-of-the-Art In-Field and Post-Field Reporting</span>: The answers to your questions should be clear, concise and easily attainable. Our philosophy is that you should not be the detective in finding those answers, our consultative approach allows you and your staff to cut the noise of the detail or to allow the detail to be at your fingertips. What is your perfect reporting solution? We would love to hear about it. Of course if traditional data processing is what you need, you will find our quality, timeline and insight to be exactly what you need.<br /><br /><span class='keyWord2'>Beyond just the numbers and reporting</span>: If you need our staff to turn those numbers into presentation and insight, whether its in real-time or after we have collected your data, let us understand and deliver exactly what you are looking for.";
		break;
		case 'Technology':
			grayBoxHeader = "Technology";
			grayBoxText = "<span class='keyWord'>'Any sufficiently advanced technology is indistinguishable from magic.'</span><br />-Arthur C. Clarke";
			mainContent = "Our solutions span a wide breadth of research tools and techniques. Leveraging these assets to deliver customized solutions for each client is our specialty.<br /><br />While we utilize Confirmit as our primary survey application, and are a charter member of the Confirmit Advisory Board, it is only a small portion of our technology platform.  In addition, we are one of only 35 companies worldwide that have licensed Confirmit for use on in-house servers. This enables us to integrate online surveys directly with anything you need.  Some of our most recent applications have dealt with conjoint applications, real-time audio/video capture, interactive website measurement and real-time custom algorithm and segmentation just to name a few.<br /><br />Our platform resides in data centers across the country, with multiple layers of security maintained for both the network and the data we collect. Our systems and processes are fully HIPAA/SOX compliant. We review and audit these systems routinely to maintain compliance.<br /><br /><br /><table align='center' border='0' cellpadding='0' cellspacing='1'><tr><td><table border='0' cellspacing='5' width='100%'><tr><td valign='middle' width='183'><a class='contentLink' href='http://www.confirmit.com' target='_blank'><img src='http://www.confirmit-marketplace.com/img/confirmit_everywhere.gif' alt='survey software' longdesc='http://www.confirmit.com' align='left' border='0' height='50' hspace='0' vspace='0' width='183'></a></td><td valign='middle'><font face='Arial, Helvetica, sans-serif' size='-1'>Carbonview provides products/services on <a class='contentLink' href='http://www.confirmit.com'>Confirmit</a>, the world's leading software for Market Research (MR) and Enterprise Feedback Management (EFM).</font></td></tr></table></td></tr></table>";
		break;
		case 'Markets':
			grayBoxHeader = "Markets";
			grayBoxText = "From Apples to Airlines to working with the agencies that support them";
			mainContent = "Carbonview Serves Clients Across a Broad Array of Industries:<br /><br /><table width='100%' cellpadding=10><tr><td width='50%' align='right'>Consulting <br /><br />Advertising<br /><br />Marketing Communication<br /><br />Public Relations<br /><br />Branding Strategy<br /><br />Healthcare<br /><br />Pharmaceuticals</td><td width='50%'>Medical Devices<br /><br />Market Research<br /><br />Consumer Products <br /><br />Consumer Services<br /><br />Publishing<br /><br />Public Utilities<br /><br />Law Firms</td></tr></table>";
		break;
		case 'Communities':
			grayBoxHeader = "Online Communities";
			grayBoxText = "From our own online community to yours - We can find who you need";
			mainContent = "Our philosophy continues with our approach to build a high-quality U.S. consumer panel.  We don’t attempt to fill every need regarding your sampling needs, but only those we know we do very well.  Our goal is not to have the largest panel, but yet employ the appropriate market research protocols inclusive of the ESOMAR 25 to offer economical, yet representative members that represent the U.S. Census.  If our panel can’t offer what you need or you prefer to work with a specific vendor, we seamlessly partner with a very short and qualified list of organizations.  We only work with the best and thus you do not need to be concerned regarding over utilization, professional respondents or unrepresentative audiences.  Below is just a few of the specifications we employ with our panel.<ul><li><span class='listItem'>Online and Offline Recruitment methods including Face-to-Face, in person recruitment</span></li><li><span class='listItem'>Panelists must 'Double Opt-in' as well as give a valid postal address</span></li><li><span class='listItem'>We adhere to the ESOMAR 25.  <a class='contentLink' href='files/ESOMAR25_Carbonview_Answers.pdf' target='_blank'>Click here to see our answers.</a></span></li><li><span class='listItem'>We track the activity level of each panelist to ensure that inactive panelists are periodically phased out of receiving survey invites </span></li><li><span class='listItem'>We utilize our panel participation rules and an automatic profile maintenance process to achieve extremely high levels of panel maintenance and data validity </span></li><li><span class='listItem'>We track each panelist's level of survey participation by topic area and are able to keep from sending invitations to participate in similar surveys until an appropriate amount of time has passed </span></li><li><span class='listItem'>We respect the privacy of each of our panel members and adhere to a highly ethical privacy policy that fosters maximum trust with panel members</span></li></ul>";
		break;
		case 'Showcase':
			grayBoxHeader = showcaseHeader;
			grayBoxText = showcaseText;
			mainContent = showcaseMenu + "Carbonview’s approach is to truly balance the blend of market research and technology.  While the demonstrations you can view are nice to have, we also understand that utilizing them takes the vision of how they may apply to getting your research objectives answered.  Whether we are designing an interactive approach or applying heavy real-time analytics behind the scenes to allow for better collection methods our approach is the same; get your answers for your research project in the most efficient and convenient manner.  Allowing the respondent to interact with more than form input is just one example of that philosophy.<br /><br />Do us a favor, challenge us, we love to take your insurmountable challenges and do what we do best; discover your needs, define your success criteria, and deliver your solution to your exact specifications.<br /><br /><div class='center keyWord2'>Click on any of the links above to get started.</div>";
		break;
		case 'Card Sort':
			grayBoxHeader = showcaseHeader;
			grayBoxText = showcaseText;
			mainContent = showcaseMenu + "<span class='contentHeader'>Flexible, easy-to-use card sorting</span><br />Respondents quickly and easily sort a virtual deck of cards into groups that you define.<br /><br/>Images of products, ads, etc. can be arranged in a pile of cards. Using simple drag-and-drop actions, respondents place each card into piles. This flexible solution allows respondents to spread cards out on the page, compare them, and easily re-arrange cards once they have been placed.<br /><br /><div class='center demoLink'>Click <a class='contentLink' href='http://survey.carbonview.com/wix/p0021889.aspx' target='_blank'>here</a> to launch a demo.<br /><br /><img src='images/cardsort_small.jpg' alt='' border='1' /></div>";
		break;
		case 'Image Zoning':
			grayBoxHeader = showcaseHeader;
			grayBoxText = showcaseText;
			mainContent = showcaseMenu + "<span class='contentHeader'>Image zoning for the evaluation of advertising & more</span><br />Ask respondents to identify areas of images that appeal to them and those areas that do not.<br /><br/>Later in the survey, we can ask follow up questions about areas of the image that made an impression on the respondent. This online survey solution is great for banner ad evaluations, web imagery evaluations, and even print media evaluations.<br /><br /><div class='center demoLink'>Click <a class='contentLink' href='http://survey.carbonview.com/wix/p0020214.aspx' target='_blank'>here</a> to launch a demo.<br /><br /><img src='images/zoning_small.jpg' alt='' border='1' /></div>";
		break;
		case 'Audio/Video':
			grayBoxHeader = showcaseHeader;
			grayBoxText = showcaseText;
			mainContent = showcaseMenu + "<span class='contentHeader'>Play audio or video in the middle of a survey</span><br />Need to get opinions on a new commercial or product concept?<br /><br/>The ability to play a respondent an video or audio clip opens up the door to a whole new class of survey. Being able to play a full motion video of your new product allows for more accurate results and more meaningful data.<br /><br /><div class='center demoLink'>Click <a class='contentLink' href='http://survey.carbonview.com/wix/p0021035.aspx' target='_blank'>here</a> to launch a demo.<br /><br /><img src='images/audiovideo_small.jpg' alt='' border='1' /></div>";
		break;
		case 'Lightbox':
			grayBoxHeader = showcaseHeader;
			grayBoxText = showcaseText;
			mainContent = showcaseMenu + "<span class='contentHeader'>Display content without interrupting the flow of a survey</span><br />Our information box can display any type of content you want, at any time, without taking up valuable page space.<br /><br/>A new layer of information can be overlayed onto the current page so that the respondent can have their memory refreshed or shown definitions, explanations or even a website, all without leaving the page they are currently on, or using intrusive popup windows.<br /><br /><div class='center demoLink'>Click <a class='contentLink' href='http://survey.carbonview.com/wix/p0020801.aspx' target='_blank'>here</a> to launch a demo.<br /><br /><img src='images/overlay_small.jpg' alt='' border='1' /></div>";
		break;
		case 'Inline':
			grayBoxHeader = showcaseHeader;
			grayBoxText = showcaseText;
			mainContent = showcaseMenu + "<span class='contentHeader'>Launch a survey without leaving a web page</span><br />Our team provides a few lines of javascript to your webmaster. That code can be used to launch your survey in a popup without ever navigating away from your website. It is as easy as that!<br /><br/>No additional software purchases or installations are required. The survey runs remotely on Carbonview servers, stores data remotely on Carbonview servers, and is managed by our trained staff.<br /><br /><div class='center demoLink'>Click <a class='contentLink' href='#' onclick='ShowSurvey();'>here</a> to launch a demo.<br /><br /><img src='images/inline_small.jpg' alt='' border='1' /></div>";
		break;
		case 'Single Slider':
			grayBoxHeader = showcaseHeader;
			grayBoxText = showcaseText;
			mainContent = showcaseMenu + "<span class='contentHeader'>Make questions more dynamic.</span><br />Make your quesitons stand out from a simple radio button solution by transforming them into a slide control. This is naturally formatted for rating scales, but any single question can be formatted this way.<br />This engages respondent interaction getting better results and protecting against respondent boredom and fatigue.<br /><br /><div class='center demoLink'>Click <a class='contentLink' href='http://survey.carbonview.com/wix/p1336567.aspx' target='_blank'>here</a> to launch a demo.<br /><br /><img src='images/slider_small.jpg' alt='' border='1' /></div>";
		break;
		case 'Video Slider':
			grayBoxHeader = showcaseHeader;
			grayBoxText = showcaseText;
			mainContent = showcaseMenu + "<span class='contentHeader'>Get subjective ratings throughout a video.</span><br />We can place a slide control next to or below your video so that respondents can express how they feel about a specific scene or topic in your video.<br />This allows you to pinpoint exactly what is and is not working in your videos.<br /><br /><div class='center demoLink'>Click <a class='contentLink' href='http://survey.carbonview.com/wix/p1164681.aspx' target='_blank'>here</a> to launch a demo.<br /><br /><img src='images/videoslider_small.jpg' alt='' border='1' /></div>";
		break;
		case 'Background':
			grayBoxHeader = "Background";
			grayBoxText = "Research - Our Foundation || Technology - Our vehicle";
			mainContent = "<span class='contentHeader'>Carbonview Research</span> was created  to build and deliver world-class online market research services. We were founded by the <span class='keyWord2'>MVL Group</span> (<a class='contentLink' href='http://www.mvlgroup.com'>www.mvlgroup.com</a>), a global leader in full-service market research and data collection. The MVL Group’s majority owner is <span class='keyWord2'>Allied Capital</span> Corporation (NYSE:ALD, <a class='contentLink' href='http://www.alliedcapital.com'>www.alliedcapital.com</a>)<br /><br />Carbonview currently provides research services to more than 80 clients in the US, and we have completed 800 projects in the past three years.<br /><br />We specialize in delivering high-value, high-quality data, results and insight for our clients by utilizing a consultative approach to fully understand their research needs, building processes to support those requirements, and consistently delivering reliable results.  Our senior management includes staff with strong backgrounds in both research and technology.<br /><br />Carbonview’s technology platform resides in data centers across the country and includes a wide breadth of enterprise level online research tools and infrastructure.  Our disciplined operational design is simple and logical:<br /><br /><div class='contentHeader center'>discover | define | deliver</div><br />This proprietary methodology combines strong platforms, experienced staff with solid research skills and creativity to support an agile research design methodology that identifies and executes high quality solutions at competitive prices. ";
		break;
		case 'Approach':
			grayBoxHeader = "Approach";
			grayBoxText = "discover | define | deliver";
			mainContent = "Our Total Process approach begins in the <span class='keyWord'>Discovery</span> phase with members of our team working with your organization to discover the full scope of your research requirements.<br /><br />We are then able and prepared to <span class='keyWord'>Deliver</span> value-add by understanding your business more intimately given the accomplishments of the <span class='keyWord'>Discovery</span> and <span class='keyWord'>Definition</span> phases.<br /><br />Our goal is to build a customized service to fit your needs while giving insight and operational benefit where you need it most. Your team that is created during this process is focused on servicing your customized needs and workflow.  We decrease the risk you take in the beginning, thereby facilitating a better service for you in the long-term.  We want to understand your business; we want to help you achieve your goals both tactically and strategically.";
		break;
		case 'Leadership':
			grayBoxHeader = "Leadership";
			grayBoxText = "<span class='keyWord'>'Leadership is the capacity to translate vision into reality.'</span><br />-Warren Bennis";
			mainContent = "<span class='contentHeader'>Rich Ratcliff</span>, Executive Vice President, is a market research industry veteran with more than 15 years experience designing and implementing operational solutions for complex research needs.  Rich has developed these talents at some of the world’s largest research firms such as The NPD Group, TNS/NFO and GfK.<br /><br /><span class='contentHeader'>John Beckley</span>, Director of Business Development has over 10 years of experience in cultivating business relationships in the market research industry. Prior to Carbonview, John worked for Guideline Research (Formerly Find/SVP) in a business development capacity and was responsible for developing relationships for both custom and secondary research services. He holds an MBA from the Keller Graduate School of Management.<br /><br /><span class='contentHeader'>Dave Bostock</span>, Business Development Executive, brings 18 years of industry experience from the operations side of market research to bear in this role. In Dave’s is previous role with MarketTools he was responsible for developing solutions for large scale projects, and working closely with the Technology and Research teams to further enhance the companies capabilities. <br />Prior to joining MarketTools in 2004, Dave worked for Synovate Healthcare (formerly Isis Research) in the UK, where, amongst other responsibilities he was responsible for migrating the syndicated “Jigsaw” drug tracking study to Internet collection and reporting. This product contained over 10 million hierarchical data records detailing Doctors prescribing habits and counts the 5 largest pharmaceutical manufacturing companies in the world amongst its subscribers.<br />Dave has delivered papers on internet research techniques and practices at industry user groups worldwide and the Royal Statistical Society in London. <br />";
		break;
		case 'Contact':
			grayBoxHeader = "Contact";
			grayBoxText = "Let's Talk";
			mainContent = "<span class='contentHeader'>Carbonview Research, Inc<br />1061 E. Indiantown Road, Suite 300<br />Jupiter, FL 33477<br /><a class='contentLink' href='mailto:info@carbonview.com'>info@carbonview.com</a><br /></span><br /><br /><span class='keyWord2'>Research Inquiries:</span><br /><br />John Beckley<br />Director of Business Development<br />(866) 340-7204<br /><a class='contentLink' href='mailto:sales@carbonview.com'>sales@carbonview.com</a> <br />";
		break;
		case 'Careers':
			grayBoxHeader = "Careers";
			grayBoxText = "Work for Team Carbonview";
			mainContent = "Carbonview Research is an equal opportunities employer offering competitive salary packages and a rewarding future. While customer focused, we know that employees are our most important asset and, as such, are committed to the continued development of our staff. We are constantly looking for good people seeking rewarding job content and challenging roles in a high technology market research organization.<br /><br />If you are interested in submitting your resume – please send it to <a class='contentLink' href='mailto:hr@carbonview.com'>hr@carbonview.com</a>";
		break;
	}
	
	$("#grayBoxBanner").html( grayBoxHeader );
	$("#grayBoxText").html( grayBoxText );
	$("#contentArea").html( mainContent );
}


$(document).ready( function(){
	if ( unescape(location.search) == "?d" )
		load( 'Showcase' );
	else
		load( 'Home' );
});
