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 (LeadingZeros33273 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33273(secs) { if (secs < 0) { document.getElementById("cntdwns33273").innerHTML = FinishMessages33273; return; } DisplayStrs33273 = DisplayFormats33273.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33273 = DisplayStrs33273.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33273 = DisplayStrs33273.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33273 = DisplayStrs33273.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33273").innerHTML = DisplayStrs33273; if (CountActives33273) //alert(SetTimeOutPeriods33273); setTimeout("CountBacks33273(" + (secs+CountSteppers33273) + ")", SetTimeOutPeriods33273); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33273)=="undefined") BackColors33273 = ""; if (typeof(ForeColors33273)=="undefined") ForeColors33273= "white"; if (typeof(TargetDates33273)=="undefined") TargetDates33273 = "01/22/2026 10:00:00 PM"; if (typeof(DisplayFormats33273)=="undefined") DisplayFormats33273 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33273)=="undefined") CountActives33273 = true; if (typeof(FinishMessages33273)=="undefined") FinishMessages33273 = ""; if (typeof(CountSteppers33273)!="number") CountSteppers33273 = -1; if (typeof(LeadingZeros33273)=="undefined") LeadingZeros33273 = true; CountSteppers33273 = Math.ceil(CountSteppers33273); if (CountSteppers33273 == 0) CountActives33273 = false; var SetTimeOutPeriods33273 = (Math.abs(CountSteppers33273)-1)*1000 + 990; puti(BackColors33273, ForeColors33273); var dthens33273 = new Date(TargetDates33273); var dnows33273 = new Date("01/19/2026 1:23:02 PM"); if(CountSteppers33273>0) ddiffs33273 = new Date(dnows33273-dthens33273); else ddiffs33273 = new Date(dthens33273-dnows33273); gsecss33273 = Math.floor(ddiffs33273.valueOf()/1000); CountBacks33273(gsecss33273);