
<!--

<!-- SiteCatalyst code version: H.20.3. -->
/* You may give each page an identifying name, server, and channel on
the next lines. */
/*s.pageName=""*/
s.server=""
s.channel=getChannel();
s.pageType=""
s.prop1=""
s.prop2=""
s.prop3=""
s.prop4=""
s.prop5=""
s.prop6=""
s.prop7=""
s.prop8=""
s.prop9=""
s.prop10=""
s.prop11=""
s.prop12=""
s.prop13=""
s.prop14=""
s.prop15=""
/* Conversion Variables */
s.campaign=""
s.state=""
s.zip=""
s.events=""
s.products=""
s.purchaseID=""
s.eVar1=""
s.eVar2=""
s.eVar3=""
s.eVar4=""
s.eVar5=""
s.eVar6=""
s.eVar7=""
s.eVar8=""
s.eVar9=""
s.eVar10=""
s.eVar11=""
s.eVar12=""
s.eVar13=""
s.eVar14=""
s.eVar15=""
/* Hierarchy Variables */
s.hier1=""

/* Report suite account */
function getChannel(){
	chUrl = location.hostname+location.pathname;
	var patt = "www.bcbsnc.com/";
	var patt2 = "www.bcbsnc.com/index.htm"; 
	if (patt.match(chUrl))
	{ 
	  return("home");
	}
	else 
	{
	  if (patt2.match(chUrl)){
 	     return("home");
 	  }
	}

        chPath = location.pathname
        if (chPath.indexOf('producers')>-1){
	   return("producers");
	} else if (chPath.indexOf('employers')>-1){
	   return("employers");
	} else if (chPath.indexOf('providers')>-1){
	   return("providers");
	} else if (chPath.indexOf('corporate')>-1){
	   return("corporate");
	} else if (chPath.indexOf('member')>-1){
	   return("member");
	} else if (chPath.indexOf('shopper')>-1){
	   return("shopper");
	} else if (chPath.indexOf('buyonline')>-1){
	   return("shopper");
	} else if (chPath.indexOf('careers')>-1){
	   return("careers");
	} else if (chPath.indexOf('smallgrp')>-1){
	   return("group");
	} else if (chPath.indexOf('plans/individual')>-1){
	   return("shopper");
	} else if (chPath.indexOf('medicare-supplement')>-1){
	   return("shopper");
	} else if (chPath.indexOf('plans/individual')>-1){
	   return("shopper");
	} else if (chPath.indexOf('plans/individual')>-1){
	   return("shopper");
	} else if (chPath.indexOf('plans/individual')>-1){
	   return("shopper");
	} else 
 	{ return("other");
	}
}


//BOL FIX ADDED 11-24-2009
function copyCardInfoToCyberForm() {
	document.getElementById("card_cardType").value = jQuery("input[name='typeOfCard']:checked").val();
	document.getElementById("card_accountNumber").value = document.getElementById("creditCard_number").value;
	
	if (jQuery('#creditCard_cvv').length != 0)
	{
		jQuery('#card_cvNumber').val(jQuery('#creditCard_cvv').val());
	}
	expMonth = document.getElementById("creditCard_expMonth");
	document.getElementById("card_expirationMonth").value = expMonth.options[expMonth.selectedIndex].value;
	expYear = document.getElementById("creditCard_expYear");
	document.getElementById("card_expirationYear").value = expYear.options[expYear.selectedIndex].value;
	document.getElementById("billTo_firstName").value = document.getElementById("creditCard_firstName").value;
	document.getElementById("billTo_lastName").value = document.getElementById("creditCard_lastName").value;
	
	jQuery('#billTo_state').val(jQuery('#altAddress_state').val());
	jQuery("input[name='billTo_city']").val(jQuery('#altAddress_city').val());
	jQuery("input[name='billTo_postalCode']").val(jQuery('#altAddress_zipcode').val());
	jQuery("input[name='billTo_street1']").val(jQuery('#altAddress_streetAddress1').val());
	jQuery("input[name='billTo_street2']").val(jQuery('#altAddress_streetAddress2').val());

	if(document.getElementById("useSameAddress").checked) 
	{
		document.getElementById("altUseSameAddress").value = 'true';
		document.getElementById("altAddressLine1").value = "";
		document.getElementById("altAddressLine2").value = "";
		document.getElementById("altCity").value = "";
		document.getElementById("altState").value = "";
		document.getElementById("altZipCode").value = "";
	}
	else 
	{
		document.getElementById("altUseSameAddress").value = 'false';
		document.getElementById("altAddressLine1").value = document.getElementById("altAddress_streetAddress1").value;
		document.getElementById("altAddressLine2").value = document.getElementById("altAddress_streetAddress2").value;
		document.getElementById("altCity").value = document.getElementById("altAddress_city").value;
		altAddress_stateSelect = document.getElementById("altAddress_state");
		document.getElementById("altState").value = altAddress_stateSelect.options[altAddress_stateSelect.selectedIndex].value;
		document.getElementById("altZipCode").value = document.getElementById("altAddress_zipcode").value;
	}
}
//BOL FIX ADDED 11-24-2009



/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code) //-->
<!-- End SiteCatalyst code version: H.20.3. -->
