/*
 *  Generic All Page Items
*/
	
	// Suckerfish hover
	sfHover = function() {
		var sfEls = document.getElementById("nav").getElementsByTagName("LI");
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
				this.className+=" sfhover";
			}
			sfEls[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			}
		}
	}
	if (window.attachEvent) window.attachEvent("onload", sfHover);
	
	// Suckerfish :focus
	sfFocus = function() {
		var sfEls = document.getElementsByTagName("INPUT");
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onfocus=function() {
				this.className+=" sffocus";
			}
			sfEls[i].onblur=function() {
				this.className=this.className.replace(new RegExp(" sffocus\\b"), "");
			}
		}
	}
	if (window.attachEvent) window.attachEvent("onload", sfFocus);
	
	// addThis
	var addthis_config = {
		"data_track_clickback":true,
		ui_cobrand:"Industry Intelligence"
	};
	
	
	// create default HTML5 elements for older IE
	document.createElement('article');
	document.createElement('section');
	document.createElement('hgroup');
	document.createElement('header'); 
	document.createElement('footer');
	
	// Main site top search form:  set/del 'Search' word
	function searchCheck(search,event){
		ret = '';
		for(var i in search){
			var value = search[i];
			ret += i + "=" + value + "\n";
		}
		//alert(event.type);
		
		if(event.type == 'focus' && search.value == search.defaultValue){
			search.value='';
		}
		if(event.type == 'blur' && search.value == ''){
			search.value=search.defaultValue;
		}
	};
	
	
