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 (LeadingZeros33693 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33693(secs) { if (secs < 0) { document.getElementById("cntdwns33693").innerHTML = FinishMessages33693; return; } DisplayStrs33693 = DisplayFormats33693.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33693 = DisplayStrs33693.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33693 = DisplayStrs33693.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33693 = DisplayStrs33693.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33693").innerHTML = DisplayStrs33693; if (CountActives33693) //alert(SetTimeOutPeriods33693); setTimeout("CountBacks33693(" + (secs+CountSteppers33693) + ")", SetTimeOutPeriods33693); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33693)=="undefined") BackColors33693 = ""; if (typeof(ForeColors33693)=="undefined") ForeColors33693= "white"; if (typeof(TargetDates33693)=="undefined") TargetDates33693 = "05/06/2026 11:00:00 PM"; if (typeof(DisplayFormats33693)=="undefined") DisplayFormats33693 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33693)=="undefined") CountActives33693 = true; if (typeof(FinishMessages33693)=="undefined") FinishMessages33693 = ""; if (typeof(CountSteppers33693)!="number") CountSteppers33693 = -1; if (typeof(LeadingZeros33693)=="undefined") LeadingZeros33693 = true; CountSteppers33693 = Math.ceil(CountSteppers33693); if (CountSteppers33693 == 0) CountActives33693 = false; var SetTimeOutPeriods33693 = (Math.abs(CountSteppers33693)-1)*1000 + 990; puti(BackColors33693, ForeColors33693); var dthens33693 = new Date(TargetDates33693); var dnows33693 = new Date("05/04/2026 8:35:16 AM"); if(CountSteppers33693>0) ddiffs33693 = new Date(dnows33693-dthens33693); else ddiffs33693 = new Date(dthens33693-dnows33693); gsecss33693 = Math.floor(ddiffs33693.valueOf()/1000); CountBacks33693(gsecss33693);