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 (LeadingZeros33032 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33032(secs) { if (secs < 0) { document.getElementById("cntdwns33032").innerHTML = FinishMessages33032; return; } DisplayStrs33032 = DisplayFormats33032.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33032 = DisplayStrs33032.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33032 = DisplayStrs33032.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33032 = DisplayStrs33032.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33032").innerHTML = DisplayStrs33032; if (CountActives33032) //alert(SetTimeOutPeriods33032); setTimeout("CountBacks33032(" + (secs+CountSteppers33032) + ")", SetTimeOutPeriods33032); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33032)=="undefined") BackColors33032 = ""; if (typeof(ForeColors33032)=="undefined") ForeColors33032= "white"; if (typeof(TargetDates33032)=="undefined") TargetDates33032 = "01/22/2026 10:00:00 PM"; if (typeof(DisplayFormats33032)=="undefined") DisplayFormats33032 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33032)=="undefined") CountActives33032 = true; if (typeof(FinishMessages33032)=="undefined") FinishMessages33032 = ""; if (typeof(CountSteppers33032)!="number") CountSteppers33032 = -1; if (typeof(LeadingZeros33032)=="undefined") LeadingZeros33032 = true; CountSteppers33032 = Math.ceil(CountSteppers33032); if (CountSteppers33032 == 0) CountActives33032 = false; var SetTimeOutPeriods33032 = (Math.abs(CountSteppers33032)-1)*1000 + 990; puti(BackColors33032, ForeColors33032); var dthens33032 = new Date(TargetDates33032); var dnows33032 = new Date("01/20/2026 4:52:32 PM"); if(CountSteppers33032>0) ddiffs33032 = new Date(dnows33032-dthens33032); else ddiffs33032 = new Date(dthens33032-dnows33032); gsecss33032 = Math.floor(ddiffs33032.valueOf()/1000); CountBacks33032(gsecss33032);