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 (LeadingZeros33077 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33077(secs) { if (secs < 0) { document.getElementById("cntdwns33077").innerHTML = FinishMessages33077; return; } DisplayStrs33077 = DisplayFormats33077.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33077 = DisplayStrs33077.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33077 = DisplayStrs33077.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33077 = DisplayStrs33077.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33077").innerHTML = DisplayStrs33077; if (CountActives33077) //alert(SetTimeOutPeriods33077); setTimeout("CountBacks33077(" + (secs+CountSteppers33077) + ")", SetTimeOutPeriods33077); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33077)=="undefined") BackColors33077 = ""; if (typeof(ForeColors33077)=="undefined") ForeColors33077= "white"; if (typeof(TargetDates33077)=="undefined") TargetDates33077 = "01/01/2026 10:00:00 PM"; if (typeof(DisplayFormats33077)=="undefined") DisplayFormats33077 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33077)=="undefined") CountActives33077 = true; if (typeof(FinishMessages33077)=="undefined") FinishMessages33077 = ""; if (typeof(CountSteppers33077)!="number") CountSteppers33077 = -1; if (typeof(LeadingZeros33077)=="undefined") LeadingZeros33077 = true; CountSteppers33077 = Math.ceil(CountSteppers33077); if (CountSteppers33077 == 0) CountActives33077 = false; var SetTimeOutPeriods33077 = (Math.abs(CountSteppers33077)-1)*1000 + 990; puti(BackColors33077, ForeColors33077); var dthens33077 = new Date(TargetDates33077); var dnows33077 = new Date("12/30/2025 4:41:59 AM"); if(CountSteppers33077>0) ddiffs33077 = new Date(dnows33077-dthens33077); else ddiffs33077 = new Date(dthens33077-dnows33077); gsecss33077 = Math.floor(ddiffs33077.valueOf()/1000); CountBacks33077(gsecss33077);