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 (LeadingZeros33906 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33906(secs) { if (secs < 0) { document.getElementById("cntdwns33906").innerHTML = FinishMessages33906; return; } DisplayStrs33906 = DisplayFormats33906.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33906 = DisplayStrs33906.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33906 = DisplayStrs33906.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33906 = DisplayStrs33906.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33906").innerHTML = DisplayStrs33906; if (CountActives33906) //alert(SetTimeOutPeriods33906); setTimeout("CountBacks33906(" + (secs+CountSteppers33906) + ")", SetTimeOutPeriods33906); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33906)=="undefined") BackColors33906 = ""; if (typeof(ForeColors33906)=="undefined") ForeColors33906= "white"; if (typeof(TargetDates33906)=="undefined") TargetDates33906 = "05/28/2026 10:00:00 PM"; if (typeof(DisplayFormats33906)=="undefined") DisplayFormats33906 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33906)=="undefined") CountActives33906 = true; if (typeof(FinishMessages33906)=="undefined") FinishMessages33906 = ""; if (typeof(CountSteppers33906)!="number") CountSteppers33906 = -1; if (typeof(LeadingZeros33906)=="undefined") LeadingZeros33906 = true; CountSteppers33906 = Math.ceil(CountSteppers33906); if (CountSteppers33906 == 0) CountActives33906 = false; var SetTimeOutPeriods33906 = (Math.abs(CountSteppers33906)-1)*1000 + 990; puti(BackColors33906, ForeColors33906); var dthens33906 = new Date(TargetDates33906); var dnows33906 = new Date("05/25/2026 11:25:41 AM"); if(CountSteppers33906>0) ddiffs33906 = new Date(dnows33906-dthens33906); else ddiffs33906 = new Date(dthens33906-dnows33906); gsecss33906 = Math.floor(ddiffs33906.valueOf()/1000); CountBacks33906(gsecss33906);