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 (LeadingZeros33338 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33338(secs) { if (secs < 0) { document.getElementById("cntdwns33338").innerHTML = FinishMessages33338; return; } DisplayStrs33338 = DisplayFormats33338.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33338 = DisplayStrs33338.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33338 = DisplayStrs33338.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33338 = DisplayStrs33338.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33338").innerHTML = DisplayStrs33338; if (CountActives33338) //alert(SetTimeOutPeriods33338); setTimeout("CountBacks33338(" + (secs+CountSteppers33338) + ")", SetTimeOutPeriods33338); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33338)=="undefined") BackColors33338 = ""; if (typeof(ForeColors33338)=="undefined") ForeColors33338= "white"; if (typeof(TargetDates33338)=="undefined") TargetDates33338 = "01/25/2026 10:00:00 PM"; if (typeof(DisplayFormats33338)=="undefined") DisplayFormats33338 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33338)=="undefined") CountActives33338 = true; if (typeof(FinishMessages33338)=="undefined") FinishMessages33338 = ""; if (typeof(CountSteppers33338)!="number") CountSteppers33338 = -1; if (typeof(LeadingZeros33338)=="undefined") LeadingZeros33338 = true; CountSteppers33338 = Math.ceil(CountSteppers33338); if (CountSteppers33338 == 0) CountActives33338 = false; var SetTimeOutPeriods33338 = (Math.abs(CountSteppers33338)-1)*1000 + 990; puti(BackColors33338, ForeColors33338); var dthens33338 = new Date(TargetDates33338); var dnows33338 = new Date("01/23/2026 10:26:59 AM"); if(CountSteppers33338>0) ddiffs33338 = new Date(dnows33338-dthens33338); else ddiffs33338 = new Date(dthens33338-dnows33338); gsecss33338 = Math.floor(ddiffs33338.valueOf()/1000); CountBacks33338(gsecss33338);