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 (LeadingZeros33627 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33627(secs) { if (secs < 0) { document.getElementById("cntdwns33627").innerHTML = FinishMessages33627; return; } DisplayStrs33627 = DisplayFormats33627.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33627 = DisplayStrs33627.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33627 = DisplayStrs33627.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33627 = DisplayStrs33627.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33627").innerHTML = DisplayStrs33627; if (CountActives33627) //alert(SetTimeOutPeriods33627); setTimeout("CountBacks33627(" + (secs+CountSteppers33627) + ")", SetTimeOutPeriods33627); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33627)=="undefined") BackColors33627 = ""; if (typeof(ForeColors33627)=="undefined") ForeColors33627= "white"; if (typeof(TargetDates33627)=="undefined") TargetDates33627 = "02/28/2026 10:00:00 PM"; if (typeof(DisplayFormats33627)=="undefined") DisplayFormats33627 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33627)=="undefined") CountActives33627 = true; if (typeof(FinishMessages33627)=="undefined") FinishMessages33627 = ""; if (typeof(CountSteppers33627)!="number") CountSteppers33627 = -1; if (typeof(LeadingZeros33627)=="undefined") LeadingZeros33627 = true; CountSteppers33627 = Math.ceil(CountSteppers33627); if (CountSteppers33627 == 0) CountActives33627 = false; var SetTimeOutPeriods33627 = (Math.abs(CountSteppers33627)-1)*1000 + 990; puti(BackColors33627, ForeColors33627); var dthens33627 = new Date(TargetDates33627); var dnows33627 = new Date("02/26/2026 12:36:15 AM"); if(CountSteppers33627>0) ddiffs33627 = new Date(dnows33627-dthens33627); else ddiffs33627 = new Date(dthens33627-dnows33627); gsecss33627 = Math.floor(ddiffs33627.valueOf()/1000); CountBacks33627(gsecss33627);