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 (LeadingZeros33745 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33745(secs) { if (secs < 0) { document.getElementById("cntdwns33745").innerHTML = FinishMessages33745; return; } DisplayStrs33745 = DisplayFormats33745.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33745 = DisplayStrs33745.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33745 = DisplayStrs33745.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33745 = DisplayStrs33745.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33745").innerHTML = DisplayStrs33745; if (CountActives33745) //alert(SetTimeOutPeriods33745); setTimeout("CountBacks33745(" + (secs+CountSteppers33745) + ")", SetTimeOutPeriods33745); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33745)=="undefined") BackColors33745 = ""; if (typeof(ForeColors33745)=="undefined") ForeColors33745= "white"; if (typeof(TargetDates33745)=="undefined") TargetDates33745 = "04/04/2026 10:00:00 PM"; if (typeof(DisplayFormats33745)=="undefined") DisplayFormats33745 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33745)=="undefined") CountActives33745 = true; if (typeof(FinishMessages33745)=="undefined") FinishMessages33745 = ""; if (typeof(CountSteppers33745)!="number") CountSteppers33745 = -1; if (typeof(LeadingZeros33745)=="undefined") LeadingZeros33745 = true; CountSteppers33745 = Math.ceil(CountSteppers33745); if (CountSteppers33745 == 0) CountActives33745 = false; var SetTimeOutPeriods33745 = (Math.abs(CountSteppers33745)-1)*1000 + 990; puti(BackColors33745, ForeColors33745); var dthens33745 = new Date(TargetDates33745); var dnows33745 = new Date("04/02/2026 10:39:10 PM"); if(CountSteppers33745>0) ddiffs33745 = new Date(dnows33745-dthens33745); else ddiffs33745 = new Date(dthens33745-dnows33745); gsecss33745 = Math.floor(ddiffs33745.valueOf()/1000); CountBacks33745(gsecss33745);