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 (LeadingZeros33630 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33630(secs) { if (secs < 0) { document.getElementById("cntdwns33630").innerHTML = FinishMessages33630; return; } DisplayStrs33630 = DisplayFormats33630.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33630 = DisplayStrs33630.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33630 = DisplayStrs33630.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33630 = DisplayStrs33630.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33630").innerHTML = DisplayStrs33630; if (CountActives33630) //alert(SetTimeOutPeriods33630); setTimeout("CountBacks33630(" + (secs+CountSteppers33630) + ")", SetTimeOutPeriods33630); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33630)=="undefined") BackColors33630 = ""; if (typeof(ForeColors33630)=="undefined") ForeColors33630= "white"; if (typeof(TargetDates33630)=="undefined") TargetDates33630 = "03/31/2026 11:00:00 PM"; if (typeof(DisplayFormats33630)=="undefined") DisplayFormats33630 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33630)=="undefined") CountActives33630 = true; if (typeof(FinishMessages33630)=="undefined") FinishMessages33630 = ""; if (typeof(CountSteppers33630)!="number") CountSteppers33630 = -1; if (typeof(LeadingZeros33630)=="undefined") LeadingZeros33630 = true; CountSteppers33630 = Math.ceil(CountSteppers33630); if (CountSteppers33630 == 0) CountActives33630 = false; var SetTimeOutPeriods33630 = (Math.abs(CountSteppers33630)-1)*1000 + 990; puti(BackColors33630, ForeColors33630); var dthens33630 = new Date(TargetDates33630); var dnows33630 = new Date("03/28/2026 3:27:44 AM"); if(CountSteppers33630>0) ddiffs33630 = new Date(dnows33630-dthens33630); else ddiffs33630 = new Date(dthens33630-dnows33630); gsecss33630 = Math.floor(ddiffs33630.valueOf()/1000); CountBacks33630(gsecss33630);