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 (LeadingZeros33608 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33608(secs) { if (secs < 0) { document.getElementById("cntdwns33608").innerHTML = FinishMessages33608; return; } DisplayStrs33608 = DisplayFormats33608.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33608 = DisplayStrs33608.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33608 = DisplayStrs33608.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33608 = DisplayStrs33608.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33608").innerHTML = DisplayStrs33608; if (CountActives33608) //alert(SetTimeOutPeriods33608); setTimeout("CountBacks33608(" + (secs+CountSteppers33608) + ")", SetTimeOutPeriods33608); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33608)=="undefined") BackColors33608 = ""; if (typeof(ForeColors33608)=="undefined") ForeColors33608= "white"; if (typeof(TargetDates33608)=="undefined") TargetDates33608 = "04/11/2026 11:00:00 PM"; if (typeof(DisplayFormats33608)=="undefined") DisplayFormats33608 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33608)=="undefined") CountActives33608 = true; if (typeof(FinishMessages33608)=="undefined") FinishMessages33608 = ""; if (typeof(CountSteppers33608)!="number") CountSteppers33608 = -1; if (typeof(LeadingZeros33608)=="undefined") LeadingZeros33608 = true; CountSteppers33608 = Math.ceil(CountSteppers33608); if (CountSteppers33608 == 0) CountActives33608 = false; var SetTimeOutPeriods33608 = (Math.abs(CountSteppers33608)-1)*1000 + 990; puti(BackColors33608, ForeColors33608); var dthens33608 = new Date(TargetDates33608); var dnows33608 = new Date("04/08/2026 8:42:23 PM"); if(CountSteppers33608>0) ddiffs33608 = new Date(dnows33608-dthens33608); else ddiffs33608 = new Date(dthens33608-dnows33608); gsecss33608 = Math.floor(ddiffs33608.valueOf()/1000); CountBacks33608(gsecss33608);