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 (LeadingZeros33661 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33661(secs) { if (secs < 0) { document.getElementById("cntdwns33661").innerHTML = FinishMessages33661; return; } DisplayStrs33661 = DisplayFormats33661.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33661 = DisplayStrs33661.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33661 = DisplayStrs33661.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33661 = DisplayStrs33661.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33661").innerHTML = DisplayStrs33661; if (CountActives33661) //alert(SetTimeOutPeriods33661); setTimeout("CountBacks33661(" + (secs+CountSteppers33661) + ")", SetTimeOutPeriods33661); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33661)=="undefined") BackColors33661 = ""; if (typeof(ForeColors33661)=="undefined") ForeColors33661= "white"; if (typeof(TargetDates33661)=="undefined") TargetDates33661 = "03/30/2026 11:00:00 PM"; if (typeof(DisplayFormats33661)=="undefined") DisplayFormats33661 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33661)=="undefined") CountActives33661 = true; if (typeof(FinishMessages33661)=="undefined") FinishMessages33661 = ""; if (typeof(CountSteppers33661)!="number") CountSteppers33661 = -1; if (typeof(LeadingZeros33661)=="undefined") LeadingZeros33661 = true; CountSteppers33661 = Math.ceil(CountSteppers33661); if (CountSteppers33661 == 0) CountActives33661 = false; var SetTimeOutPeriods33661 = (Math.abs(CountSteppers33661)-1)*1000 + 990; puti(BackColors33661, ForeColors33661); var dthens33661 = new Date(TargetDates33661); var dnows33661 = new Date("03/27/2026 10:03:35 PM"); if(CountSteppers33661>0) ddiffs33661 = new Date(dnows33661-dthens33661); else ddiffs33661 = new Date(dthens33661-dnows33661); gsecss33661 = Math.floor(ddiffs33661.valueOf()/1000); CountBacks33661(gsecss33661);