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 (LeadingZeros33593 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33593(secs) { if (secs < 0) { document.getElementById("cntdwns33593").innerHTML = FinishMessages33593; return; } DisplayStrs33593 = DisplayFormats33593.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33593 = DisplayStrs33593.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33593 = DisplayStrs33593.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33593 = DisplayStrs33593.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33593").innerHTML = DisplayStrs33593; if (CountActives33593) //alert(SetTimeOutPeriods33593); setTimeout("CountBacks33593(" + (secs+CountSteppers33593) + ")", SetTimeOutPeriods33593); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33593)=="undefined") BackColors33593 = ""; if (typeof(ForeColors33593)=="undefined") ForeColors33593= "white"; if (typeof(TargetDates33593)=="undefined") TargetDates33593 = "03/08/2026 10:00:00 PM"; if (typeof(DisplayFormats33593)=="undefined") DisplayFormats33593 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33593)=="undefined") CountActives33593 = true; if (typeof(FinishMessages33593)=="undefined") FinishMessages33593 = ""; if (typeof(CountSteppers33593)!="number") CountSteppers33593 = -1; if (typeof(LeadingZeros33593)=="undefined") LeadingZeros33593 = true; CountSteppers33593 = Math.ceil(CountSteppers33593); if (CountSteppers33593 == 0) CountActives33593 = false; var SetTimeOutPeriods33593 = (Math.abs(CountSteppers33593)-1)*1000 + 990; puti(BackColors33593, ForeColors33593); var dthens33593 = new Date(TargetDates33593); var dnows33593 = new Date("03/06/2026 9:29:04 PM"); if(CountSteppers33593>0) ddiffs33593 = new Date(dnows33593-dthens33593); else ddiffs33593 = new Date(dthens33593-dnows33593); gsecss33593 = Math.floor(ddiffs33593.valueOf()/1000); CountBacks33593(gsecss33593);