/*
 * jQuery Document Ready
*/
	
	// jQuery Document Ready
	$(document).ready(function(){
		
		//
		jQuery.validator.messages.required = "";
		
		// user login
		$("a[rel='login']").prettyPhoto({
			social_tools:'',
			default_width: 360,
			default_height:200,
			deeplinking:false,
			modal:false,
			opacity: 0.1,
			keyboard_shortcuts: false				
		});
		
		// default photo viewer
		$("a[rel='prettyPhoto']").prettyPhoto({
			deeplinking:false
		});
		
		// large product screenshot view
		$("a[rel='closeup-look']").prettyPhoto({
			deeplinking:false,
			allowresize:true,
			keyboard_shortcuts: false,
			changepicturecallback:function(){
				$(".pp_expand").click();
			}
		});
		
		// inline table viewer
		$("a[rel='inlineTable']").prettyPhoto({
			social_tools:'',
			default_width: 800,
			deeplinking:false,
			keyboard_shortcuts: false
		});
		
		
		// inline table viewer
		$("a[rel='overview-inline']").prettyPhoto({
			social_tools:'',
			default_width: 600,
			deeplinking:false,
			keyboard_shortcuts: false
		});
		
		// inline download register viewer
		$("a[rel='regDownload']").prettyPhoto({
		social_tools:'',
		deeplinking:false,
		default_width: 450,
		opacity: 0.1,
		keyboard_shortcuts:false,
		changepicturecallback: function(){
				var formobj = $("#pp_full_res #dlregisterform");
				$(formobj).validate({
					invalidHandler:dlformInvalid,
					submitHandler:dlSubmitRegistration,
					rules:{
						dlfirstname: 'required',
						dllastname: 'required',
						dlcompany: 'required',
						dltitle: 'required',
						dlcountrycode: 'required',
						dlphone: 'required',
						dlemail: {required:'required', email:true}
					},
					messages: {
						dlfirstname: "Please enter your first name <br/>",
						dllastname: "Please enter your last name <br/>",
						dlcompany: "Please enter your company name <br/>",
						dltitle: "Please enter your title <br/>",
						dlphone: "Please enter your phone number <br/>",
						dlcountrycode: "Please enter your country code <br/>",
						dlemail: {
							required: "Please enter a valid email address<br/>",
							email: "Please enter a valid email address, example: you@yourdomain.com<br/> "
						}
					},
					debug:true
				});
				$("#pp_full_res #dlregisterform").submit(function(){
					return false;
				});
				
			}
		});
		
		// inline trial register viewer
		$("a[rel='regTrial']").prettyPhoto({
		social_tools:'',
		deeplinking:false,
		default_width: 450,
		keyboard_shortcuts:false,
		opacity: 0.1,
		changepicturecallback: function(){
				var formobj = $("#pp_full_res #trialSignup");
				$("#pp_full_res #trialSignup").validate({
					invalidHandler:regFreeTrialFormInvalid,
					submitHandler:regFreeTrialSubmit,
					rules:{
						ftfirstname: 'required',
						ftlastname: 'required',
						ftcompany: 'required',
						fttitle: 'required',
						ftcountrycode: 'required',
						ftphone: 'required',
						ftemail: {required:'required', email:true},
						ftindustryFocus: 'required',
						fthowHear: 'required',
						ftagreeTermsConditions: 'required'
					},
					messages: {
						ftfirstname: "Please enter your first name <br/>",
						ftlastname: "Please enter your last name <br/>",
						ftcompany: "Please enter your company name <br/>",
						fttitle: "Please enter your title <br/>",
						ftcountrycode: "Please choose a country code <br/>",
						ftphone: "Please enter your phone number <br/>",
						ftemail: {
							required: "Please enter a valid email address<br/>",
							email: "Please enter a valid email address, example: you@yourdomain.com<br/> "
						},
						ftindustryFocus: "Please select an industry for your trial <br/>",
						fthowHear:"Please tell us how you heard about us. <br/>",
						ftagreeTermsConditions: ""
					},
					debug:true
				});
				$("#pp_full_res #trialSignup").submit(function(){
					return false;
				});
				
			}
		});
		
		// inline trial register confirmation
		$("a[rel='regTrialConfirm']").prettyPhoto({
			social_tools:'',
			deeplinking:false,
			default_width: 450,
			keyboard_shortcuts:false,
			opacity: 0.1
		});
				
		// inline buy now
		$("a[rel='regBuyNow']").prettyPhoto({
			social_tools:'',
			deeplinking:false,
			default_width: 740,
			opacity: 0.1,
			keyboard_shortcuts:false
		});
		
		// watch demo
		$("a[rel='watchDemo']").prettyPhoto({
			social_tools:'',
			deeplinking:false,
			default_width: 640,
			keyboard_shortcuts:false
		});
		
		// email register form (homepage)
		
		if ($("#emailregisterform").length) {
			var formobj = $("#emailregisterform");
			$(formobj).validate({
				invalidHandler:emailRegisterInvalid,
				submitHandler:emailRegisterSubmit,
				rules:{
					email: {required:true, email:true}
				},
				messages: {
					email: {
					required: "Your email address is required<br/>",
					email: "Please enter a valid, complete email address<br/> "
					}
				},
				errorPlacement: function(error, element) {
					$("#emailRegSubmitResponse").html(error);
				},
				debug:true
			});
			$("#emailSubmit").submit(function(){
				return false;
			});
			$("#emailSubmit").removeAttr('disabled');
			$("#emailRegSubmitResponse").hide();
		}
		
		

/*
	Scroller item (client names
*/
	$(window).load(function() {
		$("div#scrollingTextLeft").smoothDivScroll({
			autoScroll: "always", 
			autoScrollDirection: "endlessloopright", 
			autoScrollInterval: 50, 
			autoScrollStep: 2
		});
		$("div#scrollingTextRight").smoothDivScroll({
			autoScroll: "always", 
			autoScrollDirection: "endlessloopleft", 
			autoScrollInterval: 50, 
			autoScrollStep: 2
		});
	});

/*
	Watch Demo
*/	
	// Watch Demo Button Click  
	$('#watchDemo').on('click', function(e) {
		e.preventDefault(); // stops the browser from folowing
		$("#watchDemoLink").click();  // launch window
		_gaq.push(['_trackEvent', 'Watch Demo', 'Step 1: Watch Demo Video']);
	});
	// Watch Demo Button Click Footer  
	$('#watchDemoFooter').on('click', function(e) {
		e.preventDefault(); // stops the browser from folowing
		$("#watchDemoLink").click();  // launch window
		_gaq.push(['_trackEvent', 'Watch Demo', 'Step 1: Watch Demo Video']);
	});
	

/*
	Personal Demo Registration
*/	
	// Personal Demo Button Click  
	$('#personalDemoLink').on('click', function(e) {
		e.preventDefault(); // stops the browser from folowing
		$("#regDownloadLink").click();  // launch window
		$("#dlregisterform input#prodtype").val('i2dashboard');  //change prodType to i2dashboard
		$("#dlregisterform input#regtype").val('personaldemo');  //change regType to personal demo
		$("p#regHeader.pHeader").html("Schedule a personal demonstration");  
		$("#dlsubmit").attr('value', 'Submit Request for Demo');
		$("#pp_full_res input#dlsubmit").removeAttr('disabled');
		_gaq.push(['_trackEvent', 'Personal Demo', 'Step 1: Reg Form']);
	});
	
	
	
	
/*
 	Contact Us Registration
 */	
	// Contact Us Button Click  
	$('#contactUsLink').on('click', function(e) {
		e.preventDefault(); // stops the browser from folowing
		$("#regDownloadLink").click();  // launch window
		$("#dlregisterform input#prodtype").val('i2dashboard');  //change prodType to i2dashboard
		$("#dlregisterform input#regtype").val('contactUs');  //change regType to contactUs
		$("p#regHeader.pHeader").html("Contact us and we'll respond immediately");  
		$("#dlsubmit").attr('value', 'Request Contact');
		$("#pp_full_res input#dlsubmit").removeAttr('disabled');
		_gaq.push(['_trackEvent', 'Contact Us', 'Step 1: Reg Form']);
	});


/*
	Email registration (homepage)
*/	
	// email registration form invalid
	function emailRegisterInvalid(form, validator){
	 	var errors = validator.numberOfInvalids();
		var submitResponse = $("#emailRegSubmitResponse");
		if (errors) {
			var message = "";
			$(submitResponse).html(message);
			$(submitResponse).attr('style','text-align:center;color:red;');
			$(submitResponse).show();
		} else {
			$(submitResponse).hide();
		}
		return false;
	};
	// email registration submit
	function emailRegisterSubmit (){
		var myform = $("#emailregisterform");
		var submitData = '';
		var submitResponse = $("#emailRegSubmitResponse");
		// wipe out any previous messages
		$(submitResponse).html("<img src='/commons/images/loading.gif' id='loadimage' border='0'> Please wait, we're processing your request.");
		$(submitResponse).css('display', 'block');
		$(submitResponse).attr('style','text-align:center');
		$("#emailSubmit").attr('disabled', 'true');
		// submit registration
		submitData = $(myform).serialize();
		submitData = submitData + '&event=register&callback=?';
		$.ajax({data:submitData,url:apiurl,success:regEmailResponse,dataType:'json'});
		
		return false;
	}
	// email registration submit response
	function regEmailResponse(data, textStatus, xhr){
		var submitResponse = $("#emailRegSubmitResponse");
		//console.log(data);
		if(data.success == true){
			$(submitResponse).html("You are signed up to be an insider!");
			_gaq.push(['_trackEvent', 'Email Registration', 'Registration Complete']);	
		}else{
			$(submitResponse).html("An error occured while registering you.");
		};
		
	}

/*
	Subscribe (buy now)
*/
	// Subcribe Button Click  
	$('#subscribei2daily,#subscribei2dashboard,#subscribereeltime').on('click', function(e) {
		e.preventDefault(); // stops the browser from folowing
		var prodTitle = this.title;
		var aTitle = prodTitle.split(' ');
		var prodType = aTitle[0];
		var regType = "buynow";
		$("#regFreeTrialLink").click();  // launch window
		$("#prodtype").val(prodType);  //change prodType to Buy Now
		$("#regtype").val(regType);  //change regType to Buy Now
		if(prodType == 'reeltime'){
			$("p#regHeader.pHeader").html("Subscribe to Reel Time Reports");
			$("tr.industryRow").hide();
			$("#ftindustryFocus").attr('class', '');
			$('#ftindustryFocus').append('<option value="reeltime-Reel Time Reports" selected="selected">Reel Time Reports</option>');
		}else{
			setIndustryOptions(prodType);
			$("p#regHeader.pHeader").html("Subscribe to " + prodType);	
		}
		$("#regFreeTrialSubmit").attr('value', 'Continue...');
		$("#pp_full_res #regFreeTrialSubmit").removeAttr('disabled');
		_gaq.push(['_trackEvent', prodType + ' Buy Now', 'Step 1: Reg Form']);
	});


/*
	i2daily Free Trial 
*/
	// Free Trial Button Click  
	$('#triali2daily').on('click', function(e) {
		e.preventDefault(); // stops the browser from folowing
		$("#regIntroMessage").html("");
		$("#regIntroMessage").hide();
		$("#regFreeTrialLink").trigger('click');  // launch window
		// set/remove select options
		setIndustryOptions('i2daily');
		$("#regFreeTrialSubmit").attr('value', 'Activate Free Trial');
		$("#pp_full_res #regFreeTrialSubmit").removeAttr('disabled');
		$("p#regHeader.pHeader").html("Activate your i2daily free 14-day trial");  
		$("#prodtype").val('i2daily-trial');  //change prodType to Buy Now
		_gaq.push(['_trackEvent', 'i2daily Free Trial No CC', 'Step 1: Reg Form No CC']);
	});

	// Free CC Trial Button Click  
	$('#triali2dailycc,a#triali2dailycc').on('click', function(e) {
		e.preventDefault(); // stops the browser from folowing
		$("#regIntroMessage").html("");
		$("#regIntroMessage").hide();
		$("#regFreeTrialLink").click();  // launch window
		// set/remove select options
		setIndustryOptions('i2daily');
		$("#regFreeTrialSubmit").attr('value', 'Continue...');
		$("#regtype").val('buynow');  //change regType to Buy Now
		$("#pp_full_res #regFreeTrialSubmit").removeAttr('disabled');
		$("p#regHeader.pHeader").html("Activate your i2daily free 14-day trial");
		$("p#regFreeTrialName").html("<small class='caption'>Cancel at any time!</small>");
		$("p#regFreeTrialName").show();  
		$("#prodtype").val('i2daily-trial');  //change prodType to Buy Now
		_gaq.push(['_trackEvent', 'i2daily Free Trial', 'Step 1: Reg Form']);
	});

/*
	i2dashboard Free Trial
*/
	// Free Trial Button Click  
	$('#freertiallink,#freertiallinkside,#freertiallinkmain').on('click', function(e) {
		e.preventDefault(); // stops the browser from folowing
		$("#regIntroMessage").html("");
		$("#regIntroMessage").hide();
		$("#regFreeTrialLink").click();  // launch window
		// set/remove select options
		setIndustryOptions('i2dashboard');
		$("#regFreeTrialSubmit").attr('value', 'Activate Free Trial');
		$("#pp_full_res #regFreeTrialSubmit").removeAttr('disabled');
		$("p#regHeader.pHeader").html("Activate your i2dashboard free 30-day trial");  
		_gaq.push(['_trackEvent', 'i2dashboard Free Trial', 'Step 1: Reg Form']);
	});
	// Submit Free Trial Registration
	function regFreeTrialSubmit (){
		var myform = $("#pp_full_res #trialSignup");
		var submitData = '';
		var submitResponse = $("#pp_full_res #regFreeTrialSubmitResponse");
		// wipe out any previous messages
		$(submitResponse).html("<img src='/commons/images/loading.gif' id='loadimage' border='0'> Please wait, we're processing your request.");
		$(submitResponse).css('display', 'block');
		$(submitResponse).attr('style','text-align:center');
		$(submitResponse).show();
		$("#pp_full_res #regFreeTrialSubmit").attr('disabled', 'true');
		// submit registration
		submitData = $(myform).serialize();
		submitData = submitData + '&event=register&callback=?';
		//console.log(submitData);
		$.ajax({data:submitData,url:apiurl,success:regFreeTrialResponse,dataType:'json'});
		
		return false;
	}
	// Submit Free Trial Registration Response
	function regFreeTrialResponse(data, textStatus, xhr){
		var retData = data;
		var regtype = data.response.REGTYPE;
		var prodType = data.response.PRODTYPE;
		var prodUrl = data.response.PRODSETTINGS.URL;
		var submitResponse = $("#pp_full_res #regFreeTrialSubmitResponse");
		$(submitResponse).hide();
		//console.log(data);
		if (regtype == 'webtrial') {
			$("div.pp_overlay").click();
			window.setTimeout(function(){
				$("#regFreeTrialConfirmLink").click();
				if(prodType == 'i2daily'){
					$("#pp_full_res #confirmHeader").html("Thank you for registering for an i2daily trial")
				}
			}, 800);
			_gaq.push(['_trackEvent', 'Free Trial', 'Step 2: Registration Complete']);
			//console.log(data);
		}
		if (regtype == 'free') {
			$("div.pp_overlay").click();
			window.setTimeout(function(){
				$("#regFreeConfirmLink").click();
			}, 800);
			_gaq.push(['_trackEvent', 'Free Signup', 'Step 2: Registration Complete']);
			//console.log(data);
		}
		if (regtype == 'buynow'){
			$("#subscribeFrame").attr("src", prodUrl);			
			$("div.pp_overlay").click();
			_gaq.push(['_trackEvent', 'Buy Now', 'Step 2: Billing Form']);
			window.setTimeout(function(){
				$("#regBuyNowLink").click();
				if(prodType == 'i2daily'){
					$("#pp_full_res #confirmHeader").html("Thank you for registering for an i2daily trial")
				}
			}, 800);
			//console.log(data);
		}
	}
	
	// Reg Free Trial Form Invalid
	function regFreeTrialFormInvalid(form, validator){
	 	var errors = validator.numberOfInvalids();
		var submitResponse = $("#pp_full_res #regFreeTrialSubmitResponse");
		if (errors) {
			var message = errors == 1
				? 'You missed 1 required field. It has been highlighted below'
				: 'You missed ' + errors + ' required fields.  They have been highlighted below';
			$(submitResponse).html(message);
			$(submitResponse).attr('style','text-align:center;color:red;');
			$(submitResponse).show();
			$("#pp_full_res #ftagreeTermsConditions").attr('style', 'outline:red solid thin;');
		} else {
			$(submitResponse).hide();
		}
		return false;
	};

/*
	i2stock index signup
*/
	// i2stockindex link Click  
	$('#i2stockindexLink').on('click', function(e) {
		e.preventDefault(); // stops the browser from folowing
		$("#regFreeTrialLink").click();  // launch window
		$("#regFreeTrialSubmit").attr('value', 'Activate i2stockindex');
		$("#pp_full_res #regFreeTrialSubmit").removeAttr('disabled');
		$("p#regHeader.pHeader").html("Free signup for i2stockindex reports");  
		// set/remove select options
		setIndustryOptions('i2stockindex');
		$("#industryheader").html("Report Selection");
		$("#industryp").html("Please select which report you are insterested in receiving.");
		$("#industrylabel").html("Report");
		$("#trialSignup input#prodtype").val('i2stockindex');  //change prodType to i2dashboard
		$("#trialSignup input#regtype").val('free');  //change regType to personal demo
		_gaq.push(['_trackEvent', 'Free Signup', 'Step 1: i2stockindex Reg Form']);
	});
	
/*
 *	Media Box  
*/
	
	// Get File  
	$('#downloadLink').on('click', function(e) {
		e.preventDefault(); // stops the browser from folowing
		var submitData = '';
		var downLink = $(this).attr("name");
		submitData = "event=download"+downLink+"&callback=?";
		$("#downloadResponse").html('<img src="/commons/images/loading.gif" id="loadimage" border="0"> Loading, please wait..');
		$("#downloadResponse").css('display', 'block');
		$.ajax({data:submitData,url:apiurl,success:downloadComplete,dataType:'json'});
	});
	// DownloadComplete
	function downloadComplete(data, textStatus, xhr){
		var ret = '';
		var bdown = 'false';
		//console.log(data);
		$("#downloadResponse").html('');
		$("#downloadResponse").css('display', 'none');
		if(data.register == false){
			_gaq.push(['_trackEvent', 'Download', 'Step 2: Download', data.header]);
			window.location.href = data.filepath;	
		}
		if(data.response.register == true){
			var mediaHtml = "<span class='" + data.icon + "' style='float:none;top:7px;'></span>" + data.header;
			$("#dlName").html(mediaHtml);
			$("#dlitem").val(data.filepath);
			$("#dlheader").val(data.header);
			$("#dlicon").val(data.icon);
			$("#regDownloadLink").click();  // launch window
			$("#pp_full_res input#dlsubmit").removeAttr('disabled');
			_gaq.push(['_trackEvent', 'Download', 'Step 1: Reg Form', data.header]);
		}
	};
	// Submit Download Registration
	function dlSubmitRegistration (){
		var myform = $("#pp_full_res #dlregisterform");
		var submitData = '';
		var submitResponse = $("#pp_full_res #dlSubmitResponse");
		// wipe out any previous messages
		$(submitResponse).html("<img src='/commons/images/loading.gif' id='loadimage' border='0'> Please wait, we're processing your request.");
		$(submitResponse).css('display', 'block');
		$(submitResponse).attr('style','text-align:center');
		$("#pp_full_res #dlsubmit").attr('disabled', 'true');
		// submit registration
		submitData = $(myform).serialize();
		submitData = submitData + '&event=register&callback=?';
		$.ajax({data:submitData,url:apiurl,success:dlSubmitComplete,dataType:'json'});
	}
	// Submit Download Registration Complete
	function dlSubmitComplete(data, textStatus, xhr){
		var regtype = data.response.REGTYPE;
		//console.log(data);
		if (regtype == 'download') {
			var submitResponse = $("#pp_full_res div.pp_inline");
			$(submitResponse).html("<p class='pHeader' style='text-align:center;padding-top:50px;'>Your download should begin shortly for</p><p id='dlName' class='pHeader' style='text-align:center;'><span class='" + data.response.DOWNLOAD.DLICON + "' style='float:none;top:7px;'></span>" + data.response.DOWNLOAD.DLHEADER + "</p><p style='text-align:center;padding-top:25px;padding-bottom:25px;'>if your download does not begin automatically, please <a href='" + data.response.DOWNLOAD.DLITEM + "' target='_blank'>click here</a></p>");
			_gaq.push(['_trackEvent', 'Download', 'Step 2: Registration Download', data.response.DOWNLOAD.DLHEADER]);
			window.location.href = data.response.DOWNLOAD.DLITEM;
		}
		if(regtype == 'personaldemo'){
			$("div.pp_overlay").click();
			window.setTimeout(function(){
				$("#regPersonalDemoConfirmLink").click();
			}, 800);
			_gaq.push(['_trackEvent', 'Personal Demo', 'Step 2: Registration Complete']);
		}
		if(regtype == 'contactUs'){
			$("div.pp_overlay").click();
			window.setTimeout(function(){
				$("#regContactUsConfirmLink").click();
			}, 800);
			_gaq.push(['_trackEvent', 'Contact Us', 'Step 2: Registration Complete']);
		}
	}
	// download Form Invalid
	function dlformInvalid(form, validator){
		var errors = validator.numberOfInvalids();
		var submitResponse = $("#pp_full_res #dlSubmitResponse");
		if (errors) {
			var message = errors == 1
				? 'You missed 1 required field. It has been highlighted below'
				: 'You missed ' + errors + ' required fields.  They have been highlighted below';
			$(submitResponse).html(message);
			$(submitResponse).attr('style','text-align:center;color:red;');
			$(submitResponse).show();
		} else {
			$(submitResponse).hide();
		}
		return false;
	};
	
	
	
	function setIndustryOptions(prodType){
		//console.log(prodType);
		//default industry items
		$("#ftindustryFocus").html('<option value="foodbeverage-Food & Beverage">Food & Beverage</option><option value="forestry-Forestry & Timberland">Forestry & Timberland</option><option value="housing-Homebuilding">Homebuilding</option><option value="metal-Metal, Glass & Plastic Packaging">Metal, Glass & Plastic Packaging</option><option value="paper-Paper Packaging">Paper Packaging</option><option value="pulp-Pulp & Paper">Pulp & Paper</option><option value="wood-Wood">Wood Products</option>');
		// always remove section
		$("#ftindustryFocus option[value='altEnergy-Alternative Energy']").remove();
		$("#ftindustryFocus option[value='housing-Homebuilding']").remove();
		if(prodType == 'i2dashboard'){
			$("#ftindustryFocus option[value='foodbeverage-Food & Beverage']").remove();
		}
		if(prodType == 'i2daily'){
			if( $("#ftindustryFocus option[value='foodbeverage-Food & Beverage']").length == 0 ){
				$('#ftindustryFocus').append('<option value="foodbeverage-Food & Beverage">Food & Beverage</option>');
			}
		}
		if(prodType == 'i2stockindex'){
			$("#ftindustryFocus").html("<option value='26181-Forest Products Index: US'>Forest Products Index: US</option><option value='27041-Builders Developers Index'>Builders Developers Index</option><option value='38141-Forest Products Index: Canada'>Forest Products Index: Canada</option><option value='38142-Paper Packaging Stock Index'>Paper Packaging Stock Index</option><option value='38143-Paper Plastics Pkg SI'>Paper Plastics Pkg SI</option><option value='38144-Plastics Packaging Stock Index'>Plastics Packaging Stock Index</option>");
		}
	}
	

// end document ready	
});



