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 (LeadingZeros33492 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33492(secs) { if (secs < 0) { document.getElementById("cntdwns33492").innerHTML = FinishMessages33492; return; } DisplayStrs33492 = DisplayFormats33492.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33492 = DisplayStrs33492.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33492 = DisplayStrs33492.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33492 = DisplayStrs33492.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33492").innerHTML = DisplayStrs33492; if (CountActives33492) //alert(SetTimeOutPeriods33492); setTimeout("CountBacks33492(" + (secs+CountSteppers33492) + ")", SetTimeOutPeriods33492); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33492)=="undefined") BackColors33492 = ""; if (typeof(ForeColors33492)=="undefined") ForeColors33492= "white"; if (typeof(TargetDates33492)=="undefined") TargetDates33492 = "02/01/2026 10:00:00 PM"; if (typeof(DisplayFormats33492)=="undefined") DisplayFormats33492 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33492)=="undefined") CountActives33492 = true; if (typeof(FinishMessages33492)=="undefined") FinishMessages33492 = ""; if (typeof(CountSteppers33492)!="number") CountSteppers33492 = -1; if (typeof(LeadingZeros33492)=="undefined") LeadingZeros33492 = true; CountSteppers33492 = Math.ceil(CountSteppers33492); if (CountSteppers33492 == 0) CountActives33492 = false; var SetTimeOutPeriods33492 = (Math.abs(CountSteppers33492)-1)*1000 + 990; puti(BackColors33492, ForeColors33492); var dthens33492 = new Date(TargetDates33492); var dnows33492 = new Date("01/30/2026 12:37:55 AM"); if(CountSteppers33492>0) ddiffs33492 = new Date(dnows33492-dthens33492); else ddiffs33492 = new Date(dthens33492-dnows33492); gsecss33492 = Math.floor(ddiffs33492.valueOf()/1000); CountBacks33492(gsecss33492);