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 (LeadingZeros33386 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33386(secs) { if (secs < 0) { document.getElementById("cntdwns33386").innerHTML = FinishMessages33386; return; } DisplayStrs33386 = DisplayFormats33386.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33386 = DisplayStrs33386.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33386 = DisplayStrs33386.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33386 = DisplayStrs33386.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33386").innerHTML = DisplayStrs33386; if (CountActives33386) //alert(SetTimeOutPeriods33386); setTimeout("CountBacks33386(" + (secs+CountSteppers33386) + ")", SetTimeOutPeriods33386); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33386)=="undefined") BackColors33386 = ""; if (typeof(ForeColors33386)=="undefined") ForeColors33386= "white"; if (typeof(TargetDates33386)=="undefined") TargetDates33386 = "03/03/2026 10:00:00 PM"; if (typeof(DisplayFormats33386)=="undefined") DisplayFormats33386 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33386)=="undefined") CountActives33386 = true; if (typeof(FinishMessages33386)=="undefined") FinishMessages33386 = ""; if (typeof(CountSteppers33386)!="number") CountSteppers33386 = -1; if (typeof(LeadingZeros33386)=="undefined") LeadingZeros33386 = true; CountSteppers33386 = Math.ceil(CountSteppers33386); if (CountSteppers33386 == 0) CountActives33386 = false; var SetTimeOutPeriods33386 = (Math.abs(CountSteppers33386)-1)*1000 + 990; puti(BackColors33386, ForeColors33386); var dthens33386 = new Date(TargetDates33386); var dnows33386 = new Date("03/01/2026 5:43:37 PM"); if(CountSteppers33386>0) ddiffs33386 = new Date(dnows33386-dthens33386); else ddiffs33386 = new Date(dthens33386-dnows33386); gsecss33386 = Math.floor(ddiffs33386.valueOf()/1000); CountBacks33386(gsecss33386);