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 (LeadingZeros33916 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33916(secs) { if (secs < 0) { document.getElementById("cntdwns33916").innerHTML = FinishMessages33916; return; } DisplayStrs33916 = DisplayFormats33916.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33916 = DisplayStrs33916.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33916 = DisplayStrs33916.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33916 = DisplayStrs33916.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33916").innerHTML = DisplayStrs33916; if (CountActives33916) //alert(SetTimeOutPeriods33916); setTimeout("CountBacks33916(" + (secs+CountSteppers33916) + ")", SetTimeOutPeriods33916); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33916)=="undefined") BackColors33916 = ""; if (typeof(ForeColors33916)=="undefined") ForeColors33916= "white"; if (typeof(TargetDates33916)=="undefined") TargetDates33916 = "05/31/2026 10:59:00 PM"; if (typeof(DisplayFormats33916)=="undefined") DisplayFormats33916 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33916)=="undefined") CountActives33916 = true; if (typeof(FinishMessages33916)=="undefined") FinishMessages33916 = ""; if (typeof(CountSteppers33916)!="number") CountSteppers33916 = -1; if (typeof(LeadingZeros33916)=="undefined") LeadingZeros33916 = true; CountSteppers33916 = Math.ceil(CountSteppers33916); if (CountSteppers33916 == 0) CountActives33916 = false; var SetTimeOutPeriods33916 = (Math.abs(CountSteppers33916)-1)*1000 + 990; puti(BackColors33916, ForeColors33916); var dthens33916 = new Date(TargetDates33916); var dnows33916 = new Date("05/29/2026 8:24:12 PM"); if(CountSteppers33916>0) ddiffs33916 = new Date(dnows33916-dthens33916); else ddiffs33916 = new Date(dthens33916-dnows33916); gsecss33916 = Math.floor(ddiffs33916.valueOf()/1000); CountBacks33916(gsecss33916);