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 (LeadingZeros33774 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33774(secs) { if (secs < 0) { document.getElementById("cntdwns33774").innerHTML = FinishMessages33774; return; } DisplayStrs33774 = DisplayFormats33774.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33774 = DisplayStrs33774.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33774 = DisplayStrs33774.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33774 = DisplayStrs33774.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33774").innerHTML = DisplayStrs33774; if (CountActives33774) //alert(SetTimeOutPeriods33774); setTimeout("CountBacks33774(" + (secs+CountSteppers33774) + ")", SetTimeOutPeriods33774); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33774)=="undefined") BackColors33774 = ""; if (typeof(ForeColors33774)=="undefined") ForeColors33774= "white"; if (typeof(TargetDates33774)=="undefined") TargetDates33774 = "03/29/2026 10:00:00 PM"; if (typeof(DisplayFormats33774)=="undefined") DisplayFormats33774 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33774)=="undefined") CountActives33774 = true; if (typeof(FinishMessages33774)=="undefined") FinishMessages33774 = ""; if (typeof(CountSteppers33774)!="number") CountSteppers33774 = -1; if (typeof(LeadingZeros33774)=="undefined") LeadingZeros33774 = true; CountSteppers33774 = Math.ceil(CountSteppers33774); if (CountSteppers33774 == 0) CountActives33774 = false; var SetTimeOutPeriods33774 = (Math.abs(CountSteppers33774)-1)*1000 + 990; puti(BackColors33774, ForeColors33774); var dthens33774 = new Date(TargetDates33774); var dnows33774 = new Date("03/27/2026 5:36:46 AM"); if(CountSteppers33774>0) ddiffs33774 = new Date(dnows33774-dthens33774); else ddiffs33774 = new Date(dthens33774-dnows33774); gsecss33774 = Math.floor(ddiffs33774.valueOf()/1000); CountBacks33774(gsecss33774);