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 (LeadingZeros33437 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33437(secs) { if (secs < 0) { document.getElementById("cntdwns33437").innerHTML = FinishMessages33437; return; } DisplayStrs33437 = DisplayFormats33437.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33437 = DisplayStrs33437.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33437 = DisplayStrs33437.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33437 = DisplayStrs33437.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33437").innerHTML = DisplayStrs33437; if (CountActives33437) //alert(SetTimeOutPeriods33437); setTimeout("CountBacks33437(" + (secs+CountSteppers33437) + ")", SetTimeOutPeriods33437); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33437)=="undefined") BackColors33437 = ""; if (typeof(ForeColors33437)=="undefined") ForeColors33437= "white"; if (typeof(TargetDates33437)=="undefined") TargetDates33437 = "01/27/2026 10:00:00 PM"; if (typeof(DisplayFormats33437)=="undefined") DisplayFormats33437 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33437)=="undefined") CountActives33437 = true; if (typeof(FinishMessages33437)=="undefined") FinishMessages33437 = ""; if (typeof(CountSteppers33437)!="number") CountSteppers33437 = -1; if (typeof(LeadingZeros33437)=="undefined") LeadingZeros33437 = true; CountSteppers33437 = Math.ceil(CountSteppers33437); if (CountSteppers33437 == 0) CountActives33437 = false; var SetTimeOutPeriods33437 = (Math.abs(CountSteppers33437)-1)*1000 + 990; puti(BackColors33437, ForeColors33437); var dthens33437 = new Date(TargetDates33437); var dnows33437 = new Date("01/25/2026 10:58:13 PM"); if(CountSteppers33437>0) ddiffs33437 = new Date(dnows33437-dthens33437); else ddiffs33437 = new Date(dthens33437-dnows33437); gsecss33437 = Math.floor(ddiffs33437.valueOf()/1000); CountBacks33437(gsecss33437);