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 (LeadingZeros33928 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33928(secs) { if (secs < 0) { document.getElementById("cntdwns33928").innerHTML = FinishMessages33928; return; } DisplayStrs33928 = DisplayFormats33928.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33928 = DisplayStrs33928.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33928 = DisplayStrs33928.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33928 = DisplayStrs33928.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33928").innerHTML = DisplayStrs33928; if (CountActives33928) //alert(SetTimeOutPeriods33928); setTimeout("CountBacks33928(" + (secs+CountSteppers33928) + ")", SetTimeOutPeriods33928); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33928)=="undefined") BackColors33928 = ""; if (typeof(ForeColors33928)=="undefined") ForeColors33928= "white"; if (typeof(TargetDates33928)=="undefined") TargetDates33928 = "08/31/2026 10:00:00 PM"; if (typeof(DisplayFormats33928)=="undefined") DisplayFormats33928 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33928)=="undefined") CountActives33928 = true; if (typeof(FinishMessages33928)=="undefined") FinishMessages33928 = ""; if (typeof(CountSteppers33928)!="number") CountSteppers33928 = -1; if (typeof(LeadingZeros33928)=="undefined") LeadingZeros33928 = true; CountSteppers33928 = Math.ceil(CountSteppers33928); if (CountSteppers33928 == 0) CountActives33928 = false; var SetTimeOutPeriods33928 = (Math.abs(CountSteppers33928)-1)*1000 + 990; puti(BackColors33928, ForeColors33928); var dthens33928 = new Date(TargetDates33928); var dnows33928 = new Date("08/28/2026 11:43:36 PM"); if(CountSteppers33928>0) ddiffs33928 = new Date(dnows33928-dthens33928); else ddiffs33928 = new Date(dthens33928-dnows33928); gsecss33928 = Math.floor(ddiffs33928.valueOf()/1000); CountBacks33928(gsecss33928);