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 (LeadingZeros33236 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33236(secs) { if (secs < 0) { document.getElementById("cntdwns33236").innerHTML = FinishMessages33236; return; } DisplayStrs33236 = DisplayFormats33236.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33236 = DisplayStrs33236.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33236 = DisplayStrs33236.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33236 = DisplayStrs33236.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33236").innerHTML = DisplayStrs33236; if (CountActives33236) //alert(SetTimeOutPeriods33236); setTimeout("CountBacks33236(" + (secs+CountSteppers33236) + ")", SetTimeOutPeriods33236); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33236)=="undefined") BackColors33236 = ""; if (typeof(ForeColors33236)=="undefined") ForeColors33236= "white"; if (typeof(TargetDates33236)=="undefined") TargetDates33236 = "01/01/2026 10:00:00 PM"; if (typeof(DisplayFormats33236)=="undefined") DisplayFormats33236 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33236)=="undefined") CountActives33236 = true; if (typeof(FinishMessages33236)=="undefined") FinishMessages33236 = ""; if (typeof(CountSteppers33236)!="number") CountSteppers33236 = -1; if (typeof(LeadingZeros33236)=="undefined") LeadingZeros33236 = true; CountSteppers33236 = Math.ceil(CountSteppers33236); if (CountSteppers33236 == 0) CountActives33236 = false; var SetTimeOutPeriods33236 = (Math.abs(CountSteppers33236)-1)*1000 + 990; puti(BackColors33236, ForeColors33236); var dthens33236 = new Date(TargetDates33236); var dnows33236 = new Date("12/29/2025 1:20:26 PM"); if(CountSteppers33236>0) ddiffs33236 = new Date(dnows33236-dthens33236); else ddiffs33236 = new Date(dthens33236-dnows33236); gsecss33236 = Math.floor(ddiffs33236.valueOf()/1000); CountBacks33236(gsecss33236);