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 (LeadingZeros33936 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33936(secs) { if (secs < 0) { document.getElementById("cntdwns33936").innerHTML = FinishMessages33936; return; } DisplayStrs33936 = DisplayFormats33936.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33936 = DisplayStrs33936.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33936 = DisplayStrs33936.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33936 = DisplayStrs33936.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33936").innerHTML = DisplayStrs33936; if (CountActives33936) //alert(SetTimeOutPeriods33936); setTimeout("CountBacks33936(" + (secs+CountSteppers33936) + ")", SetTimeOutPeriods33936); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33936)=="undefined") BackColors33936 = ""; if (typeof(ForeColors33936)=="undefined") ForeColors33936= "white"; if (typeof(TargetDates33936)=="undefined") TargetDates33936 = "05/27/2026 10:00:00 PM"; if (typeof(DisplayFormats33936)=="undefined") DisplayFormats33936 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33936)=="undefined") CountActives33936 = true; if (typeof(FinishMessages33936)=="undefined") FinishMessages33936 = ""; if (typeof(CountSteppers33936)!="number") CountSteppers33936 = -1; if (typeof(LeadingZeros33936)=="undefined") LeadingZeros33936 = true; CountSteppers33936 = Math.ceil(CountSteppers33936); if (CountSteppers33936 == 0) CountActives33936 = false; var SetTimeOutPeriods33936 = (Math.abs(CountSteppers33936)-1)*1000 + 990; puti(BackColors33936, ForeColors33936); var dthens33936 = new Date(TargetDates33936); var dnows33936 = new Date("05/24/2026 7:46:10 PM"); if(CountSteppers33936>0) ddiffs33936 = new Date(dnows33936-dthens33936); else ddiffs33936 = new Date(dthens33936-dnows33936); gsecss33936 = Math.floor(ddiffs33936.valueOf()/1000); CountBacks33936(gsecss33936);