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 (LeadingZeros33510 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33510(secs) { if (secs < 0) { document.getElementById("cntdwns33510").innerHTML = FinishMessages33510; return; } DisplayStrs33510 = DisplayFormats33510.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33510 = DisplayStrs33510.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33510 = DisplayStrs33510.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33510 = DisplayStrs33510.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33510").innerHTML = DisplayStrs33510; if (CountActives33510) //alert(SetTimeOutPeriods33510); setTimeout("CountBacks33510(" + (secs+CountSteppers33510) + ")", SetTimeOutPeriods33510); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33510)=="undefined") BackColors33510 = ""; if (typeof(ForeColors33510)=="undefined") ForeColors33510= "white"; if (typeof(TargetDates33510)=="undefined") TargetDates33510 = "03/09/2026 10:00:00 PM"; if (typeof(DisplayFormats33510)=="undefined") DisplayFormats33510 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33510)=="undefined") CountActives33510 = true; if (typeof(FinishMessages33510)=="undefined") FinishMessages33510 = ""; if (typeof(CountSteppers33510)!="number") CountSteppers33510 = -1; if (typeof(LeadingZeros33510)=="undefined") LeadingZeros33510 = true; CountSteppers33510 = Math.ceil(CountSteppers33510); if (CountSteppers33510 == 0) CountActives33510 = false; var SetTimeOutPeriods33510 = (Math.abs(CountSteppers33510)-1)*1000 + 990; puti(BackColors33510, ForeColors33510); var dthens33510 = new Date(TargetDates33510); var dnows33510 = new Date("03/07/2026 4:38:11 AM"); if(CountSteppers33510>0) ddiffs33510 = new Date(dnows33510-dthens33510); else ddiffs33510 = new Date(dthens33510-dnows33510); gsecss33510 = Math.floor(ddiffs33510.valueOf()/1000); CountBacks33510(gsecss33510);