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 (LeadingZeros33393 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33393(secs) { if (secs < 0) { document.getElementById("cntdwns33393").innerHTML = FinishMessages33393; return; } DisplayStrs33393 = DisplayFormats33393.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33393 = DisplayStrs33393.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33393 = DisplayStrs33393.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33393 = DisplayStrs33393.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33393").innerHTML = DisplayStrs33393; if (CountActives33393) //alert(SetTimeOutPeriods33393); setTimeout("CountBacks33393(" + (secs+CountSteppers33393) + ")", SetTimeOutPeriods33393); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33393)=="undefined") BackColors33393 = ""; if (typeof(ForeColors33393)=="undefined") ForeColors33393= "white"; if (typeof(TargetDates33393)=="undefined") TargetDates33393 = "01/17/2026 10:00:00 PM"; if (typeof(DisplayFormats33393)=="undefined") DisplayFormats33393 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33393)=="undefined") CountActives33393 = true; if (typeof(FinishMessages33393)=="undefined") FinishMessages33393 = ""; if (typeof(CountSteppers33393)!="number") CountSteppers33393 = -1; if (typeof(LeadingZeros33393)=="undefined") LeadingZeros33393 = true; CountSteppers33393 = Math.ceil(CountSteppers33393); if (CountSteppers33393 == 0) CountActives33393 = false; var SetTimeOutPeriods33393 = (Math.abs(CountSteppers33393)-1)*1000 + 990; puti(BackColors33393, ForeColors33393); var dthens33393 = new Date(TargetDates33393); var dnows33393 = new Date("01/14/2026 11:01:19 PM"); if(CountSteppers33393>0) ddiffs33393 = new Date(dnows33393-dthens33393); else ddiffs33393 = new Date(dthens33393-dnows33393); gsecss33393 = Math.floor(ddiffs33393.valueOf()/1000); CountBacks33393(gsecss33393);