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 (LeadingZeros33605 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33605(secs) { if (secs < 0) { document.getElementById("cntdwns33605").innerHTML = FinishMessages33605; return; } DisplayStrs33605 = DisplayFormats33605.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33605 = DisplayStrs33605.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33605 = DisplayStrs33605.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33605 = DisplayStrs33605.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33605").innerHTML = DisplayStrs33605; if (CountActives33605) //alert(SetTimeOutPeriods33605); setTimeout("CountBacks33605(" + (secs+CountSteppers33605) + ")", SetTimeOutPeriods33605); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33605)=="undefined") BackColors33605 = ""; if (typeof(ForeColors33605)=="undefined") ForeColors33605= "white"; if (typeof(TargetDates33605)=="undefined") TargetDates33605 = "02/27/2026 10:00:00 PM"; if (typeof(DisplayFormats33605)=="undefined") DisplayFormats33605 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33605)=="undefined") CountActives33605 = true; if (typeof(FinishMessages33605)=="undefined") FinishMessages33605 = ""; if (typeof(CountSteppers33605)!="number") CountSteppers33605 = -1; if (typeof(LeadingZeros33605)=="undefined") LeadingZeros33605 = true; CountSteppers33605 = Math.ceil(CountSteppers33605); if (CountSteppers33605 == 0) CountActives33605 = false; var SetTimeOutPeriods33605 = (Math.abs(CountSteppers33605)-1)*1000 + 990; puti(BackColors33605, ForeColors33605); var dthens33605 = new Date(TargetDates33605); var dnows33605 = new Date("02/24/2026 10:33:20 PM"); if(CountSteppers33605>0) ddiffs33605 = new Date(dnows33605-dthens33605); else ddiffs33605 = new Date(dthens33605-dnows33605); gsecss33605 = Math.floor(ddiffs33605.valueOf()/1000); CountBacks33605(gsecss33605);