var mozilla=document.getElementById&&!document.all;
var args=new Object();
var query=location.search.substring(1);
var pairs=query.split("&");
for(var i=0;i<pairs.length;i++){
var pos=pairs[i].indexOf("=");
if(pos==-1){
continue;
}
var argname=pairs[i].substring(0,pos);
if(argname=="topic"){
theTopic=pairs[i].substring(pos+1);
}
}
var theURL=window.location.href;
var theFile=theURL.split("/");
theFile=theFile[theFile.length-1].split("?");
theFile=theFile[0];
var startPage=0;
var stopPage=0;
var pageID=0;
if(theFile.indexOf("hub")>-1){
var startAt=3;
if(theFile.charAt(4)!="."){
var stopAt=5;
}else{
var stopAt=4;
}
}else{
if(theFile.indexOf("topic")>-1){
var startAt=6;
if(theFile.charAt(7)!="_"){
var stopAt=8;
}else{
var stopAt=7;
}
}else{
if(theFile.indexOf("special")>-1){
var startAt=8;
if(theFile.charAt(9)!="_"){
var stopAt=10;
}else{
var stopAt=9;
}
}
}
}
var silo=theFile.substring(startAt,stopAt);
if(silo<1||silo>10||isNaN(parseInt(silo))){
silo=1;
}
if(theFile.toLowerCase()=="topic_9_1-9_suzevideo.html"){
pageID=theTopic;
}else{
if(theFile.indexOf("hub")==-1){
startPage=stopAt+1;
if(theFile.charAt(startPage+1)!="_"&&theFile.charAt(startPage+1)!="-"){
stopPage=startPage+2;
}else{
stopPage=startPage+1;
}
pageID=theFile.substring(startPage,stopPage);
}
}
function fixDynamicParts(){
showAdviceLinks();
}
function showAdviceLinks(){
var _1=new Array();
_1[0]="home.html";
_1[1]="special_1_1_ballparkQuote.html";
_1[2]="special_1_2_accurateQuote.html";
_1[3]="special_1_3_scheduleAppt.html";
_1[4]="special_1_4_siteMap.html";
_1[5]="special_1_5_faq.html";
_1[6]="";
_1[7]="hub2.html";
_1[8]="topic_2_1_quoteEstimate.html";
_1[9]="topic_2_2_whyQuoteChange.html";
_1[10]="topic_2_3_misleadingQuote.html";
_1[11]="topic_2_5_accurateQuote.html";
_1[12]="topic_2_6_choiceCompanies.html";
_1[13]="topic_2_11_bestPolicy.html";
_1[14]="hub3.html";
_1[15]="topic_3_1_ballparkQuote.html";
_1[16]="topic_3_2_twoWays.html";
_1[17]="topic_3_3_completingApplication.html";
_1[18]="topic_3_4_medicalExam.html";
_1[19]="topic_3_5_underwriting.html";
_1[20]="topic_3_7_whyItMatters.html";
_1[21]="topic_3_9_securingRate.html";
_1[22]="topic_3_13_procrastinatingHurts.html";
_1[23]="topic_3_14_completingApplication.html";
_1[24]="topic_3_17_whenPriceSet.html";
_1[25]="topic_3_18_severalWeeks.html";
_1[26]="hub4.html";
_1[27]="topic_4_1_top10Questions.html";
_1[28]="topic_4_2_useTobacco.html";
_1[29]="topic_4_3_glossary.html";
_1[30]="topic_4_5_comparingPermanentTerm.html";
_1[31]="hub5.html";
_1[32]="topic_5_4_comparingPermanentTerm.html";
_1[33]="topic_5_5_typesOffered.html";
_1[34]="topic_5_6_procrastinatingHurts.html";
_1[35]="topic_5_7_calculateCoverage.html";
_1[36]="topic_5_8_dontWasteMoney.html";
_1[37]="topic_5_9_calculateLength.html";
_1[38]="topic_5_10_prosCons.html";
_1[39]="topic_5_13_insureSpouseChild.html";
_1[40]="hub6.html";
_1[41]="topic_6_1_facts.html";
_1[42]="topic_6_4_howRated.html";
_1[43]="topic_6_7_americanGeneral.html";
_1[44]="topic_6_8_banner.html";
_1[45]="topic_6_9_.html";
_1[46]="topic_6_10_.html";
_1[47]="topic_6_11_firstColony.html";
_1[48]="topic_6_12_liberty.html";
_1[49]="topic_6_13_lincolnNational.html";
_1[50]="topic_6_14_unitedOmaha.html";
_1[51]="topic_6_15_protective.html";
_1[52]="topic_6_16_pruco.html";
_1[53]="topic_6_17_williamPenn.html";
_1[54]="hub7.html";
_1[55]="topic_7_2_changingCoverage.html";
_1[56]="topic_7_3_renewingPolicy.html";
_1[57]="topic_7_4_developProblems.html";
_1[58]="topic_7_5_convertingToPermanent.html";
_1[59]="topic_7_6_getAnswersFast.html";
_1[60]="topic_7_8_termEnds.html";
_1[61]="hub8.html";
_1[62]="topic_8_1_saveMoneyTimeFrustration.html";
_1[63]="topic_8_2_whatClientsSay.html";
_1[64]="topic_8_3_extraService.html";
_1[65]="topic_8_8_whySQSpecializes.html";
_1[66]="topic_8_10_shopByPhone.html";
_1[67]="topic_8_11_whatToExpect.html";
_1[68]="topic_8_12_howSQPaid.html";
_1[69]="topic_8_13_howSQSelects.html";
_1[70]="topic_8_14_relationships.html";
_1[71]="topic_8_16_privacy.html";
_1[72]="topic_8_17_legal.html";
_1[73]="topic_8_18_contactUs.html";
_1[74]="topic_8_27_licensedAgents.html";
_1[75]="hub9.html";
_1[76]="topic_9_1-9_suzeVideos.html";
_1[77]="topic_9_1-9_suzeVideos.html";
_1[78]="topic_9_1-9_suzeVideos.html";
_1[79]="topic_9_1-9_suzeVideos.html";
_1[80]="topic_9_1-9_suzeVideos.html";
_1[81]="topic_9_1-9_suzeVideos.html";
_1[82]="topic_9_1-9_suzeVideos.html";
_1[83]="topic_9_1-9_suzeVideos.html";
_1[84]="topic_9_1-9_suzeVideos.html";
_1[85]="topic_9_10_relationships";
_1[86]="hub10.html";
_1[87]="topic_10_1_wrongWay.html";
_1[88]="topic_10_2_rightWay.html";
_1[89]="topic_10_3_variationsTerm.html";
_1[90]="topic_10_4_makingChoice.html";
_1[91]="topic_10_5_debunkingMyths.html";
_1[92]="topic_10_6_buying.html";
_1[93]="topic_10_7_whoDoesDoesntNeed.html";
_1[94]="topic_10_8_whoDoesNeed.html";
_1[95]="topic_10_9_howMuchCoverage.html";
_1[96]="topic_10_10_buyingMore.html";
_1[97]="topic_10_11_commissions.html";
_1[98]="topic_10_12_homemakers.html";
_1[99]="topic_10_13_choosingStrong.html";
_1[100]="topic_10_14_newParent.html";
_1[101]="topic_10_15_divorcing.html";
_1[102]="topic_10_16_dying.html";
_1[103]="topic_10_18_relationships.html";
_1[104]="topic_10_19_speakingLanguage.html";
_1[105]="topic_10_20_variationsPermanent.html";
_1[106]="topic_10_21_supplementalMyth.html";
_1[107]="topic_10_22_pricing.html";
_1[108]="special_1_6_confirmation.ssq";
_1[109]="hub12.html";
_1[110]="topic_12_1_ned.html";
_1[111]="topic_12_2_dana.html";
_1[112]="topic_12_3_hard.html";
var _2=new Array();
_2[1]="<li><a href='topic_9_1-9_suzeVideo.html?topic=5'>Who needs Life Insurance?</a></li>";
_2[2]="<li><a href='topic_9_1-9_suzeVideo.html?topic=6'>Which kind of Life Insurance is best for you?</a></li>";
_2[3]="<li><a href='topic_9_1-9_suzeVideo.html?topic=0'>How much Life Insurance do you need?</a></li>";
_2[4]="<li><a href='topic_9_1-9_suzeVideo.html?topic=1'>How long do you need Life Insurance?</a></li>";
_2[5]="<li><a href='topic_9_1-9_suzeVideo.html?topic=3'>Do you need a Life Insurance Agent to come to your home?</a></li>";
_2[6]="<li><a href='topic_9_1-9_suzeVideo.html?topic=7'>Can people with health problems get Life Insurance?</a></li>";
_2[7]="<li><a href='topic_9_1-9_suzeVideo.html?topic=4'>Why a medical exam is important for you.</a></li>";
_2[8]="<li><a href='topic_9_1-9_suzeVideo.html?topic=2'>How to tell if your spouse needs Life Insurance.</a></li>";
_2[9]="<li><a href='topic_9_1-9_suzeVideo.html?topic=8'>How to choose a Life Insurance company.</a></li>";
var _3=new Array();
_3[1]="<li><a href='topic_10_6_buying.html'>Deciding what kind of Life Insurance to buy.</a></li>";
_3[2]="<li><a href='topic_10_7_whoDoesDoesntNeed.html'>Who <span class='italic'>does</span> and <span class='italic'>doesn't</span> need Life Insurance.</a></li>";
_3[3]="<li><a href='topic_10_8_whoDoesNeed.html'>Who does need Life Insurance.</a></li>";
_3[4]="<li><a href='topic_10_1_wrongWay.html'>Buying Insurance the wrong way.</a></li>";
_3[5]="<li><a href='topic_10_2_rightWay.html'>Buying Insurance the right way.</a></li>";
_3[6]="<li><a href='topic_10_3_variationsTerm.html'>Understanding the variations of Term Life Insurance.</a></li>";
_3[7]="<li><a href='topic_10_21_supplementalMyth.html'>Myth: Buying supplemental group Life Insurance is cheaper.</a></li>";
_3[8]="<li><a href='topic_10_20_variationsPermanent.html'>Understanding the variations of permanent Life Insurance.</a></li>";
_3[9]="<li><a href='topic_10_11_commissions.html'>Agent commissions.</a></li>";
_3[10]="<li><a href='topic_10_4_makingChoice.html'>Why we buy Life Insurance.</a></li>";
_3[11]="<li><a href='topic_10_5_debunkingMyths.html'>Debunking Life Insurance myths and mistakes.</a></li>";
_3[12]="<li><a href='topic_10_9_howMuchCoverage.html'>Determining how much coverage you need.</a></li>";
_3[13]="<li><a href='topic_10_10_buyingMore.html'>Buying more Life Insurance than you think you need.</a></li>";
_3[14]="<li><a href='topic_10_12_homemakers.html'>Insuring homemakers.</a></li>";
_3[15]="<li><a href='topic_10_14_newParent.html'>Becoming a new parent.</a></li>";
_3[16]="<li><a href='topic_10_15_divorcing.html'>Divorcing</a></li>";
_3[17]="<li><a href='topic_10_16_dying.html'>Dying</a></li>";
_3[18]="<li><a href='topic_10_13_choosingStrong.html'>Choosing a strong Insurance company.</a></li>";
_3[19]="<li><a href='topic_10_19_speakingLanguage.html'>Speaking the language.</a></li>";
_3[20]="<li><a href='topic_10_22_pricing.html'>Pricing</a></li>";
var _4=new Array(_1.length);
for(var _5=0;_5<_1.length;_5++){
_4[_5]=new Array(1);
}
for(var _5=0;_5<_1.length;_5++){
_4[_5][0]=_1[_5];
}
for(var _5=0;_5<_1.length;_5++){
_4[_5][1]="0";
}
for(var _5=0;_5<_1.length;_5++){
_4[_5][2]="0";
}
_4[1][1]="4,2";
_4[3][1]="9";
_4[7][1]="1,2,3,4,5,6,7,8,9";
_4[8][1]="2,9,3,4,7,5";
_4[9][1]="9,7";
_4[10][1]="2,3,4,5,6,7,8,9";
_4[11][1]="9,7";
_4[12][1]="9,2,5,3,4,6";
_4[13][1]="1,2,3,4,5";
_4[14][1]="2,6,7,5";
_4[15][1]="2";
_4[17][1]="5";
_4[18][1]="7";
_4[19][1]="6";
_4[26][1]="2,8,9,6";
_4[27][1]="2,8,9";
_4[28][1]="6";
_4[30][1]="2";
_4[31][1]="1,2,3,4,8,9,7";
_4[32][1]="2,9";
_4[33][1]="2,9";
_4[35][1]="2,3,4";
_4[36][1]="3,4";
_4[37][1]="4";
_4[38][1]="4";
_4[39][1]="8";
_4[40][1]="9";
_4[41][1]="9";
_4[42][1]="9";
_4[54][1]="2,3,4,8,6";
_4[56][1]="4";
_4[57][1]="6";
_4[61][1]="1,9,2,3,4,5";
_4[62][1]="9";
_4[64][1]="9";
_4[65][1]="1,2,3,4";
_4[66][1]="9,5";
_4[68][1]="9,5";
_4[108][1]=2;
_4[109][1]="6";
_4[110][1]="2,3";
_4[111][1]="2,3,4";
_4[7][2]="5,18";
_4[8][2]="5";
_4[10][2]="5";
_4[11][2]="5";
_4[12][2]="5,18";
_4[13][2]="5";
_4[14][2]="5";
_4[15][2]="5";
_4[16][2]="5";
_4[20][2]="5";
_4[26][2]="11,19,6,8,9,10,20";
_4[27][2]="11";
_4[29][2]="19";
_4[30][2]="6,8,9,10";
_4[31][2]="2,10,1,12,5,6,9,13,14,20";
_4[32][2]="6,10,9";
_4[33][2]="6,9";
_4[35][2]="12,13";
_4[36][2]="12,13";
_4[39][2]="14,2";
_4[40][2]="18,5";
_4[41][2]="18";
_4[42][2]="18";
_4[54][2]="10,15,16,17";
_4[58][2]="10";
_4[61][2]="5,18";
_4[62][2]="5";
_4[69][2]="18";
_4[108][2]=5;
_4[109][2]="2";
_4[110][2]="4,5";
_4[112][2]="10,13,14";
var _6="";
var _7="";
for(var _5=0;_5<_1.length;_5++){
if(_4[_5][0]==theFile){
if(_4[_5][1]!=0){
var _8=_4[_5][1].split(",");
for(var _9=0;_9<_8.length;_9++){
_6=_6+_2[_8[_9]];
}
}
if(_4[_5][2]!=0){
var _a=_4[_5][2].split(",");
for(var _9=0;_9<_a.length;_9++){
_7=_7+_3[_a[_9]];
}
}
}
}
if(_6.length>0||_7.length>0){
document.getElementById("sidebarHeadlineDiv").innerHTML="<p class='sidebarHeadline'>Impartial Advice from the Pros:</p>";
}
if(_6.length>0){
document.getElementById("suzeLinks").innerHTML="<div class='sidebarPros'><p><a href='hub9.html'>Suze Orman</a></p></div><ul>"+_6+"</ul>";
}
if(_7.length>0){
document.getElementById("dummyLinks").innerHTML="<div class='sidebarPros'><p><a href='hub10.html'>Insurance for Dummies</a></p></div><ul>"+_7+"</ul>";
}
}
function highlightNav(_b){
p=document.getElementById("leftnavigation").getElementsByTagName("a");
if(theFile.indexOf("hub")>-1){
for(navCounter=0;navCounter<p.length;navCounter++){
var _c=p[navCounter].href;
var _d=_c.split("/");
_d=_d[_d.length-1].split("?");
_d=_d[0];
if(_d==theFile){
if(mozilla){
var _e=p[navCounter].parentNode.parentNode;
var _f=_e.childNodes[0];
}else{
var _e=p[navCounter].parentElement.parentElement;
var _f=_e.childNodes(0);
}
_e.className="leftnavtest_selected";
_f.className="leftBar_selected";
}
}
}else{
try{
if(_b!=1){
_b=_b-2;
if(mozilla){
var _e=p[_b].parentNode.parentNode;
var _f=_e.childNodes[0];
}else{
var _e=p[_b].parentElement.parentElement;
var _f=_e.childNodes(0);
}
if(_e!=null){
_e.className="leftnavtest_selected";
_f.className="leftBar_selected";
}
}
}
catch(e){
}
}
}
function onload_document(){
if(document.forms[0]!=null){
for(var i=0;i<document.forms[0].length;i++){
field=document.forms[0].elements[i];
if(field!=null&&field.type!="hidden"){
field.focus();
break;
}
}
}
}
function autotabTextBox(_11,_12){
var _13=_11.value;
var _14=_11.form;
if(_13.length>=_12){
for(i=0;_14.elements.length;i++){
if(_11==_14.elements[i]){
_14.elements[i+1].focus();
return;
}
}
}
return;
}
function onChange_field(id,_16){
var _17=_16(id);
if(_17!=""){
return false;
}
return true;
}
function onClick_healthquestion(id){
var yn=get_element_value(id);
if(yn=="on"){
if(id=="none"){
document.forms[0].elements["cancer"].checked=false;
document.forms[0].elements["heart"].checked=false;
document.forms[0].elements["diabetes"].checked=false;
document.forms[0].elements["asthma"].checked=false;
document.forms[0].elements["pressure"].checked=false;
document.forms[0].elements["cholesterol"].checked=false;
document.forms[0].elements["depression"].checked=false;
document.forms[0].elements["alcohol"].checked=false;
document.forms[0].elements["otherHealth"].checked=false;
}else{
document.forms[0].elements["none"].checked=false;
}
}
}
function onClick_familyquestion(id){
var yn=get_element_value(id);
if(yn=="on"){
if(id=="adopted"){
document.forms[0].elements["familyHave"][0].checked=false;
document.forms[0].elements["familyHave"][1].checked=false;
document.forms[0].elements["fatherCancer"].checked=false;
document.forms[0].elements["fatherHeart"].checked=false;
document.forms[0].elements["fatherDiabetes"].checked=false;
document.forms[0].elements["fatherStroke"].checked=false;
document.forms[0].elements["motherCancer"].checked=false;
document.forms[0].elements["motherHeart"].checked=false;
document.forms[0].elements["motherDiabetes"].checked=false;
document.forms[0].elements["motherStroke"].checked=false;
document.forms[0].elements["siblingsCancer"].checked=false;
document.forms[0].elements["siblingsHeart"].checked=false;
document.forms[0].elements["siblingsDiabetes"].checked=false;
document.forms[0].elements["siblingsStroke"].checked=false;
}else{
document.forms[0].elements["adopted"].checked=false;
document.forms[0].elements["familyHave"][1].checked=true;
}
}
}
function onClick_familyhave(id){
var yn=get_element_value(id);
if(yn=="No"){
document.forms[0].elements["adopted"].checked=false;
document.forms[0].elements["fatherCancer"].checked=false;
document.forms[0].elements["fatherHeart"].checked=false;
document.forms[0].elements["fatherDiabetes"].checked=false;
document.forms[0].elements["fatherStroke"].checked=false;
document.forms[0].elements["motherCancer"].checked=false;
document.forms[0].elements["motherHeart"].checked=false;
document.forms[0].elements["motherDiabetes"].checked=false;
document.forms[0].elements["motherStroke"].checked=false;
document.forms[0].elements["siblingsCancer"].checked=false;
document.forms[0].elements["siblingsHeart"].checked=false;
document.forms[0].elements["siblingsDiabetes"].checked=false;
document.forms[0].elements["siblingsStroke"].checked=false;
}
if(yn=="Yes"){
document.forms[0].elements["adopted"].checked=false;
}
}
function onClick_existinginsurancepolicy(id){
var yn=get_element_value(id);
if(yn=="No"){
document.forms[0].elements["existingInsuranceReplacement"][0].checked=false;
document.forms[0].elements["existingInsuranceReplacement"][1].checked=false;
document.forms[0].elements["existingAmount"].value="";
}
}
function onClick_existinginsurancereplacement(id){
var yn=get_element_value(id);
document.forms[0].elements["existingInsurancePolicy"][0].checked=true;
}
function check_firstName(id){
if(document.forms[0].elements[id]!=null&&document.forms[0].elements[id].type=="hidden"){
return "";
}
var _23=get_element_value(id);
var _24=true;
var _25="";
if(_24&&_23!=null&&(_23==""||_23=="?"||(_23["ANY"]==false))){
return "Please enter your first name.";
}
_25=check_name_type(id);
if(_25!=""){
return _25;
}
_23=get_element_value(id);
var _26=document.forms[0].elements[id];
if(_26!=null&&_23!=null&&_26.value!=null){
_26.value=_23;
}
return "";
}
function check_lastName(id){
if(document.forms[0].elements[id]!=null&&document.forms[0].elements[id].type=="hidden"){
return "";
}
var _28=get_element_value(id);
var _29=true;
var _2a="";
if(_29&&_28!=null&&(_28==""||_28=="?"||(_28["ANY"]==false))){
return "Please enter your last name.";
}
_2a=check_name_type(id);
if(_2a!=""){
return _2a;
}
_28=get_element_value(id);
var _2b=document.forms[0].elements[id];
if(_2b!=null&&_28!=null&&_2b.value!=null){
_2b.value=_28;
}
return "";
}
function check_fullName(id){
if(document.forms[0].elements[id]!=null&&document.forms[0].elements[id].type=="hidden"){
return "";
}
var _2d=get_element_value(id);
var _2e=true;
var _2f="";
if(_2e&&_2d!=null&&(_2d==""||_2d=="?"||(_2d["ANY"]==false))){
return "Please enter your name.";
}
_2f=check_name_type(id);
if(_2f!=""){
return _2f;
}
_2d=get_element_value(id);
var _30=document.forms[0].elements[id];
if(_30!=null&&_2d!=null&&_30.value!=null){
_30.value=_2d;
}
return "";
}
function check_street(id){
if(document.forms[0].elements[id]!=null&&document.forms[0].elements[id].type=="hidden"){
return "";
}
var _32=get_element_value(id);
var _33=true;
var _34="";
if(_33&&_32!=null&&(_32==""||_32=="?"||(_32["ANY"]==false))){
return "Please enter your street.";
}
_34=check_name_type(id);
if(_34!=""){
return _34;
}
_32=get_element_value(id);
var _35=document.forms[0].elements[id];
if(_35!=null&&_32!=null&&_35.value!=null){
_35.value=_32;
}
return "";
}
function check_city(id){
if(document.forms[0].elements[id]!=null&&document.forms[0].elements[id].type=="hidden"){
return "";
}
var _37=get_element_value(id);
var _38=true;
var _39="";
if(_38&&_37!=null&&(_37==""||_37=="?"||(_37["ANY"]==false))){
return "Please enter your city.";
}
_39=check_name_type(id);
if(_39!=""){
return _39;
}
_37=get_element_value(id);
var _3a=document.forms[0].elements[id];
if(_3a!=null&&_37!=null&&_3a.value!=null){
_3a.value=_37;
}
return "";
}
function check_name_type(id){
var _3c=document.forms[0];
var _3d=_3c.elements[id];
var _3e=get_element_value(id);
var _3f=true;
_3e=(_3e!=null)?new String(_3e):new String("");
if(_3e==""){
return "";
}
_3f=true;
var str="";
var _41=true;
var _42=false;
var ch;
for(var i=0;i<_3e.length;i++){
ch=_3e.charAt(i);
if(ch==" "){
if(!_41){
_41=true;
str=str+ch;
}
}else{
if(_42||ch=="'"){
str=str+ch;
if(_42){
_42=false;
}else{
_42=true;
}
}else{
if(_41){
_41=false;
str=str+ch.toUpperCase();
}else{
str=str+ch.toLowerCase();
}
}
}
}
_3e=str;
if(!_3f){
return ("");
}
_3d.value=_3e;
return "";
}
function get_element_value(id){
var _46;
var _47=document.forms[0].elements[id];
if(_47==null){
return null;
}
if(_47.type=="hidden"){
_46=_47.value;
}
if(_47.type=="text"){
_46=_47.value;
}
if(_47.type=="select-one"){
_46=_47.options[_47.selectedIndex].value;
}
if(_47.type=="checkbox"){
_46=_47.checked?_47.value:"";
}
if(_47.type==null&&_47[0].type=="radio"){
for(var i=0;i<_47.length;i++){
if(_47[i].checked){
_46=_47[i].value;
break;
}
}
}
if(_46==null){
_46="";
}
return _46;
}

