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 (LeadingZeros33421 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33421(secs) { if (secs < 0) { document.getElementById("cntdwns33421").innerHTML = FinishMessages33421; return; } DisplayStrs33421 = DisplayFormats33421.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33421 = DisplayStrs33421.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33421 = DisplayStrs33421.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33421 = DisplayStrs33421.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33421").innerHTML = DisplayStrs33421; if (CountActives33421) //alert(SetTimeOutPeriods33421); setTimeout("CountBacks33421(" + (secs+CountSteppers33421) + ")", SetTimeOutPeriods33421); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33421)=="undefined") BackColors33421 = ""; if (typeof(ForeColors33421)=="undefined") ForeColors33421= "white"; if (typeof(TargetDates33421)=="undefined") TargetDates33421 = "02/27/2026 10:00:00 PM"; if (typeof(DisplayFormats33421)=="undefined") DisplayFormats33421 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33421)=="undefined") CountActives33421 = true; if (typeof(FinishMessages33421)=="undefined") FinishMessages33421 = ""; if (typeof(CountSteppers33421)!="number") CountSteppers33421 = -1; if (typeof(LeadingZeros33421)=="undefined") LeadingZeros33421 = true; CountSteppers33421 = Math.ceil(CountSteppers33421); if (CountSteppers33421 == 0) CountActives33421 = false; var SetTimeOutPeriods33421 = (Math.abs(CountSteppers33421)-1)*1000 + 990; puti(BackColors33421, ForeColors33421); var dthens33421 = new Date(TargetDates33421); var dnows33421 = new Date("02/24/2026 2:30:25 AM"); if(CountSteppers33421>0) ddiffs33421 = new Date(dnows33421-dthens33421); else ddiffs33421 = new Date(dthens33421-dnows33421); gsecss33421 = Math.floor(ddiffs33421.valueOf()/1000); CountBacks33421(gsecss33421);