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 (LeadingZeros33955 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33955(secs) { if (secs < 0) { document.getElementById("cntdwns33955").innerHTML = FinishMessages33955; return; } DisplayStrs33955 = DisplayFormats33955.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33955 = DisplayStrs33955.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33955 = DisplayStrs33955.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33955 = DisplayStrs33955.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33955").innerHTML = DisplayStrs33955; if (CountActives33955) //alert(SetTimeOutPeriods33955); setTimeout("CountBacks33955(" + (secs+CountSteppers33955) + ")", SetTimeOutPeriods33955); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33955)=="undefined") BackColors33955 = ""; if (typeof(ForeColors33955)=="undefined") ForeColors33955= "white"; if (typeof(TargetDates33955)=="undefined") TargetDates33955 = "05/28/2026 11:00:00 PM"; if (typeof(DisplayFormats33955)=="undefined") DisplayFormats33955 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33955)=="undefined") CountActives33955 = true; if (typeof(FinishMessages33955)=="undefined") FinishMessages33955 = ""; if (typeof(CountSteppers33955)!="number") CountSteppers33955 = -1; if (typeof(LeadingZeros33955)=="undefined") LeadingZeros33955 = true; CountSteppers33955 = Math.ceil(CountSteppers33955); if (CountSteppers33955 == 0) CountActives33955 = false; var SetTimeOutPeriods33955 = (Math.abs(CountSteppers33955)-1)*1000 + 990; puti(BackColors33955, ForeColors33955); var dthens33955 = new Date(TargetDates33955); var dnows33955 = new Date("05/25/2026 4:53:07 PM"); if(CountSteppers33955>0) ddiffs33955 = new Date(dnows33955-dthens33955); else ddiffs33955 = new Date(dthens33955-dnows33955); gsecss33955 = Math.floor(ddiffs33955.valueOf()/1000); CountBacks33955(gsecss33955);