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 (LeadingZeros33757 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33757(secs) { if (secs < 0) { document.getElementById("cntdwns33757").innerHTML = FinishMessages33757; return; } DisplayStrs33757 = DisplayFormats33757.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33757 = DisplayStrs33757.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33757 = DisplayStrs33757.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33757 = DisplayStrs33757.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33757").innerHTML = DisplayStrs33757; if (CountActives33757) //alert(SetTimeOutPeriods33757); setTimeout("CountBacks33757(" + (secs+CountSteppers33757) + ")", SetTimeOutPeriods33757); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33757)=="undefined") BackColors33757 = ""; if (typeof(ForeColors33757)=="undefined") ForeColors33757= "white"; if (typeof(TargetDates33757)=="undefined") TargetDates33757 = "05/15/2026 11:00:00 PM"; if (typeof(DisplayFormats33757)=="undefined") DisplayFormats33757 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33757)=="undefined") CountActives33757 = true; if (typeof(FinishMessages33757)=="undefined") FinishMessages33757 = ""; if (typeof(CountSteppers33757)!="number") CountSteppers33757 = -1; if (typeof(LeadingZeros33757)=="undefined") LeadingZeros33757 = true; CountSteppers33757 = Math.ceil(CountSteppers33757); if (CountSteppers33757 == 0) CountActives33757 = false; var SetTimeOutPeriods33757 = (Math.abs(CountSteppers33757)-1)*1000 + 990; puti(BackColors33757, ForeColors33757); var dthens33757 = new Date(TargetDates33757); var dnows33757 = new Date("05/13/2026 9:22:52 PM"); if(CountSteppers33757>0) ddiffs33757 = new Date(dnows33757-dthens33757); else ddiffs33757 = new Date(dthens33757-dnows33757); gsecss33757 = Math.floor(ddiffs33757.valueOf()/1000); CountBacks33757(gsecss33757);