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 (LeadingZeros33641 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33641(secs) { if (secs < 0) { document.getElementById("cntdwns33641").innerHTML = FinishMessages33641; return; } DisplayStrs33641 = DisplayFormats33641.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33641 = DisplayStrs33641.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33641 = DisplayStrs33641.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33641 = DisplayStrs33641.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33641").innerHTML = DisplayStrs33641; if (CountActives33641) //alert(SetTimeOutPeriods33641); setTimeout("CountBacks33641(" + (secs+CountSteppers33641) + ")", SetTimeOutPeriods33641); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33641)=="undefined") BackColors33641 = ""; if (typeof(ForeColors33641)=="undefined") ForeColors33641= "white"; if (typeof(TargetDates33641)=="undefined") TargetDates33641 = "04/11/2026 11:00:00 PM"; if (typeof(DisplayFormats33641)=="undefined") DisplayFormats33641 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33641)=="undefined") CountActives33641 = true; if (typeof(FinishMessages33641)=="undefined") FinishMessages33641 = ""; if (typeof(CountSteppers33641)!="number") CountSteppers33641 = -1; if (typeof(LeadingZeros33641)=="undefined") LeadingZeros33641 = true; CountSteppers33641 = Math.ceil(CountSteppers33641); if (CountSteppers33641 == 0) CountActives33641 = false; var SetTimeOutPeriods33641 = (Math.abs(CountSteppers33641)-1)*1000 + 990; puti(BackColors33641, ForeColors33641); var dthens33641 = new Date(TargetDates33641); var dnows33641 = new Date("04/09/2026 10:30:01 PM"); if(CountSteppers33641>0) ddiffs33641 = new Date(dnows33641-dthens33641); else ddiffs33641 = new Date(dthens33641-dnows33641); gsecss33641 = Math.floor(ddiffs33641.valueOf()/1000); CountBacks33641(gsecss33641);