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 (LeadingZeros33135 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33135(secs) { if (secs < 0) { document.getElementById("cntdwns33135").innerHTML = FinishMessages33135; return; } DisplayStrs33135 = DisplayFormats33135.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33135 = DisplayStrs33135.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33135 = DisplayStrs33135.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33135 = DisplayStrs33135.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33135").innerHTML = DisplayStrs33135; if (CountActives33135) //alert(SetTimeOutPeriods33135); setTimeout("CountBacks33135(" + (secs+CountSteppers33135) + ")", SetTimeOutPeriods33135); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33135)=="undefined") BackColors33135 = ""; if (typeof(ForeColors33135)=="undefined") ForeColors33135= "white"; if (typeof(TargetDates33135)=="undefined") TargetDates33135 = "11/28/2025 10:00:00 PM"; if (typeof(DisplayFormats33135)=="undefined") DisplayFormats33135 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33135)=="undefined") CountActives33135 = true; if (typeof(FinishMessages33135)=="undefined") FinishMessages33135 = ""; if (typeof(CountSteppers33135)!="number") CountSteppers33135 = -1; if (typeof(LeadingZeros33135)=="undefined") LeadingZeros33135 = true; CountSteppers33135 = Math.ceil(CountSteppers33135); if (CountSteppers33135 == 0) CountActives33135 = false; var SetTimeOutPeriods33135 = (Math.abs(CountSteppers33135)-1)*1000 + 990; puti(BackColors33135, ForeColors33135); var dthens33135 = new Date(TargetDates33135); var dnows33135 = new Date("11/26/2025 5:14:01 AM"); if(CountSteppers33135>0) ddiffs33135 = new Date(dnows33135-dthens33135); else ddiffs33135 = new Date(dthens33135-dnows33135); gsecss33135 = Math.floor(ddiffs33135.valueOf()/1000); CountBacks33135(gsecss33135);