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 (LeadingZeros33838 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33838(secs) { if (secs < 0) { document.getElementById("cntdwns33838").innerHTML = FinishMessages33838; return; } DisplayStrs33838 = DisplayFormats33838.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33838 = DisplayStrs33838.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33838 = DisplayStrs33838.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33838 = DisplayStrs33838.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33838").innerHTML = DisplayStrs33838; if (CountActives33838) //alert(SetTimeOutPeriods33838); setTimeout("CountBacks33838(" + (secs+CountSteppers33838) + ")", SetTimeOutPeriods33838); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33838)=="undefined") BackColors33838 = ""; if (typeof(ForeColors33838)=="undefined") ForeColors33838= "white"; if (typeof(TargetDates33838)=="undefined") TargetDates33838 = "05/02/2026 10:00:00 PM"; if (typeof(DisplayFormats33838)=="undefined") DisplayFormats33838 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33838)=="undefined") CountActives33838 = true; if (typeof(FinishMessages33838)=="undefined") FinishMessages33838 = ""; if (typeof(CountSteppers33838)!="number") CountSteppers33838 = -1; if (typeof(LeadingZeros33838)=="undefined") LeadingZeros33838 = true; CountSteppers33838 = Math.ceil(CountSteppers33838); if (CountSteppers33838 == 0) CountActives33838 = false; var SetTimeOutPeriods33838 = (Math.abs(CountSteppers33838)-1)*1000 + 990; puti(BackColors33838, ForeColors33838); var dthens33838 = new Date(TargetDates33838); var dnows33838 = new Date("04/29/2026 10:44:42 AM"); if(CountSteppers33838>0) ddiffs33838 = new Date(dnows33838-dthens33838); else ddiffs33838 = new Date(dthens33838-dnows33838); gsecss33838 = Math.floor(ddiffs33838.valueOf()/1000); CountBacks33838(gsecss33838);