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 (LeadingZeros33347 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33347(secs) { if (secs < 0) { document.getElementById("cntdwns33347").innerHTML = FinishMessages33347; return; } DisplayStrs33347 = DisplayFormats33347.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33347 = DisplayStrs33347.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33347 = DisplayStrs33347.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33347 = DisplayStrs33347.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33347").innerHTML = DisplayStrs33347; if (CountActives33347) //alert(SetTimeOutPeriods33347); setTimeout("CountBacks33347(" + (secs+CountSteppers33347) + ")", SetTimeOutPeriods33347); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33347)=="undefined") BackColors33347 = ""; if (typeof(ForeColors33347)=="undefined") ForeColors33347= "white"; if (typeof(TargetDates33347)=="undefined") TargetDates33347 = "01/23/2026 10:00:00 PM"; if (typeof(DisplayFormats33347)=="undefined") DisplayFormats33347 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33347)=="undefined") CountActives33347 = true; if (typeof(FinishMessages33347)=="undefined") FinishMessages33347 = ""; if (typeof(CountSteppers33347)!="number") CountSteppers33347 = -1; if (typeof(LeadingZeros33347)=="undefined") LeadingZeros33347 = true; CountSteppers33347 = Math.ceil(CountSteppers33347); if (CountSteppers33347 == 0) CountActives33347 = false; var SetTimeOutPeriods33347 = (Math.abs(CountSteppers33347)-1)*1000 + 990; puti(BackColors33347, ForeColors33347); var dthens33347 = new Date(TargetDates33347); var dnows33347 = new Date("01/20/2026 6:33:13 PM"); if(CountSteppers33347>0) ddiffs33347 = new Date(dnows33347-dthens33347); else ddiffs33347 = new Date(dthens33347-dnows33347); gsecss33347 = Math.floor(ddiffs33347.valueOf()/1000); CountBacks33347(gsecss33347);