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 (LeadingZeros33543 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33543(secs) { if (secs < 0) { document.getElementById("cntdwns33543").innerHTML = FinishMessages33543; return; } DisplayStrs33543 = DisplayFormats33543.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33543 = DisplayStrs33543.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33543 = DisplayStrs33543.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33543 = DisplayStrs33543.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33543").innerHTML = DisplayStrs33543; if (CountActives33543) //alert(SetTimeOutPeriods33543); setTimeout("CountBacks33543(" + (secs+CountSteppers33543) + ")", SetTimeOutPeriods33543); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33543)=="undefined") BackColors33543 = ""; if (typeof(ForeColors33543)=="undefined") ForeColors33543= "white"; if (typeof(TargetDates33543)=="undefined") TargetDates33543 = "02/15/2026 10:00:00 PM"; if (typeof(DisplayFormats33543)=="undefined") DisplayFormats33543 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33543)=="undefined") CountActives33543 = true; if (typeof(FinishMessages33543)=="undefined") FinishMessages33543 = ""; if (typeof(CountSteppers33543)!="number") CountSteppers33543 = -1; if (typeof(LeadingZeros33543)=="undefined") LeadingZeros33543 = true; CountSteppers33543 = Math.ceil(CountSteppers33543); if (CountSteppers33543 == 0) CountActives33543 = false; var SetTimeOutPeriods33543 = (Math.abs(CountSteppers33543)-1)*1000 + 990; puti(BackColors33543, ForeColors33543); var dthens33543 = new Date(TargetDates33543); var dnows33543 = new Date("02/13/2026 7:17:54 PM"); if(CountSteppers33543>0) ddiffs33543 = new Date(dnows33543-dthens33543); else ddiffs33543 = new Date(dthens33543-dnows33543); gsecss33543 = Math.floor(ddiffs33543.valueOf()/1000); CountBacks33543(gsecss33543);