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 (LeadingZeros33298 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33298(secs) { if (secs < 0) { document.getElementById("cntdwns33298").innerHTML = FinishMessages33298; return; } DisplayStrs33298 = DisplayFormats33298.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33298 = DisplayStrs33298.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33298 = DisplayStrs33298.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33298 = DisplayStrs33298.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33298").innerHTML = DisplayStrs33298; if (CountActives33298) //alert(SetTimeOutPeriods33298); setTimeout("CountBacks33298(" + (secs+CountSteppers33298) + ")", SetTimeOutPeriods33298); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33298)=="undefined") BackColors33298 = ""; if (typeof(ForeColors33298)=="undefined") ForeColors33298= "white"; if (typeof(TargetDates33298)=="undefined") TargetDates33298 = "02/04/2026 10:00:00 PM"; if (typeof(DisplayFormats33298)=="undefined") DisplayFormats33298 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33298)=="undefined") CountActives33298 = true; if (typeof(FinishMessages33298)=="undefined") FinishMessages33298 = ""; if (typeof(CountSteppers33298)!="number") CountSteppers33298 = -1; if (typeof(LeadingZeros33298)=="undefined") LeadingZeros33298 = true; CountSteppers33298 = Math.ceil(CountSteppers33298); if (CountSteppers33298 == 0) CountActives33298 = false; var SetTimeOutPeriods33298 = (Math.abs(CountSteppers33298)-1)*1000 + 990; puti(BackColors33298, ForeColors33298); var dthens33298 = new Date(TargetDates33298); var dnows33298 = new Date("02/01/2026 9:34:40 AM"); if(CountSteppers33298>0) ddiffs33298 = new Date(dnows33298-dthens33298); else ddiffs33298 = new Date(dthens33298-dnows33298); gsecss33298 = Math.floor(ddiffs33298.valueOf()/1000); CountBacks33298(gsecss33298);