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 (LeadingZeros33658 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33658(secs) { if (secs < 0) { document.getElementById("cntdwns33658").innerHTML = FinishMessages33658; return; } DisplayStrs33658 = DisplayFormats33658.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33658 = DisplayStrs33658.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33658 = DisplayStrs33658.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33658 = DisplayStrs33658.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33658").innerHTML = DisplayStrs33658; if (CountActives33658) //alert(SetTimeOutPeriods33658); setTimeout("CountBacks33658(" + (secs+CountSteppers33658) + ")", SetTimeOutPeriods33658); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33658)=="undefined") BackColors33658 = ""; if (typeof(ForeColors33658)=="undefined") ForeColors33658= "white"; if (typeof(TargetDates33658)=="undefined") TargetDates33658 = "03/09/2026 10:00:00 PM"; if (typeof(DisplayFormats33658)=="undefined") DisplayFormats33658 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33658)=="undefined") CountActives33658 = true; if (typeof(FinishMessages33658)=="undefined") FinishMessages33658 = ""; if (typeof(CountSteppers33658)!="number") CountSteppers33658 = -1; if (typeof(LeadingZeros33658)=="undefined") LeadingZeros33658 = true; CountSteppers33658 = Math.ceil(CountSteppers33658); if (CountSteppers33658 == 0) CountActives33658 = false; var SetTimeOutPeriods33658 = (Math.abs(CountSteppers33658)-1)*1000 + 990; puti(BackColors33658, ForeColors33658); var dthens33658 = new Date(TargetDates33658); var dnows33658 = new Date("03/07/2026 4:32:24 AM"); if(CountSteppers33658>0) ddiffs33658 = new Date(dnows33658-dthens33658); else ddiffs33658 = new Date(dthens33658-dnows33658); gsecss33658 = Math.floor(ddiffs33658.valueOf()/1000); CountBacks33658(gsecss33658);