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 (LeadingZeros33749 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33749(secs) { if (secs < 0) { document.getElementById("cntdwns33749").innerHTML = FinishMessages33749; return; } DisplayStrs33749 = DisplayFormats33749.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33749 = DisplayStrs33749.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33749 = DisplayStrs33749.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33749 = DisplayStrs33749.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33749").innerHTML = DisplayStrs33749; if (CountActives33749) //alert(SetTimeOutPeriods33749); setTimeout("CountBacks33749(" + (secs+CountSteppers33749) + ")", SetTimeOutPeriods33749); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33749)=="undefined") BackColors33749 = ""; if (typeof(ForeColors33749)=="undefined") ForeColors33749= "white"; if (typeof(TargetDates33749)=="undefined") TargetDates33749 = "03/28/2026 10:00:00 PM"; if (typeof(DisplayFormats33749)=="undefined") DisplayFormats33749 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33749)=="undefined") CountActives33749 = true; if (typeof(FinishMessages33749)=="undefined") FinishMessages33749 = ""; if (typeof(CountSteppers33749)!="number") CountSteppers33749 = -1; if (typeof(LeadingZeros33749)=="undefined") LeadingZeros33749 = true; CountSteppers33749 = Math.ceil(CountSteppers33749); if (CountSteppers33749 == 0) CountActives33749 = false; var SetTimeOutPeriods33749 = (Math.abs(CountSteppers33749)-1)*1000 + 990; puti(BackColors33749, ForeColors33749); var dthens33749 = new Date(TargetDates33749); var dnows33749 = new Date("03/26/2026 3:49:08 PM"); if(CountSteppers33749>0) ddiffs33749 = new Date(dnows33749-dthens33749); else ddiffs33749 = new Date(dthens33749-dnows33749); gsecss33749 = Math.floor(ddiffs33749.valueOf()/1000); CountBacks33749(gsecss33749);