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 (LeadingZeros33623 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33623(secs) { if (secs < 0) { document.getElementById("cntdwns33623").innerHTML = FinishMessages33623; return; } DisplayStrs33623 = DisplayFormats33623.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33623 = DisplayStrs33623.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33623 = DisplayStrs33623.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33623 = DisplayStrs33623.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33623").innerHTML = DisplayStrs33623; if (CountActives33623) //alert(SetTimeOutPeriods33623); setTimeout("CountBacks33623(" + (secs+CountSteppers33623) + ")", SetTimeOutPeriods33623); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33623)=="undefined") BackColors33623 = ""; if (typeof(ForeColors33623)=="undefined") ForeColors33623= "white"; if (typeof(TargetDates33623)=="undefined") TargetDates33623 = "03/10/2026 10:00:00 PM"; if (typeof(DisplayFormats33623)=="undefined") DisplayFormats33623 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33623)=="undefined") CountActives33623 = true; if (typeof(FinishMessages33623)=="undefined") FinishMessages33623 = ""; if (typeof(CountSteppers33623)!="number") CountSteppers33623 = -1; if (typeof(LeadingZeros33623)=="undefined") LeadingZeros33623 = true; CountSteppers33623 = Math.ceil(CountSteppers33623); if (CountSteppers33623 == 0) CountActives33623 = false; var SetTimeOutPeriods33623 = (Math.abs(CountSteppers33623)-1)*1000 + 990; puti(BackColors33623, ForeColors33623); var dthens33623 = new Date(TargetDates33623); var dnows33623 = new Date("03/07/2026 8:30:45 AM"); if(CountSteppers33623>0) ddiffs33623 = new Date(dnows33623-dthens33623); else ddiffs33623 = new Date(dthens33623-dnows33623); gsecss33623 = Math.floor(ddiffs33623.valueOf()/1000); CountBacks33623(gsecss33623);