<!--
var Ovr2='';if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat'){cot_t1_DOCtp="_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.documentElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);}";}else{cot_t1_DOCtp="_top:expression(document.body.scrollTop+document.body.clientHeight-this.clientHeight);_left:expression(document.body.scrollLeft + document.body.clientWidth - offsetWidth);}";}if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat'){cot_t1_DOCtp2="_top:expression(document.documentElement.scrollTop-20+document.documentElement.clientHeight-this.clientHeight);}";}else{cot_t1_DOCtp2="_top:expression(document.body.scrollTop-20+document.body.clientHeight-this.clientHeight);}";}var cot_bgf0=(window.location.protocol.toLowerCase()=="https:")?"https://secure.comodo.net/trustlogo/images/cot_bgf0.gif":"http://www.trustlogo.com/images/cot_bgf0.gif";var cot_tl_bodyCSS='* html {background:url('+cot_bgf0+') fixed;background-repeat: repeat;background-position: right bottom;}';var cot_tl_fixedCSS='#cot_tl_fixed{position:fixed;';var cot_tl_fixedCSS=cot_tl_fixedCSS+'_position:absolute;';var cot_tl_fixedCSS=cot_tl_fixedCSS+'bottom:0px;';var cot_tl_fixedCSS=cot_tl_fixedCSS+'right:0px;';var cot_tl_fixedCSS=cot_tl_fixedCSS+'clip:rect(0 100 85 0);';var cot_tl_fixedCSS=cot_tl_fixedCSS+cot_t1_DOCtp;var cot_tl_popCSS='#cot_tl_pop {background-color: transparent;';var cot_tl_popCSS=cot_tl_popCSS+'position:fixed;';var cot_tl_popCSS=cot_tl_popCSS+'_position:absolute;';var cot_tl_popCSS=cot_tl_popCSS+'height:194px;';var cot_tl_popCSS=cot_tl_popCSS+'width: 244px;';var cot_tl_popCSS=cot_tl_popCSS+'right: 120px;';var cot_tl_popCSS=cot_tl_popCSS+'bottom: 20px;';var cot_tl_popCSS=cot_tl_popCSS+'overflow: hidden;';var cot_tl_popCSS=cot_tl_popCSS+'visibility: hidden;';var cot_tl_popCSS=cot_tl_popCSS+'z-index: 100;';var cot_tl_popCSS=cot_tl_popCSS+cot_t1_DOCtp2;document.write('<style type="text/css">'+cot_tl_bodyCSS+cot_tl_fixedCSS+cot_tl_popCSS+'</style>');function cot_tl_bigPopup(url){newwindow=window.open(url,'name','WIDTH=450,HEIGHT=500,FRAMEBORDER=0,MARGINWIDTH=0,MARGINHEIGHT=0,SCROLLING=no,allowtransparency=true');if(window.focus){newwindow.focus()}return false;}function cot_tl_toggleMiniPOPUP_hide(){var cred_id='cot_tl_pop';var NNtype='hidden';var IEtype='hidden';var WC3type='hidden';if(document.getElementById){eval("document.getElementById(cred_id).style.visibility=\""+WC3type+"\"");}else{if(document.layers){document.layers[cred_id].visibility=NNtype;}else{if(document.all){eval("document.all."+cred_id+".style.visibility=\""+IEtype+"\"");}}}}function cot_tl_toggleMiniPOPUP_show(){cred_id='cot_tl_pop';var NNtype='show';var IEtype='visible';var WC3type='visible';if(document.getElementById){eval("document.getElementById(cred_id).style.visibility=\""+WC3type+"\"");}else{if(document.layers){document.layers[cred_id].visibility=NNtype;}else{if(document.all){eval("document.all."+cred_id+".style.visibility=\""+IEtype+"\"");}}}}function COT(cot_tl_theLogo,cot_tl_LogoType,LogoPosition,theAffiliate){var cot_tl_myLocation=location.host;if(window.location.protocol.toLowerCase()=="https:"){var cot_tl_miniBaseURL='https://secure.comodo.net/ttb_searcher/trustlogo?v_querytype=C&v_shortname='+cot_tl_LogoType+'&v_search='+cot_tl_myLocation+'&x=6&y=5';var cot_tl_bigBaseURL='https://secure.comodo.net/ttb_searcher/trustlogo?v_querytype=W&v_shortname='+cot_tl_LogoType+'&v_search='+cot_tl_myLocation+'&x=6&y=5';}else{var cot_tl_miniBaseURL='http://www.trustlogo.com/ttb_searcher/trustlogo?v_querytype=C&v_shortname='+cot_tl_LogoType+'&v_search='+cot_tl_myLocation+'&x=6&y=5';var cot_tl_bigBaseURL='http://www.trustlogo.com/ttb_searcher/trustlogo?v_querytype=W&v_shortname='+cot_tl_LogoType+'&v_search='+cot_tl_myLocation+'&x=6&y=5';};document.write('<div id="cot_tl_pop">');document.write('<IFRAME src="'+cot_tl_miniBaseURL+'" WIDTH=244 HEIGHT=194 FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=no allowtransparency=true></IFRAME>');document.write('</div>');document.write('<div id="cot_tl_fixed">');document.write('<a href="http://www.instantssl.com" onClick="return cot_tl_bigPopup(\''+cot_tl_bigBaseURL+'\')"><img src='+cot_tl_theLogo+' alt="SSL Certificate" border="0" onMouseOver="Ovr=setTimeout(\'cot_tl_toggleMiniPOPUP_show()\',1000);clearTimeout(Ovr2)" onMouseOut="Ovr2=setTimeout(\'cot_tl_toggleMiniPOPUP_hide()\',3000);clearTimeout(Ovr)"</a>');document.write('</div>');}
if(document.images){preload_image_object=new Image();image_url=new Array();image_url[0]="/images/refi.gif";image_url[1]="https://www.truelending.com/images/cornertrust.gif";image_url[2]="/images/talk.jpg";image_url[3]="/images/mortgage.gif";image_url[4]="/images/allseals.gif";image_url[5]="/images/br.jpg";image_url[6]="/images/bb.jpg";image_url[7]="/images/bullete.gif";image_url[8]="/images/mainimage1.gif";image_url[9]="/images/equity.gif";image_url[10]="/images/debtc.gif";image_url[11]="/images/purch.gif";var i=0;for(i=0;i<=11;i++)
preload_image_object.src=image_url[i];}
function toggleLayer(){if(document.LP.PRODUCT[0].checked==true){document.getElementById('txt').innerHTML="<img border='0' width='230' height='30' src='/images/refi.gif'>";document.getElementById('t1').style.fontWeight='bold';document.getElementById('t2').style.fontWeight='normal';document.getElementById('t3').style.fontWeight='normal';document.getElementById('t4').style.fontWeight='normal';}
else if(document.LP.PRODUCT[1].checked==true){document.getElementById('txt').innerHTML="<img border='0' width='230' height='30' src='/images/equity.gif'>";document.getElementById('t1').style.fontWeight='normal';document.getElementById('t2').style.fontWeight='bold';document.getElementById('t3').style.fontWeight='normal';document.getElementById('t4').style.fontWeight='normal';}
else if(document.LP.PRODUCT[2].checked==true){document.getElementById('txt').innerHTML="<img border='0' width='230' height='30' src='/images/debtc.gif'>";document.getElementById('t1').style.fontWeight='normal';document.getElementById('t2').style.fontWeight='normal';document.getElementById('t3').style.fontWeight='bold';document.getElementById('t4').style.fontWeight='normal';}
else if(document.LP.PRODUCT[3].checked==true){document.getElementById('txt').innerHTML="<img border='0' width='230' height='30' src='/images/purch.gif'>";document.getElementById('t1').style.fontWeight='normal';document.getElementById('t2').style.fontWeight='normal';document.getElementById('t3').style.fontWeight='normal';document.getElementById('t4').style.fontWeight='bold';}}
function MM_openBrWindow(theURL,winName,features){window.open(theURL,winName,features);}
var isIE=document.all?true:false;var isNS=document.layers?true:false;function getIntegerString(strIn){return strIn.replace(/[^0-9]/g,"");}
function allowOnlyNumeric(e,decReq){var key=(isIE)?window.event.keyCode:e.which;var obj=(isIE)?event.srcElement:e.target;if(key==46||obj.value.indexOf(".")>0)alert("Please enter just numbers for dollar amounts!");var isNum=(key>47&&key<58)?true:false;var dotOK=(key==46&&decReq=='decOK'&&(obj.value.indexOf(".")<0||obj.value.length==0))?true:false;if(key<32)
return true;return(isNum||dotOK);}
var xmlHttp
var ZIP
function valzip(ZIP){xmlHttp=GetXmlHttpObject()
if(xmlHttp==null){alert("Browser does not support HTTP Request")
return}
var url="/inc/ajax/valzip.asp"
url=url+"?q="+ZIP
url=url+"&sid="+Math.random()
xmlHttp.onreadystatechange=stateChanged
xmlHttp.open("GET",url,true)
xmlHttp.send(null)}
function stateChanged(){if(xmlHttp.readyState==4||xmlHttp.readyState=="complete"){if(xmlHttp.responseText==""){alert("Zip Code "+document.LP.ZIP.value+" is Invalid. Please try again!");document.LP.ZIP.value="";document.LP.ZIP.focus();}
else{return(true);}}}
function GetXmlHttpObject(){var objXMLHttp=null
if(window.XMLHttpRequest){objXMLHttp=new XMLHttpRequest()}
else if(window.ActiveXObject){objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")}
return objXMLHttp}
function validatezip(s){reZip=new RegExp(/(^\d{5}$)/);if(!reZip.test(s)){return false;}
return true;}
function confirm_submit(){if(validatezip(LP.ZIP.value)==false){alert("Enter a Valid Zip Code.");LP.ZIP.focus();return false;}
return(true);}
//-->