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 (LeadingZeros33598 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33598(secs) { if (secs < 0) { document.getElementById("cntdwns33598").innerHTML = FinishMessages33598; return; } DisplayStrs33598 = DisplayFormats33598.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33598 = DisplayStrs33598.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33598 = DisplayStrs33598.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33598 = DisplayStrs33598.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33598").innerHTML = DisplayStrs33598; if (CountActives33598) //alert(SetTimeOutPeriods33598); setTimeout("CountBacks33598(" + (secs+CountSteppers33598) + ")", SetTimeOutPeriods33598); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33598)=="undefined") BackColors33598 = ""; if (typeof(ForeColors33598)=="undefined") ForeColors33598= "white"; if (typeof(TargetDates33598)=="undefined") TargetDates33598 = "03/06/2026 10:00:00 PM"; if (typeof(DisplayFormats33598)=="undefined") DisplayFormats33598 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33598)=="undefined") CountActives33598 = true; if (typeof(FinishMessages33598)=="undefined") FinishMessages33598 = ""; if (typeof(CountSteppers33598)!="number") CountSteppers33598 = -1; if (typeof(LeadingZeros33598)=="undefined") LeadingZeros33598 = true; CountSteppers33598 = Math.ceil(CountSteppers33598); if (CountSteppers33598 == 0) CountActives33598 = false; var SetTimeOutPeriods33598 = (Math.abs(CountSteppers33598)-1)*1000 + 990; puti(BackColors33598, ForeColors33598); var dthens33598 = new Date(TargetDates33598); var dnows33598 = new Date("03/04/2026 3:06:21 AM"); if(CountSteppers33598>0) ddiffs33598 = new Date(dnows33598-dthens33598); else ddiffs33598 = new Date(dthens33598-dnows33598); gsecss33598 = Math.floor(ddiffs33598.valueOf()/1000); CountBacks33598(gsecss33598);