function calcage(secs, num1, num2, addDay, seconds) { if (addDay == 1){ s = ((Math.floor(secs/num1))).toString(); } else{ s = ((Math.floor(secs/num1))%num2).toString(); } if (LeadingZeros33892 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33892(secs) { if (secs < 0) { document.getElementById("cntdwns33892").innerHTML = FinishMessages33892; return; } DisplayStrs33892 = DisplayFormats33892.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33892 = DisplayStrs33892.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33892 = DisplayStrs33892.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33892 = DisplayStrs33892.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33892").innerHTML = DisplayStrs33892; if (CountActives33892) //alert(SetTimeOutPeriods33892); setTimeout("CountBacks33892(" + (secs+CountSteppers33892) + ")", SetTimeOutPeriods33892); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33892)=="undefined") BackColors33892 = ""; if (typeof(ForeColors33892)=="undefined") ForeColors33892= "white"; if (typeof(TargetDates33892)=="undefined") TargetDates33892 = "05/13/2026 10:00:00 PM"; if (typeof(DisplayFormats33892)=="undefined") DisplayFormats33892 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33892)=="undefined") CountActives33892 = true; if (typeof(FinishMessages33892)=="undefined") FinishMessages33892 = ""; if (typeof(CountSteppers33892)!="number") CountSteppers33892 = -1; if (typeof(LeadingZeros33892)=="undefined") LeadingZeros33892 = true; CountSteppers33892 = Math.ceil(CountSteppers33892); if (CountSteppers33892 == 0) CountActives33892 = false; var SetTimeOutPeriods33892 = (Math.abs(CountSteppers33892)-1)*1000 + 990; puti(BackColors33892, ForeColors33892); var dthens33892 = new Date(TargetDates33892); var dnows33892 = new Date("05/11/2026 9:02:38 PM"); if(CountSteppers33892>0) ddiffs33892 = new Date(dnows33892-dthens33892); else ddiffs33892 = new Date(dthens33892-dnows33892); gsecss33892 = Math.floor(ddiffs33892.valueOf()/1000); CountBacks33892(gsecss33892);