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 (LeadingZeros33551 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33551(secs) { if (secs < 0) { document.getElementById("cntdwns33551").innerHTML = FinishMessages33551; return; } DisplayStrs33551 = DisplayFormats33551.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33551 = DisplayStrs33551.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33551 = DisplayStrs33551.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33551 = DisplayStrs33551.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33551").innerHTML = DisplayStrs33551; if (CountActives33551) //alert(SetTimeOutPeriods33551); setTimeout("CountBacks33551(" + (secs+CountSteppers33551) + ")", SetTimeOutPeriods33551); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33551)=="undefined") BackColors33551 = ""; if (typeof(ForeColors33551)=="undefined") ForeColors33551= "white"; if (typeof(TargetDates33551)=="undefined") TargetDates33551 = "04/02/2026 11:00:00 PM"; if (typeof(DisplayFormats33551)=="undefined") DisplayFormats33551 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33551)=="undefined") CountActives33551 = true; if (typeof(FinishMessages33551)=="undefined") FinishMessages33551 = ""; if (typeof(CountSteppers33551)!="number") CountSteppers33551 = -1; if (typeof(LeadingZeros33551)=="undefined") LeadingZeros33551 = true; CountSteppers33551 = Math.ceil(CountSteppers33551); if (CountSteppers33551 == 0) CountActives33551 = false; var SetTimeOutPeriods33551 = (Math.abs(CountSteppers33551)-1)*1000 + 990; puti(BackColors33551, ForeColors33551); var dthens33551 = new Date(TargetDates33551); var dnows33551 = new Date("03/30/2026 3:09:21 PM"); if(CountSteppers33551>0) ddiffs33551 = new Date(dnows33551-dthens33551); else ddiffs33551 = new Date(dthens33551-dnows33551); gsecss33551 = Math.floor(ddiffs33551.valueOf()/1000); CountBacks33551(gsecss33551);