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 (LeadingZeros33692 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33692(secs) { if (secs < 0) { document.getElementById("cntdwns33692").innerHTML = FinishMessages33692; return; } DisplayStrs33692 = DisplayFormats33692.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33692 = DisplayStrs33692.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33692 = DisplayStrs33692.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33692 = DisplayStrs33692.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33692").innerHTML = DisplayStrs33692; if (CountActives33692) //alert(SetTimeOutPeriods33692); setTimeout("CountBacks33692(" + (secs+CountSteppers33692) + ")", SetTimeOutPeriods33692); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33692)=="undefined") BackColors33692 = ""; if (typeof(ForeColors33692)=="undefined") ForeColors33692= "white"; if (typeof(TargetDates33692)=="undefined") TargetDates33692 = "05/06/2026 11:00:00 PM"; if (typeof(DisplayFormats33692)=="undefined") DisplayFormats33692 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33692)=="undefined") CountActives33692 = true; if (typeof(FinishMessages33692)=="undefined") FinishMessages33692 = ""; if (typeof(CountSteppers33692)!="number") CountSteppers33692 = -1; if (typeof(LeadingZeros33692)=="undefined") LeadingZeros33692 = true; CountSteppers33692 = Math.ceil(CountSteppers33692); if (CountSteppers33692 == 0) CountActives33692 = false; var SetTimeOutPeriods33692 = (Math.abs(CountSteppers33692)-1)*1000 + 990; puti(BackColors33692, ForeColors33692); var dthens33692 = new Date(TargetDates33692); var dnows33692 = new Date("05/04/2026 8:35:16 AM"); if(CountSteppers33692>0) ddiffs33692 = new Date(dnows33692-dthens33692); else ddiffs33692 = new Date(dthens33692-dnows33692); gsecss33692 = Math.floor(ddiffs33692.valueOf()/1000); CountBacks33692(gsecss33692);