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 (LeadingZeros33750 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33750(secs) { if (secs < 0) { document.getElementById("cntdwns33750").innerHTML = FinishMessages33750; return; } DisplayStrs33750 = DisplayFormats33750.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33750 = DisplayStrs33750.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33750 = DisplayStrs33750.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33750 = DisplayStrs33750.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33750").innerHTML = DisplayStrs33750; if (CountActives33750) //alert(SetTimeOutPeriods33750); setTimeout("CountBacks33750(" + (secs+CountSteppers33750) + ")", SetTimeOutPeriods33750); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33750)=="undefined") BackColors33750 = ""; if (typeof(ForeColors33750)=="undefined") ForeColors33750= "white"; if (typeof(TargetDates33750)=="undefined") TargetDates33750 = "04/11/2026 11:00:00 PM"; if (typeof(DisplayFormats33750)=="undefined") DisplayFormats33750 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33750)=="undefined") CountActives33750 = true; if (typeof(FinishMessages33750)=="undefined") FinishMessages33750 = ""; if (typeof(CountSteppers33750)!="number") CountSteppers33750 = -1; if (typeof(LeadingZeros33750)=="undefined") LeadingZeros33750 = true; CountSteppers33750 = Math.ceil(CountSteppers33750); if (CountSteppers33750 == 0) CountActives33750 = false; var SetTimeOutPeriods33750 = (Math.abs(CountSteppers33750)-1)*1000 + 990; puti(BackColors33750, ForeColors33750); var dthens33750 = new Date(TargetDates33750); var dnows33750 = new Date("04/09/2026 10:32:23 PM"); if(CountSteppers33750>0) ddiffs33750 = new Date(dnows33750-dthens33750); else ddiffs33750 = new Date(dthens33750-dnows33750); gsecss33750 = Math.floor(ddiffs33750.valueOf()/1000); CountBacks33750(gsecss33750);