// Set Remember Me Cookie Values
function SetCookies(cookieName, cookieValue, nDays) {
	var today = new Date();
	var expire = new Date();
	if ((nDays == null) || (nDays == 0)) {
		nDays = 1;
	}
	expire.setTime(today.getTime() + 3600000 * 24 * nDays);
	document.cookie = cookieName + "=" + escape(cookieValue) + ";expires=" + expire.toGMTString();
}

// This function deletes a cookie 
function delCookie(name) {
	document.cookie = name + "=; expires=Thu, 01-Jan-70 00:00:01 GMT" + "; path=/";
}

//homepage validation Module
var tInsuranceType = "";
function validatePage(xSection) {
	var badValue = false;
	var redirTo;
	switch (xSection) {
		case "Quote":
			var tInsuranceType = document.getElementById('insuranceType').options[document.getElementById('insuranceType').selectedIndex].value.toUpperCase();
			var tState = document.getElementById('state').options[document.getElementById('state').selectedIndex].value;
			var tNoHomeStates = "HI,AK";
			var tNoAutoStates = "HI";
			var tNoPUPStates = "AK,HI";
			var tNoMarineStates = "AK,HI";
			var tNoOnlineHomeStates = "FL,LA,MS";
			var tNoOnlineAutoStates = ""; // removed LA - 1/4/11 dispatching to error page instead of pop-up
			var tNoOnlinePUPStates = "";
			var tNoOnlineMarineStates = "";
			var tNoRetirementStates = "";
			var tNoDisabilityStates = "";
			var tNoHealthStates = "CA,DC,HI,ID,ME,MA,MN,MT,NV,NH,NJ,NY,ND,OR,RI,SD,VT,WA,WV,WY";
			var tNoLongTermCareStates = "";
			
			if ((tInsuranceType == "") || (tState == "")) {
				setLyr('Go', 'val1', '260', '136', '-125', '100', '275', '90', '300', '190')
				badValue = true;
			}
			//home states we dont quote for
			
			if (((tInsuranceType == "HOME") || (tInsuranceType == "CONDO") || (tInsuranceType == "RENTERS")) && (tState != "") && (tNoHomeStates.indexOf(tState) > -1)) {
				setLyr('Go', 'val4', '100', '118', '-125', '100', '275', '90', '300', '190')
				badValue = true;
			}
			if (((tInsuranceType == "HOME") || (tInsuranceType == "CONDO") || (tInsuranceType == "RENTERS")) && (tState != "") && (tNoOnlineHomeStates.indexOf(tState) > -1)) {
				setLyr('Go', 'val5', '100', '118', '-125', '100', '275', '90', '300', '190')
				badValue = true;
			}
			if ((tInsuranceType == "AUTO") && (tState != "") && (tNoAutoStates.indexOf(tState) > -1)) {
				setLyr('Go', 'val3', '100', '118', '-125', '100', '275', '90', '300', '190')
				badValue = true;
			}
			if ((tInsuranceType == "AUTO") && (tState != "") && (tNoOnlineAutoStates.indexOf(tState) > -1)) {
				setLyr('Go', 'val6', '299', '172', '-125', '100', '275', '90', '300', '170')
				badValue = true;
			}
			if ((tInsuranceType == "PUP") && (tState != "") && (tNoPUPStates.indexOf(tState) > -1)) // no quoting at all
			{
				setLyr('Go', 'val7', '300', '118', '-125', '100', '275', '90', '300', '190')
				badValue = true;
			}
			if ((tInsuranceType == "PUP") && (tState != "") && (tNoPUPStates.indexOf(tState) == -1)) //no online quoting
			{
				setLyr('Go', 'val8', '300', '118', '-125', '100', '275', '90', '300', '190')
				badValue = true;
			}
			if ((tInsuranceType == "MARINE") && (tState != "") && (tNoMarineStates.indexOf(tState) > -1)) // no quoting at all
			{
				setLyr('Go', 'val9', '100', '118', '-125', '100', '275', '90', '300', '190')
				badValue = true;
			}
			if ((tInsuranceType == "MARINE") && (tState != "") && (tNoMarineStates.indexOf(tState) == -1)) //no online quoting
			{
				setLyr('Go', 'val10', '100', '118', '-125', '100', '275', '90', '300', '190')
				badValue = true;
			}
			if ((tInsuranceType == "LIFEQUOTE") && (tState != "")) {
				// NO STATE VALIDATION FOR LIFE QUOTING
				badValue = false;
				redirTo = 'LifeQuote';
				// window.location = "";   //temp until we get path
				break;
			}
			if ((tInsuranceType == "RETIREMENT") && (tState != "") && (tNoRetirementStates.indexOf(tState) > -1)) {
				setLyr('Go', 'val11', '295', '155', '-100', '100', '275', '90', '300', '155')
				badValue = true;
			}
			
			if ((tInsuranceType == "DISABILITY") && (tState != "") && (tNoDisabilityStates.indexOf(tState) > -1)) {
				setLyr('Go', 'val11', '295', '155', '-100', '100', '275', '90', '300', '155')
				badValue = true;
			}
			
			if ((tInsuranceType == "HEALTH") && (tState != "") && (tNoHealthStates.indexOf(tState) > -1)) {
				setLyr('Go', 'val11', '295', '155', '-125', '100', '275', '90', '300', '155')
				badValue = true;
			}
			
			if ((tInsuranceType == "LONGTERMCARE") && (tState != "") && (tNoLongTermCareStates.indexOf(tState) > -1)) {
				setLyr('Go', 'val11', '295', '155', '-100', '100', '275', '90', '300', '155')
				badValue = true;
			}
			
			if ((tInsuranceType == "STRUCTUREDSETTLEMENTS") && (tState != "")) {
				badValue = false;
			}
			
			redirTo = document.getElementById('insuranceType').options[document.getElementById('insuranceType').selectedIndex].value;
			break;
		case "CustomerLogin":

			var USERNAME_INVALID_CHARS = /[\'\"\[\]\;\/ \\=,+<>()*&!{}]/;
			
			if ((document.getElementById('username').value == "User Name") || (document.getElementById('username').value == "")) {
				setLyr('username', 'val2', '190', '118', '320', '25', '275', '90', '320', '190')
				badValue = true;
			}
			
			if (containsChars(document.getElementById('username').value, USERNAME_INVALID_CHARS, true) & (document.getElementById('username').value.length > 6)) {
				setLyr('username', 'val12', '190', '118', '324', '-7', '275', '90', '300', '190')
				badValue = true;
			}
			
			redirTo = 'Members';
			
			if (!badValue) {
				
				document.getElementById('auto_login_tab').style.display = 'none';
				document.getElementById("loginprocessbox").innerHTML = document.getElementById("loginprocessbox").innerHTML;
				document.getElementById("loginprocessbox").className = "logincontentbg";
				document.getElementById('loginprocessbox').style.display = 'block';
			}
			
			break;
	}
	
	if (badValue == false) {
		Director.directRequest(redirTo);
	}
	
}

/****************************************************************************************
Function...: containsChars
Description: determines if input string contains at least 1 instance of any of the chars in charList
returns....: true (if it contains one or more) or false (if contains none)
****************************************************************************************/
function containsChars(stringValue, regExpValue, isCaseSensitive) {
	var oRegExp;
	if (isCaseSensitive) {
		oRegExp = new RegExp(regExpValue);
	} else {
		oRegExp = new RegExp(regExpValue, "i");
	}
	
	if (oRegExp.test(stringValue)) {
		return true;
	}
	return false;
}

/****************************************************************************************
Function...: ssoTrim
Description: trims leading and trailing spaces
returns....: Trimmed string value
****************************************************************************************/
function ssoTrim(stringToTrim) {
	return stringToTrim.replace(/^\s+|\s+$/g, "");
}

function valModule() {
	var strVal = '';
	/* validation MODULE  */

	/* POP-UP SECTION STARTS */
	/* validation 1 */
	strVal += '<div id="val1" style="position:absolute ;left:-600px;top:-600px;z-index:3000;">';
	strVal += '<table width="309" border="0" cellspacing="0" cellpadding="0">';
	strVal += '<tr>';
	strVal += '<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
	/* POP-UP TITLE BELOW */
	strVal += '<td width="274" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">No State Selected</td>';
	strVal += '<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
	/* POP-UP TEXT BELOW */
	strVal += '<td valign="top" align="center" bgcolor="#FFFFFF"  class="rollovertext"><b>Please select a state in order to proceed.</b><br><br>';
	strVal += '<img src="/images/btn_ok.gif" border="0"  alt="Ok" type="image" onclick="handleOut(\'val1\');"></td>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
	strVal += '<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
	strVal += '<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
	strVal += '</tr>';
	strVal += '</table>';
	strVal += '</div>';
	
	/* validation 2 */
	strVal += '<div id="val2" style="position:absolute ;left:-600px;top:-600px;z-index:3000;">';
	strVal += '<table width="320" border="0" cellspacing="0" cellpadding="0">';
	strVal += '<tr>';
	strVal += '<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
	/* POP-UP TITLE BELOW */
	strVal += '<td width="285" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">Customer Service Login Help</td>';
	strVal += '<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
	/* POP-UP TEXT BELOW */
	strVal += '<td valign="top" align="center" bgcolor="#FFFFFF"  class="rollovertext"><b>Please enter your Username.</b><br><br>';
	strVal += '<img src="/images/btn_ok.gif" border="0"  alt="Ok" type="image" onclick="handleOut(\'val2\');"></td>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
	strVal += '<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
	strVal += '<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
	strVal += '</tr>';
	strVal += '</table>';
	strVal += '</div>';
	
	/* validation 3 */
	strVal += '<div id="val3" style="position:absolute ;left:-600px;top:-600px;z-index:3000;">';
	strVal += '<table width="309" border="0" cellspacing="0" cellpadding="0">';
	strVal += '<tr>';
	strVal += '<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
	/* POP-UP TITLE BELOW */
	strVal += '<td width="274" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">Quote Notification Message</td>';
	strVal += '<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
	/* POP-UP TEXT BELOW */
	strVal += '<td valign="top" align="center" bgcolor="#FFFFFF"  class="rollovertext"><b>We do not currently provide Auto Quotes for your selected state.</b><br><br>';
	strVal += '<img src="/images/btn_ok.gif" border="0"  alt="Ok" type="image" onclick="handleOut(\'val3\');"></td>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
	strVal += '<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
	strVal += '<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
	strVal += '</tr>';
	strVal += '</table>';
	strVal += '</div>';
	
	/* validation 4 */
	strVal += '<div id="val4" style="position:absolute ;left:-600px;top:-600px;z-index:3000;">';
	strVal += '<table width="309" border="0" cellspacing="0" cellpadding="0">';
	strVal += '<tr>';
	strVal += '<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
	/* POP-UP TITLE BELOW */
	strVal += '<td width="274" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">Quote Notification Message</td>';
	strVal += '<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
	/* POP-UP TEXT BELOW */
	strVal += '<td valign="top" align="center" bgcolor="#FFFFFF"  class="rollovertext"><b>We do not currently offer this insurance in your selected state.</b><br><br>';
	strVal += '<img src="/images/btn_ok.gif" border="0"  alt="Ok" type="image" onclick="handleOut(\'val4\');"></td>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
	strVal += '<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
	strVal += '<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
	strVal += '</tr>';
	strVal += '</table>';
	strVal += '</div>';
	
	/* validation 5 */
	strVal += '<div id="val5" style="position:absolute ;left:-600px;top:-600px;z-index:3000;">';
	strVal += '<table width="309" border="0" cellspacing="0" cellpadding="0">';
	strVal += '<tr>';
	strVal += '<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
	/* POP-UP TITLE BELOW */
	strVal += '<td width="274" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">Quote Notification Message</td>';
	strVal += '<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
	/* POP-UP TEXT BELOW */
	strVal += '<td valign="top" align="center" bgcolor="#FFFFFF"  class="rollovertext"><b>We do not currently offer online home/condo/renters quotes in your selected state.  Please call 800-242-6422<br />for further assistance.</b><br><br>';
	strVal += '<img src="/images/btn_ok.gif" border="0"  alt="Ok" type="image" onclick="handleOut(\'val5\');"></td>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
	strVal += '<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
	strVal += '<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
	strVal += '</tr>';
	strVal += '</table>';
	strVal += '</div>';
	
	/* validation 6 */
	strVal += '<div id="val6" style="position:absolute ;left:-600px;top:-600px;z-index:3000;">';
	strVal += '<table width="309" border="0" cellspacing="0" cellpadding="0">';
	strVal += '<tr>';
	strVal += '<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
	/* POP-UP TITLE BELOW */
	strVal += '<td width="274" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">Quote Notification Message</td>';
	strVal += '<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
	/* POP-UP TEXT BELOW */
	strVal += '<td valign="top" align="center" bgcolor="#FFFFFF"  class="rollovertext"><b>We do not currently offer online auto quotes in your selected state.  Please call 800-242-6422 for further assistance.</b><br><br>';
	strVal += '<img src="/images/btn_ok.gif" border="0"  alt="Ok" type="image" onclick="handleOut(\'val6\');"></td>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
	strVal += '<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
	strVal += '<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
	strVal += '</tr>';
	strVal += '</table>';
	strVal += '</div>';
	
	/* validation 7 */
	strVal += '<div id="val7" style="position:absolute ;left:-600px;top:-600px;z-index:3000;">';
	strVal += '<table width="309" border="0" cellspacing="0" cellpadding="0">';
	strVal += '<tr>';
	strVal += '<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
	/* POP-UP TITLE BELOW */
	strVal += '<td width="274" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">Quote Notification Message</td>';
	strVal += '<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
	/* POP-UP TEXT BELOW */
	strVal += '<td valign="top" align="center" bgcolor="#FFFFFF"  class="rollovertext"><b>We do not currently offer online personal umbrella quotes in your selected state. </b><br><br>';
	strVal += '<img src="/images/btn_ok.gif" border="0"  alt="Ok" type="image" onclick="handleOut(\'val7\');"></td>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
	strVal += '<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
	strVal += '<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
	strVal += '</tr>';
	strVal += '</table>';
	strVal += '</div>';
	
	/* validation 8 */
	strVal += '<div id="val8" style="position:absolute ;left:-600px;top:-600px;z-index:3000;">';
	strVal += '<table width="309" border="0" cellspacing="0" cellpadding="0">';
	strVal += '<tr>';
	strVal += '<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
	/* POP-UP TITLE BELOW */
	strVal += '<td width="274" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">Quote Notification Message</td>';
	strVal += '<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
	/* POP-UP TEXT BELOW */
	strVal += '<td valign="top" align="center" bgcolor="#FFFFFF"  class="rollovertext"><b>We do not currently offer online personal umbrella quotes in your selected state.  Please call 800-242-6422 for further assistance.</b><br><br>';
	strVal += '<img src="/images/btn_ok.gif" border="0"  alt="Ok" type="image" onclick="handleOut(\'val8\');"></td>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
	strVal += '<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
	strVal += '<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
	strVal += '</tr>';
	strVal += '</table>';
	strVal += '</div>';
	
	/* validation 9 */
	strVal += '<div id="val9" style="position:absolute ;left:-600px;top:-600px;z-index:3000;">';
	strVal += '<table width="309" border="0" cellspacing="0" cellpadding="0">';
	strVal += '<tr>';
	strVal += '<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
	/* POP-UP TITLE BELOW */
	strVal += '<td width="274" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">Quote Notification Message</td>';
	strVal += '<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
	/* POP-UP TEXT BELOW */
	strVal += '<td valign="top" align="center" bgcolor="#FFFFFF"  class="rollovertext"><b>We do not currently offer online marine quotes in your selected state. </b><br><br>';
	strVal += '<img src="/images/btn_ok.gif" border="0"  alt="Ok" type="image" onclick="handleOut(\'val9\');"></td>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
	strVal += '<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
	strVal += '<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
	strVal += '</tr>';
	strVal += '</table>';
	strVal += '</div>';
	
	/* validation 10 */
	strVal += '<div id="val10" style="position:absolute ;left:-600px;top:-600px;z-index:3000;">';
	strVal += '<table width="309" border="0" cellspacing="0" cellpadding="0">';
	strVal += '<tr>';
	strVal += '<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
	/* POP-UP TITLE BELOW */
	strVal += '<td width="274" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">Quote Notification Message</td>';
	strVal += '<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
	/* POP-UP TEXT BELOW */
	strVal += '<td valign="top" align="center" bgcolor="#FFFFFF"  class="rollovertext"><b>We do not currently offer online marine quotes in your selected state.  Please call 800-242-6422 for further assistance.</b><br><br>';
	strVal += '<img src="/images/btn_ok.gif" border="0"  alt="Ok" type="image" onclick="handleOut(\'val10\');"></td>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
	strVal += '<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
	strVal += '<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
	strVal += '</tr>';
	strVal += '</table>';
	strVal += '</div>';
	
	/* validation 11 */
	strVal += '<div id="val11" style="position:absolute ;left:-600px;top:-600px;z-index:3000;">';
	strVal += '<table width="309" border="0" cellspacing="0" cellpadding="0">';
	strVal += '<tr>';
	strVal += '<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
	/* POP-UP TITLE BELOW */
	strVal += '<td width="274" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">Quote Notification Message</td>';
	strVal += '<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
	/* POP-UP TEXT BELOW */
	strVal += '<td valign="top" align="center" bgcolor="#FFFFFF"  class="rollovertext"><b>We do not currently offer this<br />insurance in your selected state.</b><br><br>';
	strVal += '<img src="/images/btn_ok.gif" border="0"  alt="Ok" type="image" onclick="handleOut(\'val11\');"></td>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
	strVal += '<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
	strVal += '<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
	strVal += '</tr>';
	strVal += '</table>';
	strVal += '</div>';
	
	/* validation 12 */
	strVal += '<div id="val12" style="position:absolute ;left:-600px;top:-600px;z-index:3000;">';
	strVal += '<table width="309" border="0" cellspacing="0" cellpadding="0">';
	strVal += '<tr>';
	strVal += '<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
	/* POP-UP TITLE BELOW */
	strVal += '<td width="274" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">Customer Service Login Help</td>';
	strVal += '<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
	/* POP-UP TEXT BELOW */
	strVal += '<td valign="top" align="center" bgcolor="#FFFFFF"  class="rollovertext"><b>Username cannot contain spaces or any of the following characters: \'\"[];/\=,+<>()*&!{}<br><br>';
	strVal += '<img src="/images/btn_ok.gif" border="0"  alt="Ok" type="image" onclick="handleOut(\'val12\');"></td>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
	strVal += '<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
	strVal += '<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
	strVal += '</tr>';
	strVal += '</table>';
	strVal += '</div>';
	
	/* validation 13 */
	strVal += '<div id="val13" style="position:absolute ;left:-600px;top:-600px;z-index:3000;">';
	strVal += '<table width="309" border="0" cellspacing="0" cellpadding="0">';
	strVal += '<tr>';
	strVal += '<td width="15" valign="top"><img src="/images/credit_rollover_topLcrnr.gif" width="15" height="33" alt="" border="0" /></td>';
	/* POP-UP TITLE BELOW */
	strVal += '<td width="274" valign="top" align="left" style="background: url(/images/credit_rollover_toptile.gif) repeat-x;" class="rollovertitle">Customer Service Login Help</td>';
	strVal += '<td width="20" valign="top"><img src="/images/credit_rollover_topRcrnr.gif" width="20" height="33" alt="" border="0" /></td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Ltile.gif) repeat-y;">&nbsp;</td>';
	/* POP-UP TEXT BELOW */
	strVal += '<td valign="top" align="center" bgcolor="#FFFFFF"  class="rollovertext"><b>Username must contain 6 to 16 characters<br><br>';
	strVal += '<img src="/images/btn_ok.gif" border="0"  alt="Ok" type="image" onclick="handleOut(\'val13\');"></td>';
	strVal += '<td valign="top" style="background: url(/images/credit_rollover_Rtile.gif) repeat-y;">&nbsp;</td>';
	strVal += '</tr>';
	strVal += '<tr>';
	strVal += '<td height="20" valign="top"><img src="/images/credit_rollover_botLcrnr.gif" width="15" height="20"  alt="" /></td>';
	strVal += '<td align="left" valign="top" style="background:url(/images/credit_rollover_bot.gif) repeat-x"></td>';
	strVal += '<td valign="top"><img src="/images/credit_rollover_botRcrnr.gif" width="20" height="20" alt=""  /></td>';
	strVal += '</tr>';
	strVal += '</table>';
	strVal += '</div>';
	
	/* POP-UP SECTION ENDS */
	document.write(strVal);
}
valModule();

