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 (LeadingZeros33514 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33514(secs) { if (secs < 0) { document.getElementById("cntdwns33514").innerHTML = FinishMessages33514; return; } DisplayStrs33514 = DisplayFormats33514.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33514 = DisplayStrs33514.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33514 = DisplayStrs33514.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33514 = DisplayStrs33514.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33514").innerHTML = DisplayStrs33514; if (CountActives33514) //alert(SetTimeOutPeriods33514); setTimeout("CountBacks33514(" + (secs+CountSteppers33514) + ")", SetTimeOutPeriods33514); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33514)=="undefined") BackColors33514 = ""; if (typeof(ForeColors33514)=="undefined") ForeColors33514= "white"; if (typeof(TargetDates33514)=="undefined") TargetDates33514 = "02/11/2026 10:00:00 PM"; if (typeof(DisplayFormats33514)=="undefined") DisplayFormats33514 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33514)=="undefined") CountActives33514 = true; if (typeof(FinishMessages33514)=="undefined") FinishMessages33514 = ""; if (typeof(CountSteppers33514)!="number") CountSteppers33514 = -1; if (typeof(LeadingZeros33514)=="undefined") LeadingZeros33514 = true; CountSteppers33514 = Math.ceil(CountSteppers33514); if (CountSteppers33514 == 0) CountActives33514 = false; var SetTimeOutPeriods33514 = (Math.abs(CountSteppers33514)-1)*1000 + 990; puti(BackColors33514, ForeColors33514); var dthens33514 = new Date(TargetDates33514); var dnows33514 = new Date("02/08/2026 10:36:37 AM"); if(CountSteppers33514>0) ddiffs33514 = new Date(dnows33514-dthens33514); else ddiffs33514 = new Date(dthens33514-dnows33514); gsecss33514 = Math.floor(ddiffs33514.valueOf()/1000); CountBacks33514(gsecss33514);