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 (LeadingZeros33565 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33565(secs) { if (secs < 0) { document.getElementById("cntdwns33565").innerHTML = FinishMessages33565; return; } DisplayStrs33565 = DisplayFormats33565.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33565 = DisplayStrs33565.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33565 = DisplayStrs33565.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33565 = DisplayStrs33565.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33565").innerHTML = DisplayStrs33565; if (CountActives33565) //alert(SetTimeOutPeriods33565); setTimeout("CountBacks33565(" + (secs+CountSteppers33565) + ")", SetTimeOutPeriods33565); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33565)=="undefined") BackColors33565 = ""; if (typeof(ForeColors33565)=="undefined") ForeColors33565= "white"; if (typeof(TargetDates33565)=="undefined") TargetDates33565 = "02/26/2026 10:00:00 PM"; if (typeof(DisplayFormats33565)=="undefined") DisplayFormats33565 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33565)=="undefined") CountActives33565 = true; if (typeof(FinishMessages33565)=="undefined") FinishMessages33565 = ""; if (typeof(CountSteppers33565)!="number") CountSteppers33565 = -1; if (typeof(LeadingZeros33565)=="undefined") LeadingZeros33565 = true; CountSteppers33565 = Math.ceil(CountSteppers33565); if (CountSteppers33565 == 0) CountActives33565 = false; var SetTimeOutPeriods33565 = (Math.abs(CountSteppers33565)-1)*1000 + 990; puti(BackColors33565, ForeColors33565); var dthens33565 = new Date(TargetDates33565); var dnows33565 = new Date("02/23/2026 7:25:16 AM"); if(CountSteppers33565>0) ddiffs33565 = new Date(dnows33565-dthens33565); else ddiffs33565 = new Date(dthens33565-dnows33565); gsecss33565 = Math.floor(ddiffs33565.valueOf()/1000); CountBacks33565(gsecss33565);