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 (LeadingZeros33252 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33252(secs) { if (secs < 0) { document.getElementById("cntdwns33252").innerHTML = FinishMessages33252; return; } DisplayStrs33252 = DisplayFormats33252.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33252 = DisplayStrs33252.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33252 = DisplayStrs33252.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33252 = DisplayStrs33252.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33252").innerHTML = DisplayStrs33252; if (CountActives33252) //alert(SetTimeOutPeriods33252); setTimeout("CountBacks33252(" + (secs+CountSteppers33252) + ")", SetTimeOutPeriods33252); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33252)=="undefined") BackColors33252 = ""; if (typeof(ForeColors33252)=="undefined") ForeColors33252= "white"; if (typeof(TargetDates33252)=="undefined") TargetDates33252 = "01/21/2026 10:00:00 PM"; if (typeof(DisplayFormats33252)=="undefined") DisplayFormats33252 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33252)=="undefined") CountActives33252 = true; if (typeof(FinishMessages33252)=="undefined") FinishMessages33252 = ""; if (typeof(CountSteppers33252)!="number") CountSteppers33252 = -1; if (typeof(LeadingZeros33252)=="undefined") LeadingZeros33252 = true; CountSteppers33252 = Math.ceil(CountSteppers33252); if (CountSteppers33252 == 0) CountActives33252 = false; var SetTimeOutPeriods33252 = (Math.abs(CountSteppers33252)-1)*1000 + 990; puti(BackColors33252, ForeColors33252); var dthens33252 = new Date(TargetDates33252); var dnows33252 = new Date("01/19/2026 9:05:16 AM"); if(CountSteppers33252>0) ddiffs33252 = new Date(dnows33252-dthens33252); else ddiffs33252 = new Date(dthens33252-dnows33252); gsecss33252 = Math.floor(ddiffs33252.valueOf()/1000); CountBacks33252(gsecss33252);