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 (LeadingZeros33679 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33679(secs) { if (secs < 0) { document.getElementById("cntdwns33679").innerHTML = FinishMessages33679; return; } DisplayStrs33679 = DisplayFormats33679.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33679 = DisplayStrs33679.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33679 = DisplayStrs33679.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33679 = DisplayStrs33679.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33679").innerHTML = DisplayStrs33679; if (CountActives33679) //alert(SetTimeOutPeriods33679); setTimeout("CountBacks33679(" + (secs+CountSteppers33679) + ")", SetTimeOutPeriods33679); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33679)=="undefined") BackColors33679 = ""; if (typeof(ForeColors33679)=="undefined") ForeColors33679= "white"; if (typeof(TargetDates33679)=="undefined") TargetDates33679 = "03/14/2026 10:00:00 PM"; if (typeof(DisplayFormats33679)=="undefined") DisplayFormats33679 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33679)=="undefined") CountActives33679 = true; if (typeof(FinishMessages33679)=="undefined") FinishMessages33679 = ""; if (typeof(CountSteppers33679)!="number") CountSteppers33679 = -1; if (typeof(LeadingZeros33679)=="undefined") LeadingZeros33679 = true; CountSteppers33679 = Math.ceil(CountSteppers33679); if (CountSteppers33679 == 0) CountActives33679 = false; var SetTimeOutPeriods33679 = (Math.abs(CountSteppers33679)-1)*1000 + 990; puti(BackColors33679, ForeColors33679); var dthens33679 = new Date(TargetDates33679); var dnows33679 = new Date("03/11/2026 11:16:13 PM"); if(CountSteppers33679>0) ddiffs33679 = new Date(dnows33679-dthens33679); else ddiffs33679 = new Date(dthens33679-dnows33679); gsecss33679 = Math.floor(ddiffs33679.valueOf()/1000); CountBacks33679(gsecss33679);