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 (LeadingZeros33257 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33257(secs) { if (secs < 0) { document.getElementById("cntdwns33257").innerHTML = FinishMessages33257; return; } DisplayStrs33257 = DisplayFormats33257.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33257 = DisplayStrs33257.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33257 = DisplayStrs33257.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33257 = DisplayStrs33257.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33257").innerHTML = DisplayStrs33257; if (CountActives33257) //alert(SetTimeOutPeriods33257); setTimeout("CountBacks33257(" + (secs+CountSteppers33257) + ")", SetTimeOutPeriods33257); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33257)=="undefined") BackColors33257 = ""; if (typeof(ForeColors33257)=="undefined") ForeColors33257= "white"; if (typeof(TargetDates33257)=="undefined") TargetDates33257 = "01/21/2026 10:00:00 PM"; if (typeof(DisplayFormats33257)=="undefined") DisplayFormats33257 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33257)=="undefined") CountActives33257 = true; if (typeof(FinishMessages33257)=="undefined") FinishMessages33257 = ""; if (typeof(CountSteppers33257)!="number") CountSteppers33257 = -1; if (typeof(LeadingZeros33257)=="undefined") LeadingZeros33257 = true; CountSteppers33257 = Math.ceil(CountSteppers33257); if (CountSteppers33257 == 0) CountActives33257 = false; var SetTimeOutPeriods33257 = (Math.abs(CountSteppers33257)-1)*1000 + 990; puti(BackColors33257, ForeColors33257); var dthens33257 = new Date(TargetDates33257); var dnows33257 = new Date("01/19/2026 6:36:17 AM"); if(CountSteppers33257>0) ddiffs33257 = new Date(dnows33257-dthens33257); else ddiffs33257 = new Date(dthens33257-dnows33257); gsecss33257 = Math.floor(ddiffs33257.valueOf()/1000); CountBacks33257(gsecss33257);