// win1=null; // childexists=false; function poppolicyright(str) { if (navigator.appName=="Netscape") x=417 else x=425 win1=window.open(str,'policy','toolbar=no,scrollbars=yes,reSizable=no,dependent=0,width='+x+',height=470,left=365,top=50'); win1.focus() return false } function poppremiumright(str1,str2,sheet){ str="/cgi-bin/premiumcalculator/premiumcal.asp?qs=1&sheet="+sheet+"&pr="+str1+"&po="+str2 win1=window.open(str,'premium','titlebar=false;toolbar=false,scrollbars=false,top=50,left=435,width=350,height=470,reSizable=no'); win1.focus() return false; } function poppremiumrightnav(str1,str2,sheet){ str3="/cgi-bin/premiumcalculator/premiumcal.asp?qs=1&sheet="+sheet+"&pr="+str1+"&po="+str2 win1=window.open(str3,'premium','titlebar=false;toolbar=false,scrollbars=false,top=50,left=435,width=350,height=470,reSizable=no'); win1.focus() return false; } function poppremiumleft(str,sheet){ childexists=true str="/cgi-bin/premiumcalculator/premiumcal.asp?pr="+str+"&sheet="+sheet win1=window.open(str,'premium','titlebar=0,toolbar=false,scrollbars=no,dependent=0,top=50,left=20,width=350,height=470,reSizable=no'); win1.focus() return false; } function poppolicyleft(str,name) { if (navigator.appName=="Netscape") {x=417 y=5} else {x=425 y=0} // childexists=true win1=window.open(str,'policy','titlebar=0;toolbar=false,scrollbars=yes,reSizable=no,dependent=0,left='+y+',top=50,height=470,width='+x) win1.focus() return false } function refwindow(str) { window.self.location.href=str return false } function closeall() { if(childexists) { win1.close() } } function closepolicy() { if(childexists) { win1.close() } } function policyresize() { window.resizeTo(440,499) window.moveTo(364,50) } function premiumresize() { window.resizeTo(347,499) window.moveTo(435,50) } function policyfix() { window.resizeTo(438,499) ; window.moveTo(0,50) } function premiumfix() { window.resizeTo(347,499) ; window.moveTo(20,50) } function temppoppremiumleft(str){ childexists=true str="/cgi-bin/policies/birlaplantable.asp" win1=window.open(str,'premium','titlebar=0,toolbar=false,scrollbars=yes,dependent=1,top=50,left=20,width=350,height=470,reSizable=no'); win1.focus() return false; } function temp2poppremiumleft(str){ childexists=true str="/cgi-bin/policies/cashtable.asp" win1=window.open(str,'premium','titlebar=0,toolbar=false,scrollbars=yes,dependent=1,top=50,left=20,width=350,height=470,reSizable=no'); win1.focus() return false; } function temp3poppremiumleft(str){ childexists=true str="/cgi-bin/policies/birlalifeplantable.asp" win1=window.open(str,'premium','titlebar=0,toolbar=false,scrollbars=yes,dependent=1,top=50,left=20,width=350,height=470,reSizable=no'); win1.focus() return false; } function popsendmail(str) { if (navigator.appName=="Netscape") x=417 else x=400 win1=window.open(str,'policy','toolbar=no,scrollbars=yes,reSizable=no,dependent=0,width='+x+',height=320,left=365,top=50'); win1.focus() return false } function poppolicyrightbookpoint(str) { if (navigator.appName=="Netscape") x=417 else x=425 win1=window.open(str,'policy','toolbar=no,scrollbars=yes,reSizable=no,dependent=0,width='+x+',height=250,left=400,top=250'); win1.focus() return false }