browserName=navigator.appName;browserVer=parseInt(navigator.appVersion);condition=!(browserName.indexOf("Explorer")>=0&&browserVer<4||browserName.indexOf("Netscape")>=0&&browserVer<2);CanAnimate=condition==true?true:false;
function translator(a){a="http://translate.google.com/translate_c?langpair="+a+"&u="+document.location;if(CanAnimate){msgWindow=window.open("","subwindow","toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,menubar=yes,resizable=yes,left=0,top=0");msgWindow.focus();msgWindow.location.href=a}else msgWindow=window.open(a,"subwindow","toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,menubar=yes,resizable=yes,left=0,top=0")}
function openchild_nl(a){var b,c;b=screen.height*0.2*0.7;c=screen.width*0.19;var d=document.theForm.email.value,e=document.theForm.from_site.value,f=document.theForm.is_window.value,g=document.location;a=a+"?email="+d+"&from_site="+e+"&is_window="+f+"&org_referer="+g;if(CanAnimate){msgWindow=window.open("","subwindow","toolbar=no,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,resizable=yes,width=570,height=260,top="+b+",left="+c);msgWindow.focus();msgWindow.location.href=a}else msgWindow=
window.open(a,"subwindow","toolbar=no,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,resizable=yes,width=570,height=260,top="+b+",left="+c)}function validate_nl(a){if(!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(a.email.value)){alert("Invalid Email ID. Kindly enter the correct ID.");a.email.focus();return false}}function getblank_nl(a){a.value="";return true}
function checkSearchTop(){if(document.SearchTop.search.value.length<3){alert("Enter at least three characters for search.");document.SearchTop.search.focus();return false}return true}function checkSearchBottom(){if(document.SearchBottom.search.value.length<3){alert("Enter at least three characters for search.");document.SearchBottom.search.focus();return false}return true}
function openchild_email_this_page(a){if(CanAnimate){msgWindow=window.open("","subwindow","toolbar=no,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,resizable=yes,width=635,height=260");msgWindow.focus();msgWindow.location.href=a}else msgWindow=window.open(a,"subwindow","toolbar=no,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,resizable=yes,width=635,height=260")}
function check_form_email_this_page(a){if(a.S_name.value.length==0){alert("Kindly enter your name.");a.S_name.focus();return false}S_email_val=checkform_email(a.S_email,"Kindly enter your Email address.");if(!S_email_val)return false;R_email1_val=checkform_email(a.R_email1,"Kindly enter the Email ID of your friend / associate.");if(!R_email1_val)return false;if(a.R_email2.value.length!=0){R_email2_val=checkform_email(a.R_email2,"Kindly enter the Email ID of your friend / associate.");if(!R_email2_val)return false}if(a.R_email3.value.length!=
0){R_email3_val=checkform_email(a.R_email3,"Kindly enter the Email ID of your friend / associate.");if(!R_email3_val)return false}if(a.R_email4.value.length!=0){R_email4_val=checkform_email(a.R_email4,"Kindly enter the Email ID of your friend / associate.");if(!R_email4_val)return false}else return true}
function checkform_email(a,b){if(a.value.length==0){alert(b);a.focus();return false}if(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(a.value))return true;else{alert("Invalid Email ID. Kindly enter the correct ID.");a.focus();return false}}function openchild_commercial(a){if(CanAnimate){msgWindow=window.open("","subwindow");msgWindow.focus();msgWindow.location.href=a}else msgWindow=window.open(a,"subwindow")}
function openchild_weather(a){a="includes/weather-averagef70c.html?i="+a+"&t=c";if(CanAnimate){msgWindow=window.open("","subwindow","toolbar=no,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,resizable=yes,width=400,height=450");msgWindow.focus();msgWindow.location.href=a}else msgWindow=window.open(a,"subwindow","toolbar=no,location=no,directories=no,status=yes,scrollbars=no,menubar=no,resizable=yes,width=400,height=450")}
function code_for_bookmark(){if(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)>=4){var a=document.location;a=document.title;document.write('<A HREF="javascript:window.external.AddFavorite(url,title);" onMouseOver="window.status=\'Bookmark this page!\';return true;" onMouseOut="window.status=\'\';return true;"><IMG SRC=includes/gifs/bookmark-this-page.gif ALT="Bookmark this page" WIDTH=15 HEIGHT=15 BORDER=0 HSPACE=3 VSPACE=0><FONT class="navsmall"><B>Bookmark this page</B></FONT></a>')}else{a=
'<IMG SRC=includes/gifs/bookmark-this-page.gif ALT="Bookmark this page" WIDTH=15 HEIGHT=15 BORDER=0 HSPACE=3 VSPACE=0><FONT class="navsmall"><B>Bookmark ';if(navigator.appName=="Netscape"){a+="  (CTRL-D)</B></FONT>";document.write(a)}}};