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 (LeadingZeros33893 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33893(secs) { if (secs < 0) { document.getElementById("cntdwns33893").innerHTML = FinishMessages33893; return; } DisplayStrs33893 = DisplayFormats33893.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33893 = DisplayStrs33893.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33893 = DisplayStrs33893.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33893 = DisplayStrs33893.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33893").innerHTML = DisplayStrs33893; if (CountActives33893) //alert(SetTimeOutPeriods33893); setTimeout("CountBacks33893(" + (secs+CountSteppers33893) + ")", SetTimeOutPeriods33893); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33893)=="undefined") BackColors33893 = ""; if (typeof(ForeColors33893)=="undefined") ForeColors33893= "white"; if (typeof(TargetDates33893)=="undefined") TargetDates33893 = "05/13/2026 10:00:00 PM"; if (typeof(DisplayFormats33893)=="undefined") DisplayFormats33893 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33893)=="undefined") CountActives33893 = true; if (typeof(FinishMessages33893)=="undefined") FinishMessages33893 = ""; if (typeof(CountSteppers33893)!="number") CountSteppers33893 = -1; if (typeof(LeadingZeros33893)=="undefined") LeadingZeros33893 = true; CountSteppers33893 = Math.ceil(CountSteppers33893); if (CountSteppers33893 == 0) CountActives33893 = false; var SetTimeOutPeriods33893 = (Math.abs(CountSteppers33893)-1)*1000 + 990; puti(BackColors33893, ForeColors33893); var dthens33893 = new Date(TargetDates33893); var dnows33893 = new Date("05/11/2026 8:59:27 PM"); if(CountSteppers33893>0) ddiffs33893 = new Date(dnows33893-dthens33893); else ddiffs33893 = new Date(dthens33893-dnows33893); gsecss33893 = Math.floor(ddiffs33893.valueOf()/1000); CountBacks33893(gsecss33893);