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 (LeadingZeros33368 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33368(secs) { if (secs < 0) { document.getElementById("cntdwns33368").innerHTML = FinishMessages33368; return; } DisplayStrs33368 = DisplayFormats33368.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33368 = DisplayStrs33368.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33368 = DisplayStrs33368.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33368 = DisplayStrs33368.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33368").innerHTML = DisplayStrs33368; if (CountActives33368) //alert(SetTimeOutPeriods33368); setTimeout("CountBacks33368(" + (secs+CountSteppers33368) + ")", SetTimeOutPeriods33368); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33368)=="undefined") BackColors33368 = ""; if (typeof(ForeColors33368)=="undefined") ForeColors33368= "white"; if (typeof(TargetDates33368)=="undefined") TargetDates33368 = "01/25/2026 10:00:00 PM"; if (typeof(DisplayFormats33368)=="undefined") DisplayFormats33368 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33368)=="undefined") CountActives33368 = true; if (typeof(FinishMessages33368)=="undefined") FinishMessages33368 = ""; if (typeof(CountSteppers33368)!="number") CountSteppers33368 = -1; if (typeof(LeadingZeros33368)=="undefined") LeadingZeros33368 = true; CountSteppers33368 = Math.ceil(CountSteppers33368); if (CountSteppers33368 == 0) CountActives33368 = false; var SetTimeOutPeriods33368 = (Math.abs(CountSteppers33368)-1)*1000 + 990; puti(BackColors33368, ForeColors33368); var dthens33368 = new Date(TargetDates33368); var dnows33368 = new Date("01/23/2026 3:24:56 AM"); if(CountSteppers33368>0) ddiffs33368 = new Date(dnows33368-dthens33368); else ddiffs33368 = new Date(dthens33368-dnows33368); gsecss33368 = Math.floor(ddiffs33368.valueOf()/1000); CountBacks33368(gsecss33368);