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 (LeadingZeros33093 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33093(secs) { if (secs < 0) { document.getElementById("cntdwns33093").innerHTML = FinishMessages33093; return; } DisplayStrs33093 = DisplayFormats33093.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33093 = DisplayStrs33093.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33093 = DisplayStrs33093.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33093 = DisplayStrs33093.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33093").innerHTML = DisplayStrs33093; if (CountActives33093) //alert(SetTimeOutPeriods33093); setTimeout("CountBacks33093(" + (secs+CountSteppers33093) + ")", SetTimeOutPeriods33093); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33093)=="undefined") BackColors33093 = ""; if (typeof(ForeColors33093)=="undefined") ForeColors33093= "white"; if (typeof(TargetDates33093)=="undefined") TargetDates33093 = "11/25/2025 10:00:00 PM"; if (typeof(DisplayFormats33093)=="undefined") DisplayFormats33093 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33093)=="undefined") CountActives33093 = true; if (typeof(FinishMessages33093)=="undefined") FinishMessages33093 = ""; if (typeof(CountSteppers33093)!="number") CountSteppers33093 = -1; if (typeof(LeadingZeros33093)=="undefined") LeadingZeros33093 = true; CountSteppers33093 = Math.ceil(CountSteppers33093); if (CountSteppers33093 == 0) CountActives33093 = false; var SetTimeOutPeriods33093 = (Math.abs(CountSteppers33093)-1)*1000 + 990; puti(BackColors33093, ForeColors33093); var dthens33093 = new Date(TargetDates33093); var dnows33093 = new Date("11/23/2025 8:21:38 PM"); if(CountSteppers33093>0) ddiffs33093 = new Date(dnows33093-dthens33093); else ddiffs33093 = new Date(dthens33093-dnows33093); gsecss33093 = Math.floor(ddiffs33093.valueOf()/1000); CountBacks33093(gsecss33093);