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 (LeadingZeros33888 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33888(secs) { if (secs < 0) { document.getElementById("cntdwns33888").innerHTML = FinishMessages33888; return; } DisplayStrs33888 = DisplayFormats33888.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33888 = DisplayStrs33888.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33888 = DisplayStrs33888.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33888 = DisplayStrs33888.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33888").innerHTML = DisplayStrs33888; if (CountActives33888) //alert(SetTimeOutPeriods33888); setTimeout("CountBacks33888(" + (secs+CountSteppers33888) + ")", SetTimeOutPeriods33888); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33888)=="undefined") BackColors33888 = ""; if (typeof(ForeColors33888)=="undefined") ForeColors33888= "white"; if (typeof(TargetDates33888)=="undefined") TargetDates33888 = "08/31/2026 10:00:00 PM"; if (typeof(DisplayFormats33888)=="undefined") DisplayFormats33888 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33888)=="undefined") CountActives33888 = true; if (typeof(FinishMessages33888)=="undefined") FinishMessages33888 = ""; if (typeof(CountSteppers33888)!="number") CountSteppers33888 = -1; if (typeof(LeadingZeros33888)=="undefined") LeadingZeros33888 = true; CountSteppers33888 = Math.ceil(CountSteppers33888); if (CountSteppers33888 == 0) CountActives33888 = false; var SetTimeOutPeriods33888 = (Math.abs(CountSteppers33888)-1)*1000 + 990; puti(BackColors33888, ForeColors33888); var dthens33888 = new Date(TargetDates33888); var dnows33888 = new Date("08/28/2026 11:43:58 PM"); if(CountSteppers33888>0) ddiffs33888 = new Date(dnows33888-dthens33888); else ddiffs33888 = new Date(dthens33888-dnows33888); gsecss33888 = Math.floor(ddiffs33888.valueOf()/1000); CountBacks33888(gsecss33888);