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 (LeadingZeros33560 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33560(secs) { if (secs < 0) { document.getElementById("cntdwns33560").innerHTML = FinishMessages33560; return; } DisplayStrs33560 = DisplayFormats33560.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33560 = DisplayStrs33560.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33560 = DisplayStrs33560.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33560 = DisplayStrs33560.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33560").innerHTML = DisplayStrs33560; if (CountActives33560) //alert(SetTimeOutPeriods33560); setTimeout("CountBacks33560(" + (secs+CountSteppers33560) + ")", SetTimeOutPeriods33560); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33560)=="undefined") BackColors33560 = ""; if (typeof(ForeColors33560)=="undefined") ForeColors33560= "white"; if (typeof(TargetDates33560)=="undefined") TargetDates33560 = "02/15/2026 10:00:00 PM"; if (typeof(DisplayFormats33560)=="undefined") DisplayFormats33560 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33560)=="undefined") CountActives33560 = true; if (typeof(FinishMessages33560)=="undefined") FinishMessages33560 = ""; if (typeof(CountSteppers33560)!="number") CountSteppers33560 = -1; if (typeof(LeadingZeros33560)=="undefined") LeadingZeros33560 = true; CountSteppers33560 = Math.ceil(CountSteppers33560); if (CountSteppers33560 == 0) CountActives33560 = false; var SetTimeOutPeriods33560 = (Math.abs(CountSteppers33560)-1)*1000 + 990; puti(BackColors33560, ForeColors33560); var dthens33560 = new Date(TargetDates33560); var dnows33560 = new Date("02/13/2026 3:15:17 AM"); if(CountSteppers33560>0) ddiffs33560 = new Date(dnows33560-dthens33560); else ddiffs33560 = new Date(dthens33560-dnows33560); gsecss33560 = Math.floor(ddiffs33560.valueOf()/1000); CountBacks33560(gsecss33560);