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 (LeadingZeros33758 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33758(secs) { if (secs < 0) { document.getElementById("cntdwns33758").innerHTML = FinishMessages33758; return; } DisplayStrs33758 = DisplayFormats33758.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33758 = DisplayStrs33758.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33758 = DisplayStrs33758.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33758 = DisplayStrs33758.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33758").innerHTML = DisplayStrs33758; if (CountActives33758) //alert(SetTimeOutPeriods33758); setTimeout("CountBacks33758(" + (secs+CountSteppers33758) + ")", SetTimeOutPeriods33758); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33758)=="undefined") BackColors33758 = ""; if (typeof(ForeColors33758)=="undefined") ForeColors33758= "white"; if (typeof(TargetDates33758)=="undefined") TargetDates33758 = "05/15/2026 11:00:00 PM"; if (typeof(DisplayFormats33758)=="undefined") DisplayFormats33758 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33758)=="undefined") CountActives33758 = true; if (typeof(FinishMessages33758)=="undefined") FinishMessages33758 = ""; if (typeof(CountSteppers33758)!="number") CountSteppers33758 = -1; if (typeof(LeadingZeros33758)=="undefined") LeadingZeros33758 = true; CountSteppers33758 = Math.ceil(CountSteppers33758); if (CountSteppers33758 == 0) CountActives33758 = false; var SetTimeOutPeriods33758 = (Math.abs(CountSteppers33758)-1)*1000 + 990; puti(BackColors33758, ForeColors33758); var dthens33758 = new Date(TargetDates33758); var dnows33758 = new Date("05/13/2026 9:21:34 PM"); if(CountSteppers33758>0) ddiffs33758 = new Date(dnows33758-dthens33758); else ddiffs33758 = new Date(dthens33758-dnows33758); gsecss33758 = Math.floor(ddiffs33758.valueOf()/1000); CountBacks33758(gsecss33758);