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 (LeadingZeros33759 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33759(secs) { if (secs < 0) { document.getElementById("cntdwns33759").innerHTML = FinishMessages33759; return; } DisplayStrs33759 = DisplayFormats33759.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33759 = DisplayStrs33759.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33759 = DisplayStrs33759.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33759 = DisplayStrs33759.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33759").innerHTML = DisplayStrs33759; if (CountActives33759) //alert(SetTimeOutPeriods33759); setTimeout("CountBacks33759(" + (secs+CountSteppers33759) + ")", SetTimeOutPeriods33759); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33759)=="undefined") BackColors33759 = ""; if (typeof(ForeColors33759)=="undefined") ForeColors33759= "white"; if (typeof(TargetDates33759)=="undefined") TargetDates33759 = "05/15/2026 11:00:00 PM"; if (typeof(DisplayFormats33759)=="undefined") DisplayFormats33759 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33759)=="undefined") CountActives33759 = true; if (typeof(FinishMessages33759)=="undefined") FinishMessages33759 = ""; if (typeof(CountSteppers33759)!="number") CountSteppers33759 = -1; if (typeof(LeadingZeros33759)=="undefined") LeadingZeros33759 = true; CountSteppers33759 = Math.ceil(CountSteppers33759); if (CountSteppers33759 == 0) CountActives33759 = false; var SetTimeOutPeriods33759 = (Math.abs(CountSteppers33759)-1)*1000 + 990; puti(BackColors33759, ForeColors33759); var dthens33759 = new Date(TargetDates33759); var dnows33759 = new Date("05/13/2026 9:22:52 PM"); if(CountSteppers33759>0) ddiffs33759 = new Date(dnows33759-dthens33759); else ddiffs33759 = new Date(dthens33759-dnows33759); gsecss33759 = Math.floor(ddiffs33759.valueOf()/1000); CountBacks33759(gsecss33759);