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 (LeadingZeros33730 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33730(secs) { if (secs < 0) { document.getElementById("cntdwns33730").innerHTML = FinishMessages33730; return; } DisplayStrs33730 = DisplayFormats33730.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33730 = DisplayStrs33730.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33730 = DisplayStrs33730.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33730 = DisplayStrs33730.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33730").innerHTML = DisplayStrs33730; if (CountActives33730) //alert(SetTimeOutPeriods33730); setTimeout("CountBacks33730(" + (secs+CountSteppers33730) + ")", SetTimeOutPeriods33730); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33730)=="undefined") BackColors33730 = ""; if (typeof(ForeColors33730)=="undefined") ForeColors33730= "white"; if (typeof(TargetDates33730)=="undefined") TargetDates33730 = "04/24/2026 11:00:00 PM"; if (typeof(DisplayFormats33730)=="undefined") DisplayFormats33730 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33730)=="undefined") CountActives33730 = true; if (typeof(FinishMessages33730)=="undefined") FinishMessages33730 = ""; if (typeof(CountSteppers33730)!="number") CountSteppers33730 = -1; if (typeof(LeadingZeros33730)=="undefined") LeadingZeros33730 = true; CountSteppers33730 = Math.ceil(CountSteppers33730); if (CountSteppers33730 == 0) CountActives33730 = false; var SetTimeOutPeriods33730 = (Math.abs(CountSteppers33730)-1)*1000 + 990; puti(BackColors33730, ForeColors33730); var dthens33730 = new Date(TargetDates33730); var dnows33730 = new Date("04/21/2026 12:26:33 PM"); if(CountSteppers33730>0) ddiffs33730 = new Date(dnows33730-dthens33730); else ddiffs33730 = new Date(dthens33730-dnows33730); gsecss33730 = Math.floor(ddiffs33730.valueOf()/1000); CountBacks33730(gsecss33730);