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 (LeadingZeros33562 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33562(secs) { if (secs < 0) { document.getElementById("cntdwns33562").innerHTML = FinishMessages33562; return; } DisplayStrs33562 = DisplayFormats33562.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33562 = DisplayStrs33562.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33562 = DisplayStrs33562.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33562 = DisplayStrs33562.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33562").innerHTML = DisplayStrs33562; if (CountActives33562) //alert(SetTimeOutPeriods33562); setTimeout("CountBacks33562(" + (secs+CountSteppers33562) + ")", SetTimeOutPeriods33562); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33562)=="undefined") BackColors33562 = ""; if (typeof(ForeColors33562)=="undefined") ForeColors33562= "white"; if (typeof(TargetDates33562)=="undefined") TargetDates33562 = "03/07/2026 10:00:00 PM"; if (typeof(DisplayFormats33562)=="undefined") DisplayFormats33562 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33562)=="undefined") CountActives33562 = true; if (typeof(FinishMessages33562)=="undefined") FinishMessages33562 = ""; if (typeof(CountSteppers33562)!="number") CountSteppers33562 = -1; if (typeof(LeadingZeros33562)=="undefined") LeadingZeros33562 = true; CountSteppers33562 = Math.ceil(CountSteppers33562); if (CountSteppers33562 == 0) CountActives33562 = false; var SetTimeOutPeriods33562 = (Math.abs(CountSteppers33562)-1)*1000 + 990; puti(BackColors33562, ForeColors33562); var dthens33562 = new Date(TargetDates33562); var dnows33562 = new Date("03/05/2026 2:40:33 AM"); if(CountSteppers33562>0) ddiffs33562 = new Date(dnows33562-dthens33562); else ddiffs33562 = new Date(dthens33562-dnows33562); gsecss33562 = Math.floor(ddiffs33562.valueOf()/1000); CountBacks33562(gsecss33562);