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 (LeadingZeros33735 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33735(secs) { if (secs < 0) { document.getElementById("cntdwns33735").innerHTML = FinishMessages33735; return; } DisplayStrs33735 = DisplayFormats33735.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33735 = DisplayStrs33735.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33735 = DisplayStrs33735.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33735 = DisplayStrs33735.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33735").innerHTML = DisplayStrs33735; if (CountActives33735) //alert(SetTimeOutPeriods33735); setTimeout("CountBacks33735(" + (secs+CountSteppers33735) + ")", SetTimeOutPeriods33735); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33735)=="undefined") BackColors33735 = ""; if (typeof(ForeColors33735)=="undefined") ForeColors33735= "white"; if (typeof(TargetDates33735)=="undefined") TargetDates33735 = "03/31/2026 11:00:00 PM"; if (typeof(DisplayFormats33735)=="undefined") DisplayFormats33735 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33735)=="undefined") CountActives33735 = true; if (typeof(FinishMessages33735)=="undefined") FinishMessages33735 = ""; if (typeof(CountSteppers33735)!="number") CountSteppers33735 = -1; if (typeof(LeadingZeros33735)=="undefined") LeadingZeros33735 = true; CountSteppers33735 = Math.ceil(CountSteppers33735); if (CountSteppers33735 == 0) CountActives33735 = false; var SetTimeOutPeriods33735 = (Math.abs(CountSteppers33735)-1)*1000 + 990; puti(BackColors33735, ForeColors33735); var dthens33735 = new Date(TargetDates33735); var dnows33735 = new Date("03/29/2026 8:20:28 PM"); if(CountSteppers33735>0) ddiffs33735 = new Date(dnows33735-dthens33735); else ddiffs33735 = new Date(dthens33735-dnows33735); gsecss33735 = Math.floor(ddiffs33735.valueOf()/1000); CountBacks33735(gsecss33735);