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 (LeadingZeros33542 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33542(secs) { if (secs < 0) { document.getElementById("cntdwns33542").innerHTML = FinishMessages33542; return; } DisplayStrs33542 = DisplayFormats33542.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33542 = DisplayStrs33542.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33542 = DisplayStrs33542.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33542 = DisplayStrs33542.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33542").innerHTML = DisplayStrs33542; if (CountActives33542) //alert(SetTimeOutPeriods33542); setTimeout("CountBacks33542(" + (secs+CountSteppers33542) + ")", SetTimeOutPeriods33542); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33542)=="undefined") BackColors33542 = ""; if (typeof(ForeColors33542)=="undefined") ForeColors33542= "white"; if (typeof(TargetDates33542)=="undefined") TargetDates33542 = "02/22/2026 10:00:00 PM"; if (typeof(DisplayFormats33542)=="undefined") DisplayFormats33542 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33542)=="undefined") CountActives33542 = true; if (typeof(FinishMessages33542)=="undefined") FinishMessages33542 = ""; if (typeof(CountSteppers33542)!="number") CountSteppers33542 = -1; if (typeof(LeadingZeros33542)=="undefined") LeadingZeros33542 = true; CountSteppers33542 = Math.ceil(CountSteppers33542); if (CountSteppers33542 == 0) CountActives33542 = false; var SetTimeOutPeriods33542 = (Math.abs(CountSteppers33542)-1)*1000 + 990; puti(BackColors33542, ForeColors33542); var dthens33542 = new Date(TargetDates33542); var dnows33542 = new Date("02/19/2026 4:19:41 AM"); if(CountSteppers33542>0) ddiffs33542 = new Date(dnows33542-dthens33542); else ddiffs33542 = new Date(dthens33542-dnows33542); gsecss33542 = Math.floor(ddiffs33542.valueOf()/1000); CountBacks33542(gsecss33542);