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 (LeadingZeros33752 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33752(secs) { if (secs < 0) { document.getElementById("cntdwns33752").innerHTML = FinishMessages33752; return; } DisplayStrs33752 = DisplayFormats33752.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33752 = DisplayStrs33752.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33752 = DisplayStrs33752.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33752 = DisplayStrs33752.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33752").innerHTML = DisplayStrs33752; if (CountActives33752) //alert(SetTimeOutPeriods33752); setTimeout("CountBacks33752(" + (secs+CountSteppers33752) + ")", SetTimeOutPeriods33752); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33752)=="undefined") BackColors33752 = ""; if (typeof(ForeColors33752)=="undefined") ForeColors33752= "white"; if (typeof(TargetDates33752)=="undefined") TargetDates33752 = "05/15/2026 11:00:00 PM"; if (typeof(DisplayFormats33752)=="undefined") DisplayFormats33752 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33752)=="undefined") CountActives33752 = true; if (typeof(FinishMessages33752)=="undefined") FinishMessages33752 = ""; if (typeof(CountSteppers33752)!="number") CountSteppers33752 = -1; if (typeof(LeadingZeros33752)=="undefined") LeadingZeros33752 = true; CountSteppers33752 = Math.ceil(CountSteppers33752); if (CountSteppers33752 == 0) CountActives33752 = false; var SetTimeOutPeriods33752 = (Math.abs(CountSteppers33752)-1)*1000 + 990; puti(BackColors33752, ForeColors33752); var dthens33752 = new Date(TargetDates33752); var dnows33752 = new Date("05/13/2026 9:21:34 PM"); if(CountSteppers33752>0) ddiffs33752 = new Date(dnows33752-dthens33752); else ddiffs33752 = new Date(dthens33752-dnows33752); gsecss33752 = Math.floor(ddiffs33752.valueOf()/1000); CountBacks33752(gsecss33752);