function SureHitsMortgageRatesNoFilterContainer(){this.currentStateCode="";this.currentLoanAmount="";this.currentRateProduct="";this.disclaimer="";this.termOptions=[];this.hiddenInputs=[];this.borderColor="#e6e6e6";this.containerDiv=$ce("div");this.containerDiv.style.margin="0pt auto";this.containerDiv.style.width="730px";this.containerDiv.style.fontFamily="Arial";if(typeof (ni_borderColor)!="undefined"){this.borderColor=ni_borderColor}this.containerDiv.style.border="solid 7px "+this.borderColor;this.containerDiv.style.clear="both";this.containerDiv.style.color="#000";this.containerDiv.id="shmktpl_d1";this.containerDiv.style.paddingBottom="15px";this.containerDiv.style.paddingTop="15px";this.body=$ce("div");this.body.style.paddingLeft="15px";this.body.style.paddingRight="15px";this.body.id="sh_bdy";this.render=function(){var A=$ge("shmktpl_mtgratescontainer");A.appendChild(this.containerDiv);var C=$ce("div");C.style.width="700px";C.style.margin="0 auto";C.style.fontSize="12px";C.style.fontWeight="bold";C.id="sh_hdr_top";C.innerHTML="Want to see more?
Check out the competitive rates from these other respected lenders.

";this.containerDiv.appendChild(C);this.containerDiv.appendChild(this.body);this.headingsDiv=$ce("div");this.headingsDiv.style.padding="0 pt";this.headingsDiv.style.height="20px";this.headingsDiv.style.fontSize="10px";this.headingsDiv.id="sh_headingsDiv";this.body.appendChild(this.headingsDiv);var H=$ce("ul");H.style.border="0pt none";H.style.margin="0pt 0pt 0pt 5px";H.style.padding="0pt";H.style.color="#666";H.style.listStyleType="none";this.headingsDiv.appendChild(H);var G=$ce("li");G.style.margin="0pt";G.style.padding="0pt";G.style.display="block";G.style.cssFloat="left";G.style.styleFloat="left";G.style.textAlign="left";G.style.width="130px";G.innerHTML="Company";H.appendChild(G);var F=$ce("li");F.style.margin="0pt";F.style.padding="0pt";F.style.display="block";F.style.cssFloat="left";F.style.styleFloat="left";F.style.textAlign="left";F.style.width="75px";F.innerHTML="Loan Product";H.appendChild(F);var E=$ce("li");E.style.margin="0pt";E.style.padding="0pt";E.style.display="block";E.style.cssFloat="left";E.style.styleFloat="left";E.style.textAlign="left";E.style.width="45px";E.innerHTML="Rate";H.appendChild(E);var I=$ce("li");I.style.margin="0pt";I.style.padding="0pt";I.style.display="block";I.style.cssFloat="left";I.style.styleFloat="left";I.style.textAlign="left";I.style.width="45px";I.innerHTML="APR";H.appendChild(I);var D=$ce("li");D.style.margin="0pt";D.style.padding="0pt";D.style.display="block";D.style.cssFloat="left";D.style.styleFloat="left";D.style.textAlign="left";D.style.width="90px";D.innerHTML="Est. Mo. Pymt.";H.appendChild(D);var B=$ce("li");B.style.margin="0pt";B.style.padding="0pt";B.style.display="block";B.style.cssFloat="left";B.style.styleFloat="left";B.style.textAlign="left";B.innerHTML="Advertiser Comments";H.appendChild(B)};this.renderFooter=function(){var B=$ce("div");B.style.marginTop="10px";B.style.textAlign="right";if(!SH.prototype.hideMoneyRatesBranding){this.body.appendChild(B)}var A=$ce("img");A.src=SH.prototype.path+"Images/DefaultLook/powered_by_moneyrates2.png";A.style.border="0";B.appendChild(A)};this.setStateCode=function(A){this.currentStateCode=A};this.setLoanAmount=function(A){this.currentLoanAmount=A};this.setRateProduct=function(A){this.currentRateProduct=A};this.ato=function(A){this.termOptions[this.termOptions.length]=A};this.addHiddenInput=function(A){this.hiddenInputs[this.hiddenInputs.length]=A};this.setDisclaimer=function(A){this.disclaimer=A}}function SureHitsMortgageRatesFilteredContainer(){this.disclaimer="";this.stateOptions=[];this.rateProductOptions=[];this.amountOptions=[];this.termOptions=[];this.hiddenInputs=[];this.containerDiv=$ce("div");this.containerDiv.id="shmktpl_d1";this.render=function(){var a=$ge("shmktpl_mtgratescontainer");a.appendChild(this.containerDiv);var R=$ce("div");R.id="shmktpl_d1";R.width=SH.prototype.shopRateStyle?"886px":"716px";R.margin="0 auto";R.style.border=SH.prototype.shopRateStyle?"solid 7px #EAEAEA":"solid 7px #e6e6e6";R.style.borderBottom=SH.prototype.shopRateStyle?"solid 5px #EAEAEA":"solid 5px #e6e6e6";R.style.borderTop=SH.prototype.shopRateStyle?"solid 5px #EAEAEA":"solid 5px #e6e6e6";R.style.backgroundColor="white";if(!SH.prototype.shopRateStyle){R.style.height="130px"}this.containerDiv.appendChild(R);var L=$ce("div");L.style.height=SH.prototype.shopRateStyle?"57px":"33px";if(SH.prototype.shopRateStyle){L.style.backgroundImage="url('"+SH.prototype.path+"Images/ShopRate/ContainerHeading_Bg.gif')";L.style.backgroundRepeat="repeat-x"}else{L.style.backgroundColor=typeof (ni_color1)!="undefined"?ni_color1:"#4f7627"}L.style.fontFamily="Arial";L.style.fontWeight="bold";L.style.fontSize="20px";L.style.textIndent="10px";if(!SH.prototype.shopRateStyle){L.style.paddingTop="7px"}R.appendChild(L);if(SH.prototype.shopRateStyle){var N=$ce("div");N.style.paddingTop="7px";L.appendChild(N)}var j=$ce("span");j.style.color="#fff";j.innerHTML="Displaying rate results for: ";if(SH.prototype.shopRateStyle){N.appendChild(j)}else{L.appendChild(j)}var g=$ce("span");g.id="sh_filteredHeading";g.style.color=SH.prototype.shopRateStyle?"#ffcc00":"#ffff00";g.innerHTML=SH.prototype.currentRateProduct+" in "+SH.prototype.currentStateCode+" for "+SH.prototype.currentFormattedLoanAmount;if(SH.prototype.shopRateStyle){N.appendChild(g)}else{L.appendChild(g)}if(!SH.prototype.shopRateStyle){var D=$ce("div");D.style.height="90px";D.style.backgroundColor="White";R.appendChild(D)}var d=$ce("div");d.style.color=SH.prototype.shopRateStyle?"#fff":"#000";d.style.fontFamily="Arial";d.style.fontSize=SH.prototype.shopRateStyle?"11px":"13px";d.style.textIndent="10px";d.style.fontWeight="bold";d.style.paddingTop=SH.prototype.shopRateStyle?"9px":"7px";d.innerHTML="Customize your search …";if(SH.prototype.shopRateStyle){L.appendChild(d);var c=$ce("div");c.style.backgroundImage="url('"+SH.prototype.path+"Images/ShopRate/ContainerHeading_FooterArrow.png')";c.style.backgroundRepeat="repeat-x";c.style.height="17px";c.style.width="100%";c.innerHTML=" ";c.style.clear="both";R.appendChild(c);var D=$ce("div");D.style.height="70px";D.style.backgroundColor="White";R.appendChild(D)}else{D.appendChild(d)}var h=$ce("table");h.style.width="688px";h.style.marginLeft="11px";h.style.marginTop="9px";h.style.border="0";h.setAttribute("cellSpacing","0");h.setAttribute("cellPadding","0");D.appendChild(h);var H=$ce("tbody");h.appendChild(H);var f=$ce("tr");H.appendChild(f);var K=$ce("td");K.style.width=SH.prototype.shopRateStyle?"170px":"180px";f.appendChild(K);var W=$ce("span");W.style.fontFamily="Arial";W.style.fontSize=SH.prototype.shopRateStyle?"12px":"11px";W.style.color="Black";W.style.fontWeight=SH.prototype.shopRateStyle?"bold":"normal";W.innerHTML="State:
";K.appendChild(W);var A=$ce("select");A.style.fontFamily="Arial";A.style.fontSize=SH.prototype.shopRateStyle?"12px":"11px";A.style.fontWeight=SH.prototype.shopRateStyle?"normal":"bold";A.style.width="150px";A.style.backgroundColor="#ffffcc";A.style.marginTop="3px";A.id="sh_stateFilter";K.appendChild(A);for(var k=0;k";J.appendChild(U);var M=$ce("select");M.style.fontFamily="Arial";M.style.fontSize=SH.prototype.shopRateStyle?"12px":"11px";M.style.fontWeight=SH.prototype.shopRateStyle?"normal":"bold";M.style.width="150px";M.style.backgroundColor="#ffffcc";M.style.marginTop="3px";M.id="sh_rpFilter";J.appendChild(M);for(var k=0;k";I.appendChild(S);var b=$ce("select");b.style.fontFamily="Arial";b.style.fontSize=SH.prototype.shopRateStyle?"12px":"11px";b.style.fontWeight=SH.prototype.shopRateStyle?"normal":"bold";b.style.width="150px";b.style.backgroundColor="#ffffcc";b.style.marginTop="3px";b.id="sh_la";I.appendChild(b);for(var k=0;kmortgagerates@quinstreet.com';D.appendChild(C);D.appendChild($ce("br"));D.appendChild(B)};this.addStateOption=function(A){this.stateOptions[this.stateOptions.length]=A};this.addRateProductOption=function(A){this.rateProductOptions[this.rateProductOptions.length]=A};this.addAmountOption=function(A){this.amountOptions[this.amountOptions.length]=A};this.ato=function(A){this.termOptions[this.termOptions.length]=A};this.addHiddenInput=function(A){this.hiddenInputs[this.hiddenInputs.length]=A}}function SureHitsMortgageRatesContainer(){this.currentStateCode="";this.currentLoanAmount="";this.currentRateProduct="";this.disclaimer="";this.termOptions=[];this.hiddenInputs=[];this.containerDiv=$ce("div");this.containerDiv.style.margin="0pt auto";this.containerDiv.style.width="730px";this.containerDiv.style.fontFamily="Arial";this.containerDiv.style.clear="both";this.containerDiv.style.color="#000";this.containerDiv.id="shmktpl_d1";this.form=$ce("form");this.form.setAttribute("method","get");this.form.setAttribute("action","#");this.form.id="sh_f";this.body=$ce("div");this.body.style.backgroundRepeat="repeat-y";this.body.style.backgroundPosition="center top";this.body.style.paddingLeft="15px";this.body.style.paddingRight="15px";this.body.style.backgroundImage="url('"+SH.prototype.path+"Images/DefaultLook/body_bg.gif')";this.body.id="sh_bdy";this.render=function(){var M=$ge("shmktpl_mtgratescontainer");M.appendChild(this.containerDiv);var H=$ce("div");H.style.height="20px";H.style.fontSize="10px";H.id="sh_hdr_top";H.innerHTML="This is a list of advertisements from our sponsors.";var U=$ce("div");U.style.height="91px";U.style.fontSize="11px";U.style.fontWeight="bold";U.style.backgroundPosition="left bottom";U.style.backgroundRepeat="no-repeat";U.style.backgroundImage="url('"+SH.prototype.path+"Images/DefaultLook/mortgage_header.png')";U.id="sh_hdr";this.containerDiv.appendChild(H);this.containerDiv.appendChild(U);U.appendChild(this.form);var K=$ce("div");K.style.fontSize="10px";K.style.paddingTop="50px";K.style.color="#000";K.style.textAlign="left";K.id="sh_f_d";var S=$ce("table");S.id="sh_f_tbl";S.style.cssFloat="left";S.style.styleFloat="left";S.style.marginLeft="18px";S.setAttribute("cellSpacing","0");S.setAttribute("cellPadding","0");var C=$ce("tbody");S.appendChild(C);var L=$ce("tr");L.style.color="#FFF";L.style.fontSize="12px";L.style.fontFamily="Arial";L.style.fontWeight="bold";C.appendChild(L);var R=$ce("td");R.innerHTML=this.currentStateCode;L.appendChild(R);var Q=$ce("td");Q.style.paddingLeft="28px";Q.innerHTML=this.currentRateProduct;L.appendChild(Q);var P=$ce("td");P.style.paddingLeft="30px";P.innerHTML=this.currentLoanAmount;L.appendChild(P);var O=$ce("td");O.style.paddingLeft="113px";O.style.width="98px";L.appendChild(O);var Z=$ce("select");Z.style.fontSize="11px";Z.style.width="90px";Z.id="sh_rtFilter";Z.setAttribute("name","sh_rtFilter");O.appendChild(Z);for(var V=0;Vmortgagerates@quinstreet.com';D.appendChild(C);D.appendChild($ce("br"));D.appendChild(B)};this.setStateCode=function(A){this.currentStateCode=A};this.setLoanAmount=function(A){this.currentLoanAmount=A};this.setRateProduct=function(A){this.currentRateProduct=A};this.ato=function(A){this.termOptions[this.termOptions.length]=A};this.addHiddenInput=function(A){this.hiddenInputs[this.hiddenInputs.length]=A};this.setDisclaimer=function(A){this.disclaimer=A}}function SMLT(){this.parentContainer=null;this.lp="";this.apr="";this.pmt="";this.rte="";this.pts="";this.fee="";this.lck="";this.url="";this.dtm="no";this.ord="";this.tid="";this.render=function(){}}function SureHitsMortgageRatesListing(){this.parentContainer=null;this.listingIndex=null;this.borderColor="";this.backgroundImg="";this.logo="";this.company="";this.updated="";this.phone="";this.url="";this.listingId="";this.termsHeadingBgImg="";this.termsHeadingCloseImg="";this.termsAltColor="";this.phoneClickUrl="";var A=this;this.terms=[];this.topTerms=[];this.commentLines=[];this.additionalTermsContainer=$ce("div");this.additionalTermsContainer.style.display="none";this.additionalTermsContainer.setAttribute("showingTerms","no");this.addT=function(B){this.terms[this.terms.length]=B};this.addComment=function(B){this.commentLines[this.commentLines.length]=B};this.render=function(){var X=$ce("div");X.style.backgroundColor="#FFF";X.style.width=SH.prototype.shopRateStyle?"856px":"696px";if(this.listingIndex<3){X.style.border="2px solid "+this.borderColor;X.style.margin="0pt auto 7px";X.style.backgroundImage="url('"+SH.prototype.path+"Images/DefaultLook/"+this.backgroundImg+"')";X.style.backgroundRepeat="repeat-x"}else{X.style.borderBottom="1px dashed #CCC";X.style.margin="0pt auto 2px";X.style.paddingBottom="2px"}this.parentContainer.appendChild(X);var F=$ce("table");if(!SH.prototype.shopRateStyle){F.style.margin="2px"}F.style.fontFamily="Arial";F.style.fontSize="11px";F.style.width=SH.prototype.shopRateStyle?"856px":"692px";F.setAttribute("cellSpacing","0");F.setAttribute("cellPadding","0");X.appendChild(F);var M=$ce("tbody");F.appendChild(M);var z=$ce("tr");M.appendChild(z);var AO=$ce("td");AO.style.width=SH.prototype.shopRateStyle?"145px":"124px";if(this.listingIndex<3){AO.style.verticalAlign="top";z.appendChild(AO);var d=$ce("div");d.style.width="124px";d.style.height="60px";if(SH.prototype.shopRateStyle){d.style.marginLeft="10px";d.style.marginTop="8px"}var a=$ce("a");a.setAttribute("href",this.url);a.setAttribute("target","_blank");AO.appendChild(d);d.appendChild(a);var y=$ce("img");y.style.border="0";y.src=this.logo;a.appendChild(y)}else{AO.style.paddingTop="5px";AO.style.verticalAlign="top";z.appendChild(AO);if(SH.prototype.shopRateStyle){var E=$ce("div");E.style.width="120px";E.style.marginLeft="10px";AO.appendChild(E)}var a=$ce("a");a.style.fontWeight="bold";a.style.textDecoration="none";a.style.color=SH.prototype.shopRateStyle?"#0469CD":"#0085DD";a.setAttribute("href",this.url);a.setAttribute("target","_blank");a.innerHTML=this.company;if(SH.prototype.shopRateStyle){E.appendChild(a)}else{AO.appendChild(a)}if(!SH.prototype.shopRateStyle){var v=$ce("br");AO.appendChild(v)}else{var AQ=$ce("div");AQ.style.marginLeft="10px";AQ.style.marginTop="10px";AQ.style.width="100px";AO.appendChild(AQ)}var AB=$ce("span");AB.style.color="#666";AB.style.fontSize="10px";AB.innerHTML="Updated "+this.updated;if(SH.prototype.shopRateStyle){AQ.appendChild(AB)}else{AO.appendChild(AB)}}var AM=$ce("td");AM.style.width="170px";AM.style.verticalAlign="top";z.appendChild(AM);var x=$ce("table");x.style.width=SH.prototype.shopRateStyle?"270px":"215px";x.style.marginLeft="6px";x.style.marginTop=SH.prototype.shopRateStyle?"4px":"0px";x.setAttribute("cellPadding","1");x.setAttribute("cellSpacing","0");AM.appendChild(x);var V=$ce("tbody");x.appendChild(V);var g=1;var Y=4;if(SH.prototype.currentTermID!=SH.prototype.unknownTermID){Y=2}if(this.listingIndex>2){Y=2}while(g2){var AC=$ce("a");AC.style.textDecoration="underline";AC.setAttribute("href","#");AC.style.color=SH.prototype.shopRateStyle?"#0469CD":"#0085DD";AC.style.fontSize="10px";AC.style.fontWeight=SH.prototype.shopRateStyle?"normal":"bold";AC.style.paddingLeft="6px";if(SH.prototype.shopRateStyle){AC.style.lineHeight="20px"}SH.addEvent(AC,"click",function(j){SureHitsMortgageRates.toggleAdditional(j,A.additionalTermsContainer)});if(SH.prototype.currentTermID===SH.prototype.unknownTermID){AC.innerHTML="Additional Loan Products"}else{if(this.terms.length>0){AC.innerHTML="Additional "+this.terms[0].lp+" Loans"}else{AC.innerHTML="Additional Loan Products"}}AM.appendChild(AC)}var AJ=$ce("td");AJ.style.verticalAlign="top";z.appendChild(AJ);var t=$ce("ul");t.setAttribute("class","commentsUL");t.style.margin=SH.prototype.shopRateStyle?"4px 0px 0px 0px":"0px 0px 0px 0px";t.style.padding="0px 0px 0px 0px";t.style.listStyleType="disc";t.style.listingStylePosition="outside";t.style.lineHeight="14px";AJ.appendChild(t);if(!SH.prototype.shopRateStyle){var b=$ce("a");b.style.textDecoration="underline";b.setAttribute("href",this.url);b.setAttribute("target","_blank");b.style.color="#0085DD";b.style.fontSize="10px";b.innerHTML="Learn More"}var v=$ce("br");if(this.listingIndex<3){for(var AA=0;AA0){AC.innerHTML="Additional "+this.terms[0].lp+" Loans"}else{AC.innerHTML="Additional Loan Products"}}S.appendChild(AC)}var Q=$ce("td");Q.id="phoneCell_"+this.listingId;Q.setAttribute("colSpan","2");Q.style.textAlign="right";Q.style.paddingRight="5px";Q.style.color="#FF0000";Q.style.fontWeight="bold";if(this.listingIndex<3){Q.style.fontSize="14px"}else{Q.style.fontSize="12px"}Q.innerHTML="";w.appendChild(Q);if(!SH.prototype.shopRateStyle){if(this.listingIndex<3){this.additionalTermsContainer.style.borderBottom="15px solid "+this.borderColor}else{this.additionalTermsContainer.style.borderBottom="15px solid #BCBCBC"}}X.appendChild(this.additionalTermsContainer);var e=$ce("div");if(SH.prototype.shopRateStyle){e.style.width="850px";e.style.margin="0 auto";e.style.backgroundImage="url('"+SH.prototype.path+"Images/ShopRate/AdditionalContainerHeading_BG.png')"}else{if(this.listingIndex<3){e.style.backgroundImage="url('"+SH.prototype.path+"Images/DefaultLook/"+this.termsHeadingBgImg+"')"}else{e.style.backgroundImage="url('"+SH.prototype.path+"Images/DefaultLook/lightgray_infodiv_bg.png')"}}e.style.backgroundRepeat="no-repeat";this.additionalTermsContainer.appendChild(e);headingDiv=$ce("div");headingDiv.style.padding="0pt";headingDiv.style.height=SH.prototype.shopRateStyle?"36px":"37px";headingDiv.style.color=SH.prototype.shopRateStyle?"#333":"#FFF";headingDiv.style.fontSize="11px";headingDiv.style.fontWeight=SH.prototype.shopRateStyle?"normal":"bold";e.appendChild(headingDiv);var n=$ce("ul");n.style.border="0";n.style.margin="0pt 0pt 0pt 5px";n.style.padding="0";n.style.listStyleType="none";headingDiv.appendChild(n);var O=$ce("li");O.style.margin="20px 0pt 0pt";O.style.padding="0pt";O.style.display="block";O.style.cssFloat="left";O.style.styleFloat="left";O.style.textAlign="left";O.style.width="100px";O.innerHTML="Loan Product";n.appendChild(O);var N=$ce("li");N.style.margin="20px 0pt 0pt";N.style.padding="0pt";N.style.display="block";N.style.cssFloat="left";N.style.styleFloat="left";N.style.textAlign="left";N.style.width="55px";N.innerHTML="Rate";n.appendChild(N);var L=$ce("li");L.style.margin="20px 0pt 0pt";L.style.padding="0pt";L.style.display="block";L.style.cssFloat="left";L.style.styleFloat="left";L.style.textAlign="center";L.style.width="145px";L.innerHTML="Disc/Orig Points";n.appendChild(L);var K=$ce("li");K.style.margin="20px 0pt 0pt";K.style.padding="0pt";K.style.display="block";K.style.cssFloat="left";K.style.styleFloat="left";K.style.textAlign="left";K.style.width="65px";K.innerHTML="Fees";n.appendChild(K);var J=$ce("li");J.style.margin="20px 0pt 0pt";J.style.padding="0pt";J.style.display="block";J.style.cssFloat="left";J.style.styleFloat="left";J.style.textAlign="left";J.style.width="65px";J.innerHTML="APR";n.appendChild(J);var I=$ce("li");I.style.margin="20px 0pt 0pt";I.style.padding="0pt";I.style.display="block";I.style.cssFloat="left";I.style.styleFloat="left";I.style.textAlign="left";I.style.width="55px";I.innerHTML="Lock";n.appendChild(I);var H=$ce("li");H.style.margin="20px 0pt 0pt";H.style.padding="0pt";H.style.display="block";H.style.cssFloat="left";H.style.styleFloat="left";H.style.textAlign="left";H.innerHTML="Est. Mnthly Pymnt";n.appendChild(H);var G=$ce("li");G.style.margin="12px 0pt 0pt";G.style.padding="0pt";G.style.display="block";G.style.cssFloat="right";G.style.styleFloat="right";G.style.textAlign="left";n.appendChild(G);var f=$ce("a");f.setAttribute("href","#");SH.addEvent(f,"click",function(j){SureHitsMortgageRates.closeAdditional(j,A.additionalTermsContainer)});G.appendChild(f);var i=$ce("img");if(SH.prototype.shopRateStyle){i.style.position="relative";i.style.top="5px";i.style.left="-2px";i.src=SH.prototype.path+"Images/ShopRate/Close_X.gif"}else{if(this.listingIndex<3){i.src=SH.prototype.path+"Images/DefaultLook/"+this.termsHeadingCloseImg}else{i.src=SH.prototype.path+"Images/DefaultLook/lightgray_x.png"}}i.style.border="0";f.appendChild(i);for(var AA in this.terms){var R=$ce("div");R.style.width="696px";R.style.lineHeight="12px";R.setAttribute("term",this.terms[AA].lp);if(SH.prototype.shopRateStyle){R.style.backgroundColor="#FFF"}if(!SH.prototype.shopRateStyle){if(this.listingIndex<3){R.style.backgroundColor=AA%2===0?"#FFF":this.termsAltColor;R.setAttribute("altColor",this.termsAltColor)}else{R.style.backgroundColor=AA%2===0?"#FFF":"#F3F3F3";R.setAttribute("altColor","#F3F3F3")}}if(this.terms[AA].dtm=="yes"){R.style.display="";R.setAttribute("defaultTrm","yes")}else{R.style.display="none";R.setAttribute("defaultTrm","no")}this.additionalTermsContainer.appendChild(R);var B=$ce("div");B.style.padding="0pt";B.style.height="20px";B.style.fontWeight=SH.prototype.shopRateStyle?"normal":"bold";B.style.fontSize=SH.prototype.shopRateStyle?"12px":"11px";B.style.color="#000";R.appendChild(B);var h=$ce("ul");h.style.padding="0pt";h.style.border="0";h.style.margin="0pt 0pt 0pt 5px";h.style.listStyleType="none";B.appendChild(h);var AP=$ce("li");AP.style.margin="5px 0pt 0pt";AP.style.padding="0pt";AP.style.display="block";AP.style.cssFloat="left";AP.style.styleFloat="left";AP.style.textAlign="left";AP.style.textIndent="3px";AP.style.width="100px";AP.innerHTML=this.terms[AA].lp;h.appendChild(AP);var AN=$ce("li");AN.style.margin="5px 0pt 0pt";AN.style.padding="0pt";AN.style.display="block";AN.style.cssFloat="left";AN.style.styleFloat="left";AN.style.textAlign="left";AN.style.width="55px";AN.innerHTML=this.terms[AA].rte;h.appendChild(AN);var AK=$ce("li");AK.style.margin="5px 0pt 0pt";AK.style.padding="0pt";AK.style.display="block";AK.style.cssFloat="left";AK.style.styleFloat="left";AK.style.textAlign="center";AK.style.width="145px";AK.innerHTML=this.terms[AA].pts;h.appendChild(AK);var AI=$ce("li");AI.style.margin="5px 0pt 0pt";AI.style.padding="0pt";AI.style.display="block";AI.style.cssFloat="left";AI.style.styleFloat="left";AI.style.textAlign="left";AI.style.width="65px";AI.innerHTML=this.terms[AA].fee;h.appendChild(AI);var AG=$ce("li");AG.style.margin="5px 0pt 0pt";AG.style.padding="0pt";AG.style.display="block";AG.style.cssFloat="left";AG.style.styleFloat="left";AG.style.textAlign="left";AG.style.width="65px";AG.innerHTML=this.terms[AA].apr;h.appendChild(AG);var AF=$ce("li");AF.style.margin="5px 0pt 0pt";AF.style.padding="0pt";AF.style.display="block";AF.style.cssFloat="left";AF.style.styleFloat="left";AF.style.textAlign="left";AF.style.width="55px";AF.style.textIndent="5px";AF.innerHTML=this.terms[AA].lck;h.appendChild(AF);var AE=$ce("li");AE.style.margin="5px 0pt 0pt";AE.style.padding="0pt";AE.style.display="block";AE.style.cssFloat="left";AE.style.styleFloat="left";AE.style.textAlign="left";AE.style.textIndent="30px";AE.innerHTML=this.terms[AA].pmt;h.appendChild(AE);var AD=$ce("li");AD.style.margin="5px 0pt 0pt";AD.style.padding="0pt 3px 0pt 0pt";AD.style.display="block";AD.style.cssFloat="right";AD.style.styleFloat="right";AD.style.textAlign="left";h.appendChild(AD);var P=$ce("a");P.setAttribute("target","_blank");P.style.color=SH.prototype.shopRateStyle?"#0469CD":"#0085DD";P.innerHTML="Learn More";var Z=this.terms[AA].url;P.setAttribute("href",Z);AD.appendChild(P)}}}function SureHitsMortgageRatesListingContainer(){this.parentContainer=null;this.listings=[];this.container=$ce("div");this.container.id="sh_l_cntr";this.addListing=function(A){A.parentContainer=this.container;A.listingIndex=this.listings.length;this.listings[this.listings.length]=A};this.render=function(){SH.appendAfter(this.parentContainer,this.container);if(this.listings.length>0){for(var A=0;A0){D.style.marginTop="2px"}D.setAttribute("cellSpacing","0");D.setAttribute("cellPadding","0");this.parentContainer.appendChild(D);var G=$ce("tbody");D.appendChild(G);var s=$ce("tr");s.style.backgroundColor=this.topColor;G.appendChild(s);var y=$ce("td");y.style.textIndent="4px";y.paddingTop="0px";y.paddingBottom="0px";y.style.whiteSpace="nowrap";s.appendChild(y);var S=$ce("a");S.style.color="Blue";S.style.fontWeight="bold";S.style.fontFamily="Arial";S.style.fontSize="11px";S.style.textDecoration="underline";S.setAttribute("href",this.url);S.setAttribute("target","_blank");S.innerHTML=this.company;y.appendChild(S);var w=$ce("td");w.style.paddingTop="0px";w.style.paddingBottom="0px";w.style.textAlign="right";s.appendChild(w);var x=$ce("table");x.style.width="230px";x.style.cssFloat="right";x.style.styleFloat="right";x.setAttribute("cellSpacing","0");x.setAttribute("cellPadding","2");w.appendChild(x);var E=$ce("tbody");x.appendChild(E);var R=$ce("tr");E.appendChild(R);var L=$ce("td");L.style.paddingBottom="5px";L.style.textAlign="right";R.appendChild(L);var Y=$ce("img");Y.src=SH.prototype.path+"Images/DefaultLook/phone.gif";L.appendChild(Y);var J=$ce("td");J.style.width="50px";J.style.textAlign="right";J.style.paddingRight="15px";J.id="callnow_cell_"+this.listingId;R.appendChild(J);var O=$ce("a");O.setAttribute("href","#");O.style.color="Blue";O.style.textDecoration="underline";O.style.fontSize="11px";O.style.fontWeight="bold";O.style.fontFamily="Arial";O.innerHTML="Call Now";J.appendChild(O);var k=this.phone;var B=this.phoneClickUrl;var e=this.listingId;SH.addEvent(O,"click",function(i){SureHitsMortgageRates.showMiniListingsPhone(i,k,e,B)});if(k.length<=0){O.style.display="none";Y.style.display="none";J.innerHTML=" "}var F=$ce("td");F.style.width="85px";R.appendChild(F);var v=$ce("a");v.style.textDecoration="underline";v.setAttribute("href",this.url);v.setAttribute("target","_blank");F.appendChild(v);var Z=$ce("img");Z.src=SH.prototype.path+"Images/Mortgage/square_learnmore.gif";Z.style.border="0";v.appendChild(Z);var q=$ce("tr");q.style.backgroundColor=this.topColor;G.appendChild(q);var t=$ce("td");t.setAttribute("colSpan","2");t.style.backgroundColor=this.bottomColor;q.appendChild(t);var C=$ce("table");C.style.width="482px";C.style.margin="0 auto";t.appendChild(C);var W=$ce("tbody");C.appendChild(W);var a=$ce("tr");W.appendChild(a);var f=$ce("td");f.style.verticalAlign="top";f.style.width="230px";a.appendChild(f);var r=$ce("table");r.style.width="100%";r.setAttribute("cellSpacing","0");r.setAttribute("cellPadding","0");f.appendChild(r);var Q=$ce("tbody");r.appendChild(Q);var H=$ce("tr");Q.appendChild(H);var j=$ce("td");j.style.textIndent="5px";j.style.fontSize="9px";j.style.color="#333";j.style.fontFamily="Arial";j.innerHTML="Loan Product";H.appendChild(j);var h=$ce("td");h.style.textIndent="3px";h.style.fontSize="9px";h.style.color="#333";h.style.fontFamily="Arial";h.innerHTML="Rate";H.appendChild(h);var l=$ce("td");l.style.textIndent="3px";l.style.fontSize="9px";l.style.color="#333";l.style.fontFamily="Arial";l.innerHTML="APR";H.appendChild(l);var g=$ce("td");g.style.fontSize="9px";g.style.color="#333";g.style.fontFamily="Arial";g.innerHTML="Est. Mo. Pymt.";H.appendChild(g);var b=1;var T=4;while(b";SH.appendAfter(B,A);var D=$ce("img");D.src="https://www.nextinsure.com/ListingDisplay/Images/thumper.gif";D.style.border="0";D.style.width="35px";D.style.height="35px";D.style.marginTop="5px";A.appendChild(D)};SH.selectedRateProductID=function(){var A=document.getElementById("sh_rpFilter");return parseInt(A.options[A.selectedIndex].value,10)};SH.setSelectedRateProductID=function(){var C=document.getElementById("sh_rpFilter");var B=SH.prototype.currentRateProductID;for(var A=0;A