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 (LeadingZeros33078 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33078(secs) { if (secs < 0) { document.getElementById("cntdwns33078").innerHTML = FinishMessages33078; return; } DisplayStrs33078 = DisplayFormats33078.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33078 = DisplayStrs33078.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33078 = DisplayStrs33078.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33078 = DisplayStrs33078.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33078").innerHTML = DisplayStrs33078; if (CountActives33078) //alert(SetTimeOutPeriods33078); setTimeout("CountBacks33078(" + (secs+CountSteppers33078) + ")", SetTimeOutPeriods33078); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33078)=="undefined") BackColors33078 = ""; if (typeof(ForeColors33078)=="undefined") ForeColors33078= "white"; if (typeof(TargetDates33078)=="undefined") TargetDates33078 = "11/19/2025 10:00:00 PM"; if (typeof(DisplayFormats33078)=="undefined") DisplayFormats33078 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33078)=="undefined") CountActives33078 = true; if (typeof(FinishMessages33078)=="undefined") FinishMessages33078 = ""; if (typeof(CountSteppers33078)!="number") CountSteppers33078 = -1; if (typeof(LeadingZeros33078)=="undefined") LeadingZeros33078 = true; CountSteppers33078 = Math.ceil(CountSteppers33078); if (CountSteppers33078 == 0) CountActives33078 = false; var SetTimeOutPeriods33078 = (Math.abs(CountSteppers33078)-1)*1000 + 990; puti(BackColors33078, ForeColors33078); var dthens33078 = new Date(TargetDates33078); var dnows33078 = new Date("11/17/2025 2:38:06 PM"); if(CountSteppers33078>0) ddiffs33078 = new Date(dnows33078-dthens33078); else ddiffs33078 = new Date(dthens33078-dnows33078); gsecss33078 = Math.floor(ddiffs33078.valueOf()/1000); CountBacks33078(gsecss33078);