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 (LeadingZeros33446 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33446(secs) { if (secs < 0) { document.getElementById("cntdwns33446").innerHTML = FinishMessages33446; return; } DisplayStrs33446 = DisplayFormats33446.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33446 = DisplayStrs33446.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33446 = DisplayStrs33446.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33446 = DisplayStrs33446.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33446").innerHTML = DisplayStrs33446; if (CountActives33446) //alert(SetTimeOutPeriods33446); setTimeout("CountBacks33446(" + (secs+CountSteppers33446) + ")", SetTimeOutPeriods33446); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33446)=="undefined") BackColors33446 = ""; if (typeof(ForeColors33446)=="undefined") ForeColors33446= "white"; if (typeof(TargetDates33446)=="undefined") TargetDates33446 = "03/07/2026 10:00:00 PM"; if (typeof(DisplayFormats33446)=="undefined") DisplayFormats33446 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33446)=="undefined") CountActives33446 = true; if (typeof(FinishMessages33446)=="undefined") FinishMessages33446 = ""; if (typeof(CountSteppers33446)!="number") CountSteppers33446 = -1; if (typeof(LeadingZeros33446)=="undefined") LeadingZeros33446 = true; CountSteppers33446 = Math.ceil(CountSteppers33446); if (CountSteppers33446 == 0) CountActives33446 = false; var SetTimeOutPeriods33446 = (Math.abs(CountSteppers33446)-1)*1000 + 990; puti(BackColors33446, ForeColors33446); var dthens33446 = new Date(TargetDates33446); var dnows33446 = new Date("03/05/2026 2:44:31 AM"); if(CountSteppers33446>0) ddiffs33446 = new Date(dnows33446-dthens33446); else ddiffs33446 = new Date(dthens33446-dnows33446); gsecss33446 = Math.floor(ddiffs33446.valueOf()/1000); CountBacks33446(gsecss33446);