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 (LeadingZeros33765 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33765(secs) { if (secs < 0) { document.getElementById("cntdwns33765").innerHTML = FinishMessages33765; return; } DisplayStrs33765 = DisplayFormats33765.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33765 = DisplayStrs33765.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33765 = DisplayStrs33765.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33765 = DisplayStrs33765.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33765").innerHTML = DisplayStrs33765; if (CountActives33765) //alert(SetTimeOutPeriods33765); setTimeout("CountBacks33765(" + (secs+CountSteppers33765) + ")", SetTimeOutPeriods33765); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33765)=="undefined") BackColors33765 = ""; if (typeof(ForeColors33765)=="undefined") ForeColors33765= "white"; if (typeof(TargetDates33765)=="undefined") TargetDates33765 = "03/30/2026 10:00:00 PM"; if (typeof(DisplayFormats33765)=="undefined") DisplayFormats33765 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33765)=="undefined") CountActives33765 = true; if (typeof(FinishMessages33765)=="undefined") FinishMessages33765 = ""; if (typeof(CountSteppers33765)!="number") CountSteppers33765 = -1; if (typeof(LeadingZeros33765)=="undefined") LeadingZeros33765 = true; CountSteppers33765 = Math.ceil(CountSteppers33765); if (CountSteppers33765 == 0) CountActives33765 = false; var SetTimeOutPeriods33765 = (Math.abs(CountSteppers33765)-1)*1000 + 990; puti(BackColors33765, ForeColors33765); var dthens33765 = new Date(TargetDates33765); var dnows33765 = new Date("03/27/2026 2:46:29 PM"); if(CountSteppers33765>0) ddiffs33765 = new Date(dnows33765-dthens33765); else ddiffs33765 = new Date(dthens33765-dnows33765); gsecss33765 = Math.floor(ddiffs33765.valueOf()/1000); CountBacks33765(gsecss33765);