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 (LeadingZeros33665 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33665(secs) { if (secs < 0) { document.getElementById("cntdwns33665").innerHTML = FinishMessages33665; return; } DisplayStrs33665 = DisplayFormats33665.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33665 = DisplayStrs33665.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33665 = DisplayStrs33665.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33665 = DisplayStrs33665.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33665").innerHTML = DisplayStrs33665; if (CountActives33665) //alert(SetTimeOutPeriods33665); setTimeout("CountBacks33665(" + (secs+CountSteppers33665) + ")", SetTimeOutPeriods33665); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33665)=="undefined") BackColors33665 = ""; if (typeof(ForeColors33665)=="undefined") ForeColors33665= "white"; if (typeof(TargetDates33665)=="undefined") TargetDates33665 = "03/31/2026 11:00:00 PM"; if (typeof(DisplayFormats33665)=="undefined") DisplayFormats33665 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33665)=="undefined") CountActives33665 = true; if (typeof(FinishMessages33665)=="undefined") FinishMessages33665 = ""; if (typeof(CountSteppers33665)!="number") CountSteppers33665 = -1; if (typeof(LeadingZeros33665)=="undefined") LeadingZeros33665 = true; CountSteppers33665 = Math.ceil(CountSteppers33665); if (CountSteppers33665 == 0) CountActives33665 = false; var SetTimeOutPeriods33665 = (Math.abs(CountSteppers33665)-1)*1000 + 990; puti(BackColors33665, ForeColors33665); var dthens33665 = new Date(TargetDates33665); var dnows33665 = new Date("03/30/2026 12:20:52 AM"); if(CountSteppers33665>0) ddiffs33665 = new Date(dnows33665-dthens33665); else ddiffs33665 = new Date(dthens33665-dnows33665); gsecss33665 = Math.floor(ddiffs33665.valueOf()/1000); CountBacks33665(gsecss33665);