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 (LeadingZeros33911 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33911(secs) { if (secs < 0) { document.getElementById("cntdwns33911").innerHTML = FinishMessages33911; return; } DisplayStrs33911 = DisplayFormats33911.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33911 = DisplayStrs33911.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33911 = DisplayStrs33911.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33911 = DisplayStrs33911.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33911").innerHTML = DisplayStrs33911; if (CountActives33911) //alert(SetTimeOutPeriods33911); setTimeout("CountBacks33911(" + (secs+CountSteppers33911) + ")", SetTimeOutPeriods33911); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33911)=="undefined") BackColors33911 = ""; if (typeof(ForeColors33911)=="undefined") ForeColors33911= "white"; if (typeof(TargetDates33911)=="undefined") TargetDates33911 = "04/28/2026 10:00:00 PM"; if (typeof(DisplayFormats33911)=="undefined") DisplayFormats33911 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33911)=="undefined") CountActives33911 = true; if (typeof(FinishMessages33911)=="undefined") FinishMessages33911 = ""; if (typeof(CountSteppers33911)!="number") CountSteppers33911 = -1; if (typeof(LeadingZeros33911)=="undefined") LeadingZeros33911 = true; CountSteppers33911 = Math.ceil(CountSteppers33911); if (CountSteppers33911 == 0) CountActives33911 = false; var SetTimeOutPeriods33911 = (Math.abs(CountSteppers33911)-1)*1000 + 990; puti(BackColors33911, ForeColors33911); var dthens33911 = new Date(TargetDates33911); var dnows33911 = new Date("04/26/2026 7:03:10 PM"); if(CountSteppers33911>0) ddiffs33911 = new Date(dnows33911-dthens33911); else ddiffs33911 = new Date(dthens33911-dnows33911); gsecss33911 = Math.floor(ddiffs33911.valueOf()/1000); CountBacks33911(gsecss33911);