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 (LeadingZeros33616 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33616(secs) { if (secs < 0) { document.getElementById("cntdwns33616").innerHTML = FinishMessages33616; return; } DisplayStrs33616 = DisplayFormats33616.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33616 = DisplayStrs33616.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33616 = DisplayStrs33616.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33616 = DisplayStrs33616.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33616").innerHTML = DisplayStrs33616; if (CountActives33616) //alert(SetTimeOutPeriods33616); setTimeout("CountBacks33616(" + (secs+CountSteppers33616) + ")", SetTimeOutPeriods33616); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33616)=="undefined") BackColors33616 = ""; if (typeof(ForeColors33616)=="undefined") ForeColors33616= "white"; if (typeof(TargetDates33616)=="undefined") TargetDates33616 = "03/23/2026 10:00:00 PM"; if (typeof(DisplayFormats33616)=="undefined") DisplayFormats33616 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33616)=="undefined") CountActives33616 = true; if (typeof(FinishMessages33616)=="undefined") FinishMessages33616 = ""; if (typeof(CountSteppers33616)!="number") CountSteppers33616 = -1; if (typeof(LeadingZeros33616)=="undefined") LeadingZeros33616 = true; CountSteppers33616 = Math.ceil(CountSteppers33616); if (CountSteppers33616 == 0) CountActives33616 = false; var SetTimeOutPeriods33616 = (Math.abs(CountSteppers33616)-1)*1000 + 990; puti(BackColors33616, ForeColors33616); var dthens33616 = new Date(TargetDates33616); var dnows33616 = new Date("03/20/2026 12:00:23 PM"); if(CountSteppers33616>0) ddiffs33616 = new Date(dnows33616-dthens33616); else ddiffs33616 = new Date(dthens33616-dnows33616); gsecss33616 = Math.floor(ddiffs33616.valueOf()/1000); CountBacks33616(gsecss33616);