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 (LeadingZeros33662 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33662(secs) { if (secs < 0) { document.getElementById("cntdwns33662").innerHTML = FinishMessages33662; return; } DisplayStrs33662 = DisplayFormats33662.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33662 = DisplayStrs33662.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33662 = DisplayStrs33662.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33662 = DisplayStrs33662.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33662").innerHTML = DisplayStrs33662; if (CountActives33662) //alert(SetTimeOutPeriods33662); setTimeout("CountBacks33662(" + (secs+CountSteppers33662) + ")", SetTimeOutPeriods33662); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33662)=="undefined") BackColors33662 = ""; if (typeof(ForeColors33662)=="undefined") ForeColors33662= "white"; if (typeof(TargetDates33662)=="undefined") TargetDates33662 = "04/03/2026 11:00:00 PM"; if (typeof(DisplayFormats33662)=="undefined") DisplayFormats33662 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33662)=="undefined") CountActives33662 = true; if (typeof(FinishMessages33662)=="undefined") FinishMessages33662 = ""; if (typeof(CountSteppers33662)!="number") CountSteppers33662 = -1; if (typeof(LeadingZeros33662)=="undefined") LeadingZeros33662 = true; CountSteppers33662 = Math.ceil(CountSteppers33662); if (CountSteppers33662 == 0) CountActives33662 = false; var SetTimeOutPeriods33662 = (Math.abs(CountSteppers33662)-1)*1000 + 990; puti(BackColors33662, ForeColors33662); var dthens33662 = new Date(TargetDates33662); var dnows33662 = new Date("04/01/2026 8:54:08 PM"); if(CountSteppers33662>0) ddiffs33662 = new Date(dnows33662-dthens33662); else ddiffs33662 = new Date(dthens33662-dnows33662); gsecss33662 = Math.floor(ddiffs33662.valueOf()/1000); CountBacks33662(gsecss33662);