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 (LeadingZeros33085 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33085(secs) { if (secs < 0) { document.getElementById("cntdwns33085").innerHTML = FinishMessages33085; return; } DisplayStrs33085 = DisplayFormats33085.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33085 = DisplayStrs33085.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33085 = DisplayStrs33085.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33085 = DisplayStrs33085.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33085").innerHTML = DisplayStrs33085; if (CountActives33085) //alert(SetTimeOutPeriods33085); setTimeout("CountBacks33085(" + (secs+CountSteppers33085) + ")", SetTimeOutPeriods33085); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33085)=="undefined") BackColors33085 = ""; if (typeof(ForeColors33085)=="undefined") ForeColors33085= "white"; if (typeof(TargetDates33085)=="undefined") TargetDates33085 = "11/25/2025 10:00:00 PM"; if (typeof(DisplayFormats33085)=="undefined") DisplayFormats33085 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33085)=="undefined") CountActives33085 = true; if (typeof(FinishMessages33085)=="undefined") FinishMessages33085 = ""; if (typeof(CountSteppers33085)!="number") CountSteppers33085 = -1; if (typeof(LeadingZeros33085)=="undefined") LeadingZeros33085 = true; CountSteppers33085 = Math.ceil(CountSteppers33085); if (CountSteppers33085 == 0) CountActives33085 = false; var SetTimeOutPeriods33085 = (Math.abs(CountSteppers33085)-1)*1000 + 990; puti(BackColors33085, ForeColors33085); var dthens33085 = new Date(TargetDates33085); var dnows33085 = new Date("11/23/2025 1:43:29 PM"); if(CountSteppers33085>0) ddiffs33085 = new Date(dnows33085-dthens33085); else ddiffs33085 = new Date(dthens33085-dnows33085); gsecss33085 = Math.floor(ddiffs33085.valueOf()/1000); CountBacks33085(gsecss33085);