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 (LeadingZeros33764 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33764(secs) { if (secs < 0) { document.getElementById("cntdwns33764").innerHTML = FinishMessages33764; return; } DisplayStrs33764 = DisplayFormats33764.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33764 = DisplayStrs33764.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33764 = DisplayStrs33764.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33764 = DisplayStrs33764.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33764").innerHTML = DisplayStrs33764; if (CountActives33764) //alert(SetTimeOutPeriods33764); setTimeout("CountBacks33764(" + (secs+CountSteppers33764) + ")", SetTimeOutPeriods33764); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33764)=="undefined") BackColors33764 = ""; if (typeof(ForeColors33764)=="undefined") ForeColors33764= "white"; if (typeof(TargetDates33764)=="undefined") TargetDates33764 = "03/30/2026 10:00:00 PM"; if (typeof(DisplayFormats33764)=="undefined") DisplayFormats33764 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33764)=="undefined") CountActives33764 = true; if (typeof(FinishMessages33764)=="undefined") FinishMessages33764 = ""; if (typeof(CountSteppers33764)!="number") CountSteppers33764 = -1; if (typeof(LeadingZeros33764)=="undefined") LeadingZeros33764 = true; CountSteppers33764 = Math.ceil(CountSteppers33764); if (CountSteppers33764 == 0) CountActives33764 = false; var SetTimeOutPeriods33764 = (Math.abs(CountSteppers33764)-1)*1000 + 990; puti(BackColors33764, ForeColors33764); var dthens33764 = new Date(TargetDates33764); var dnows33764 = new Date("03/27/2026 2:46:35 PM"); if(CountSteppers33764>0) ddiffs33764 = new Date(dnows33764-dthens33764); else ddiffs33764 = new Date(dthens33764-dnows33764); gsecss33764 = Math.floor(ddiffs33764.valueOf()/1000); CountBacks33764(gsecss33764);