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 (LeadingZeros33912 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33912(secs) { if (secs < 0) { document.getElementById("cntdwns33912").innerHTML = FinishMessages33912; return; } DisplayStrs33912 = DisplayFormats33912.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33912 = DisplayStrs33912.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33912 = DisplayStrs33912.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33912 = DisplayStrs33912.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33912").innerHTML = DisplayStrs33912; if (CountActives33912) //alert(SetTimeOutPeriods33912); setTimeout("CountBacks33912(" + (secs+CountSteppers33912) + ")", SetTimeOutPeriods33912); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33912)=="undefined") BackColors33912 = ""; if (typeof(ForeColors33912)=="undefined") ForeColors33912= "white"; if (typeof(TargetDates33912)=="undefined") TargetDates33912 = "05/02/2026 10:00:00 PM"; if (typeof(DisplayFormats33912)=="undefined") DisplayFormats33912 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33912)=="undefined") CountActives33912 = true; if (typeof(FinishMessages33912)=="undefined") FinishMessages33912 = ""; if (typeof(CountSteppers33912)!="number") CountSteppers33912 = -1; if (typeof(LeadingZeros33912)=="undefined") LeadingZeros33912 = true; CountSteppers33912 = Math.ceil(CountSteppers33912); if (CountSteppers33912 == 0) CountActives33912 = false; var SetTimeOutPeriods33912 = (Math.abs(CountSteppers33912)-1)*1000 + 990; puti(BackColors33912, ForeColors33912); var dthens33912 = new Date(TargetDates33912); var dnows33912 = new Date("04/29/2026 7:41:29 PM"); if(CountSteppers33912>0) ddiffs33912 = new Date(dnows33912-dthens33912); else ddiffs33912 = new Date(dthens33912-dnows33912); gsecss33912 = Math.floor(ddiffs33912.valueOf()/1000); CountBacks33912(gsecss33912);