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 (LeadingZeros33494 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33494(secs) { if (secs < 0) { document.getElementById("cntdwns33494").innerHTML = FinishMessages33494; return; } DisplayStrs33494 = DisplayFormats33494.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33494 = DisplayStrs33494.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33494 = DisplayStrs33494.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33494 = DisplayStrs33494.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33494").innerHTML = DisplayStrs33494; if (CountActives33494) //alert(SetTimeOutPeriods33494); setTimeout("CountBacks33494(" + (secs+CountSteppers33494) + ")", SetTimeOutPeriods33494); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33494)=="undefined") BackColors33494 = ""; if (typeof(ForeColors33494)=="undefined") ForeColors33494= "white"; if (typeof(TargetDates33494)=="undefined") TargetDates33494 = "02/01/2026 10:00:00 PM"; if (typeof(DisplayFormats33494)=="undefined") DisplayFormats33494 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33494)=="undefined") CountActives33494 = true; if (typeof(FinishMessages33494)=="undefined") FinishMessages33494 = ""; if (typeof(CountSteppers33494)!="number") CountSteppers33494 = -1; if (typeof(LeadingZeros33494)=="undefined") LeadingZeros33494 = true; CountSteppers33494 = Math.ceil(CountSteppers33494); if (CountSteppers33494 == 0) CountActives33494 = false; var SetTimeOutPeriods33494 = (Math.abs(CountSteppers33494)-1)*1000 + 990; puti(BackColors33494, ForeColors33494); var dthens33494 = new Date(TargetDates33494); var dnows33494 = new Date("01/30/2026 12:17:53 AM"); if(CountSteppers33494>0) ddiffs33494 = new Date(dnows33494-dthens33494); else ddiffs33494 = new Date(dthens33494-dnows33494); gsecss33494 = Math.floor(ddiffs33494.valueOf()/1000); CountBacks33494(gsecss33494);