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 (LeadingZeros33763 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33763(secs) { if (secs < 0) { document.getElementById("cntdwns33763").innerHTML = FinishMessages33763; return; } DisplayStrs33763 = DisplayFormats33763.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33763 = DisplayStrs33763.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33763 = DisplayStrs33763.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33763 = DisplayStrs33763.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33763").innerHTML = DisplayStrs33763; if (CountActives33763) //alert(SetTimeOutPeriods33763); setTimeout("CountBacks33763(" + (secs+CountSteppers33763) + ")", SetTimeOutPeriods33763); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33763)=="undefined") BackColors33763 = ""; if (typeof(ForeColors33763)=="undefined") ForeColors33763= "white"; if (typeof(TargetDates33763)=="undefined") TargetDates33763 = "04/15/2026 11:00:00 PM"; if (typeof(DisplayFormats33763)=="undefined") DisplayFormats33763 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33763)=="undefined") CountActives33763 = true; if (typeof(FinishMessages33763)=="undefined") FinishMessages33763 = ""; if (typeof(CountSteppers33763)!="number") CountSteppers33763 = -1; if (typeof(LeadingZeros33763)=="undefined") LeadingZeros33763 = true; CountSteppers33763 = Math.ceil(CountSteppers33763); if (CountSteppers33763 == 0) CountActives33763 = false; var SetTimeOutPeriods33763 = (Math.abs(CountSteppers33763)-1)*1000 + 990; puti(BackColors33763, ForeColors33763); var dthens33763 = new Date(TargetDates33763); var dnows33763 = new Date("04/12/2026 4:43:42 AM"); if(CountSteppers33763>0) ddiffs33763 = new Date(dnows33763-dthens33763); else ddiffs33763 = new Date(dthens33763-dnows33763); gsecss33763 = Math.floor(ddiffs33763.valueOf()/1000); CountBacks33763(gsecss33763);