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 (LeadingZeros33603 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33603(secs) { if (secs < 0) { document.getElementById("cntdwns33603").innerHTML = FinishMessages33603; return; } DisplayStrs33603 = DisplayFormats33603.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33603 = DisplayStrs33603.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33603 = DisplayStrs33603.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33603 = DisplayStrs33603.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33603").innerHTML = DisplayStrs33603; if (CountActives33603) //alert(SetTimeOutPeriods33603); setTimeout("CountBacks33603(" + (secs+CountSteppers33603) + ")", SetTimeOutPeriods33603); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33603)=="undefined") BackColors33603 = ""; if (typeof(ForeColors33603)=="undefined") ForeColors33603= "white"; if (typeof(TargetDates33603)=="undefined") TargetDates33603 = "02/27/2026 10:00:00 PM"; if (typeof(DisplayFormats33603)=="undefined") DisplayFormats33603 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33603)=="undefined") CountActives33603 = true; if (typeof(FinishMessages33603)=="undefined") FinishMessages33603 = ""; if (typeof(CountSteppers33603)!="number") CountSteppers33603 = -1; if (typeof(LeadingZeros33603)=="undefined") LeadingZeros33603 = true; CountSteppers33603 = Math.ceil(CountSteppers33603); if (CountSteppers33603 == 0) CountActives33603 = false; var SetTimeOutPeriods33603 = (Math.abs(CountSteppers33603)-1)*1000 + 990; puti(BackColors33603, ForeColors33603); var dthens33603 = new Date(TargetDates33603); var dnows33603 = new Date("02/25/2026 1:56:57 AM"); if(CountSteppers33603>0) ddiffs33603 = new Date(dnows33603-dthens33603); else ddiffs33603 = new Date(dthens33603-dnows33603); gsecss33603 = Math.floor(ddiffs33603.valueOf()/1000); CountBacks33603(gsecss33603);