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 (LeadingZeros33865 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33865(secs) { if (secs < 0) { document.getElementById("cntdwns33865").innerHTML = FinishMessages33865; return; } DisplayStrs33865 = DisplayFormats33865.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33865 = DisplayStrs33865.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33865 = DisplayStrs33865.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33865 = DisplayStrs33865.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33865").innerHTML = DisplayStrs33865; if (CountActives33865) //alert(SetTimeOutPeriods33865); setTimeout("CountBacks33865(" + (secs+CountSteppers33865) + ")", SetTimeOutPeriods33865); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33865)=="undefined") BackColors33865 = ""; if (typeof(ForeColors33865)=="undefined") ForeColors33865= "white"; if (typeof(TargetDates33865)=="undefined") TargetDates33865 = "04/11/2026 10:00:00 PM"; if (typeof(DisplayFormats33865)=="undefined") DisplayFormats33865 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33865)=="undefined") CountActives33865 = true; if (typeof(FinishMessages33865)=="undefined") FinishMessages33865 = ""; if (typeof(CountSteppers33865)!="number") CountSteppers33865 = -1; if (typeof(LeadingZeros33865)=="undefined") LeadingZeros33865 = true; CountSteppers33865 = Math.ceil(CountSteppers33865); if (CountSteppers33865 == 0) CountActives33865 = false; var SetTimeOutPeriods33865 = (Math.abs(CountSteppers33865)-1)*1000 + 990; puti(BackColors33865, ForeColors33865); var dthens33865 = new Date(TargetDates33865); var dnows33865 = new Date("04/09/2026 10:29:44 PM"); if(CountSteppers33865>0) ddiffs33865 = new Date(dnows33865-dthens33865); else ddiffs33865 = new Date(dthens33865-dnows33865); gsecss33865 = Math.floor(ddiffs33865.valueOf()/1000); CountBacks33865(gsecss33865);