var current=1; function openindwind(path,width,height) { window.open(path,'Cricket','height='+height+',width='+width+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0'); } function openindwindnm(path,name,width,height) { window.open(path,name,'height='+height+',width='+width+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0'); } function wallpaperpop(path,width,height) { window.open(path,'Cricket','height='+height+',width='+width+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0'); } function openphot(path) { window.open(path,'Cricket','height=685,width=834,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0'); } function openaudioslide(url) { so = window.open(url,'Indiatimes-audioslideshows','height=292,width=410,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0'); } function pollpopup() { var ch=0; for(i=0;i1) { ActHomeStry(Id); } } function FwActHomeStry(Id) {if(current<5) { ActHomeStry(Id); } } function ActHomeStry(Id) { if(Id==5) { document.getElementById('moveback').style.visibility='visible'; document.getElementById('movenext').style.visibility='hidden'; } else if(Id==1) { document.getElementById('movenext').style.visibility='visible'; document.getElementById('moveback').style.visibility='hidden'; } else { document.getElementById('moveback').style.visibility='visible'; document.getElementById('movenext').style.visibility='visible'; } for(i=1;i<=5;i++) {var StryId='HomeStry'+i var Container='ActHome'+i if(i==Id) { current=i; document.getElementById(Container).className="current"; document.getElementById(StryId).style.visibility='visible'; document.getElementById(StryId).style.display='block'; } else { document.getElementById(Container).className=""; document.getElementById(StryId).style.visibility='hidden'; document.getElementById(StryId).style.display='none'; } } } function Trim(TRIM_VALUE) { if(TRIM_VALUE.length < 1) { return""; } TRIM_VALUE = RTrim(TRIM_VALUE); TRIM_VALUE = LTrim(TRIM_VALUE); if(TRIM_VALUE=="") { return ""; } else { return TRIM_VALUE; } } function implementlocsearch() { var strsearch = "/search.cms"; document.frmsearch.query.value=Trim(document.frmsearch.query.value); document.frmsearch.action=strsearch; document.frmsearch.submit(); } function submitmyformp(f) { var ch=0; for(i=0;i