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 (LeadingZeros33669 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33669(secs) { if (secs < 0) { document.getElementById("cntdwns33669").innerHTML = FinishMessages33669; return; } DisplayStrs33669 = DisplayFormats33669.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33669 = DisplayStrs33669.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33669 = DisplayStrs33669.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33669 = DisplayStrs33669.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33669").innerHTML = DisplayStrs33669; if (CountActives33669) //alert(SetTimeOutPeriods33669); setTimeout("CountBacks33669(" + (secs+CountSteppers33669) + ")", SetTimeOutPeriods33669); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33669)=="undefined") BackColors33669 = ""; if (typeof(ForeColors33669)=="undefined") ForeColors33669= "white"; if (typeof(TargetDates33669)=="undefined") TargetDates33669 = "03/26/2026 10:00:00 PM"; if (typeof(DisplayFormats33669)=="undefined") DisplayFormats33669 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33669)=="undefined") CountActives33669 = true; if (typeof(FinishMessages33669)=="undefined") FinishMessages33669 = ""; if (typeof(CountSteppers33669)!="number") CountSteppers33669 = -1; if (typeof(LeadingZeros33669)=="undefined") LeadingZeros33669 = true; CountSteppers33669 = Math.ceil(CountSteppers33669); if (CountSteppers33669 == 0) CountActives33669 = false; var SetTimeOutPeriods33669 = (Math.abs(CountSteppers33669)-1)*1000 + 990; puti(BackColors33669, ForeColors33669); var dthens33669 = new Date(TargetDates33669); var dnows33669 = new Date("03/24/2026 7:32:27 AM"); if(CountSteppers33669>0) ddiffs33669 = new Date(dnows33669-dthens33669); else ddiffs33669 = new Date(dthens33669-dnows33669); gsecss33669 = Math.floor(ddiffs33669.valueOf()/1000); CountBacks33669(gsecss33669);