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 (LeadingZeros33410 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33410(secs) { if (secs < 0) { document.getElementById("cntdwns33410").innerHTML = FinishMessages33410; return; } DisplayStrs33410 = DisplayFormats33410.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33410 = DisplayStrs33410.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33410 = DisplayStrs33410.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33410 = DisplayStrs33410.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33410").innerHTML = DisplayStrs33410; if (CountActives33410) //alert(SetTimeOutPeriods33410); setTimeout("CountBacks33410(" + (secs+CountSteppers33410) + ")", SetTimeOutPeriods33410); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33410)=="undefined") BackColors33410 = ""; if (typeof(ForeColors33410)=="undefined") ForeColors33410= "white"; if (typeof(TargetDates33410)=="undefined") TargetDates33410 = "02/08/2026 10:00:00 PM"; if (typeof(DisplayFormats33410)=="undefined") DisplayFormats33410 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33410)=="undefined") CountActives33410 = true; if (typeof(FinishMessages33410)=="undefined") FinishMessages33410 = ""; if (typeof(CountSteppers33410)!="number") CountSteppers33410 = -1; if (typeof(LeadingZeros33410)=="undefined") LeadingZeros33410 = true; CountSteppers33410 = Math.ceil(CountSteppers33410); if (CountSteppers33410 == 0) CountActives33410 = false; var SetTimeOutPeriods33410 = (Math.abs(CountSteppers33410)-1)*1000 + 990; puti(BackColors33410, ForeColors33410); var dthens33410 = new Date(TargetDates33410); var dnows33410 = new Date("02/05/2026 7:14:08 PM"); if(CountSteppers33410>0) ddiffs33410 = new Date(dnows33410-dthens33410); else ddiffs33410 = new Date(dthens33410-dnows33410); gsecss33410 = Math.floor(ddiffs33410.valueOf()/1000); CountBacks33410(gsecss33410);