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 (LeadingZeros33664 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33664(secs) { if (secs < 0) { document.getElementById("cntdwns33664").innerHTML = FinishMessages33664; return; } DisplayStrs33664 = DisplayFormats33664.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33664 = DisplayStrs33664.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33664 = DisplayStrs33664.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33664 = DisplayStrs33664.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33664").innerHTML = DisplayStrs33664; if (CountActives33664) //alert(SetTimeOutPeriods33664); setTimeout("CountBacks33664(" + (secs+CountSteppers33664) + ")", SetTimeOutPeriods33664); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33664)=="undefined") BackColors33664 = ""; if (typeof(ForeColors33664)=="undefined") ForeColors33664= "white"; if (typeof(TargetDates33664)=="undefined") TargetDates33664 = "04/13/2026 11:00:00 PM"; if (typeof(DisplayFormats33664)=="undefined") DisplayFormats33664 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33664)=="undefined") CountActives33664 = true; if (typeof(FinishMessages33664)=="undefined") FinishMessages33664 = ""; if (typeof(CountSteppers33664)!="number") CountSteppers33664 = -1; if (typeof(LeadingZeros33664)=="undefined") LeadingZeros33664 = true; CountSteppers33664 = Math.ceil(CountSteppers33664); if (CountSteppers33664 == 0) CountActives33664 = false; var SetTimeOutPeriods33664 = (Math.abs(CountSteppers33664)-1)*1000 + 990; puti(BackColors33664, ForeColors33664); var dthens33664 = new Date(TargetDates33664); var dnows33664 = new Date("04/10/2026 11:44:58 AM"); if(CountSteppers33664>0) ddiffs33664 = new Date(dnows33664-dthens33664); else ddiffs33664 = new Date(dthens33664-dnows33664); gsecss33664 = Math.floor(ddiffs33664.valueOf()/1000); CountBacks33664(gsecss33664);