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 (LeadingZeros33947 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33947(secs) { if (secs < 0) { document.getElementById("cntdwns33947").innerHTML = FinishMessages33947; return; } DisplayStrs33947 = DisplayFormats33947.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33947 = DisplayStrs33947.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33947 = DisplayStrs33947.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33947 = DisplayStrs33947.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33947").innerHTML = DisplayStrs33947; if (CountActives33947) //alert(SetTimeOutPeriods33947); setTimeout("CountBacks33947(" + (secs+CountSteppers33947) + ")", SetTimeOutPeriods33947); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33947)=="undefined") BackColors33947 = ""; if (typeof(ForeColors33947)=="undefined") ForeColors33947= "white"; if (typeof(TargetDates33947)=="undefined") TargetDates33947 = "05/16/2026 11:00:00 PM"; if (typeof(DisplayFormats33947)=="undefined") DisplayFormats33947 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33947)=="undefined") CountActives33947 = true; if (typeof(FinishMessages33947)=="undefined") FinishMessages33947 = ""; if (typeof(CountSteppers33947)!="number") CountSteppers33947 = -1; if (typeof(LeadingZeros33947)=="undefined") LeadingZeros33947 = true; CountSteppers33947 = Math.ceil(CountSteppers33947); if (CountSteppers33947 == 0) CountActives33947 = false; var SetTimeOutPeriods33947 = (Math.abs(CountSteppers33947)-1)*1000 + 990; puti(BackColors33947, ForeColors33947); var dthens33947 = new Date(TargetDates33947); var dnows33947 = new Date("05/14/2026 2:05:51 AM"); if(CountSteppers33947>0) ddiffs33947 = new Date(dnows33947-dthens33947); else ddiffs33947 = new Date(dthens33947-dnows33947); gsecss33947 = Math.floor(ddiffs33947.valueOf()/1000); CountBacks33947(gsecss33947);