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 (LeadingZeros33496 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33496(secs) { if (secs < 0) { document.getElementById("cntdwns33496").innerHTML = FinishMessages33496; return; } DisplayStrs33496 = DisplayFormats33496.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33496 = DisplayStrs33496.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33496 = DisplayStrs33496.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33496 = DisplayStrs33496.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33496").innerHTML = DisplayStrs33496; if (CountActives33496) //alert(SetTimeOutPeriods33496); setTimeout("CountBacks33496(" + (secs+CountSteppers33496) + ")", SetTimeOutPeriods33496); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33496)=="undefined") BackColors33496 = ""; if (typeof(ForeColors33496)=="undefined") ForeColors33496= "white"; if (typeof(TargetDates33496)=="undefined") TargetDates33496 = "03/07/2026 10:00:00 PM"; if (typeof(DisplayFormats33496)=="undefined") DisplayFormats33496 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33496)=="undefined") CountActives33496 = true; if (typeof(FinishMessages33496)=="undefined") FinishMessages33496 = ""; if (typeof(CountSteppers33496)!="number") CountSteppers33496 = -1; if (typeof(LeadingZeros33496)=="undefined") LeadingZeros33496 = true; CountSteppers33496 = Math.ceil(CountSteppers33496); if (CountSteppers33496 == 0) CountActives33496 = false; var SetTimeOutPeriods33496 = (Math.abs(CountSteppers33496)-1)*1000 + 990; puti(BackColors33496, ForeColors33496); var dthens33496 = new Date(TargetDates33496); var dnows33496 = new Date("03/05/2026 2:42:16 AM"); if(CountSteppers33496>0) ddiffs33496 = new Date(dnows33496-dthens33496); else ddiffs33496 = new Date(dthens33496-dnows33496); gsecss33496 = Math.floor(ddiffs33496.valueOf()/1000); CountBacks33496(gsecss33496);