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 (LeadingZeros33579 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33579(secs) { if (secs < 0) { document.getElementById("cntdwns33579").innerHTML = FinishMessages33579; return; } DisplayStrs33579 = DisplayFormats33579.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33579 = DisplayStrs33579.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33579 = DisplayStrs33579.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33579 = DisplayStrs33579.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33579").innerHTML = DisplayStrs33579; if (CountActives33579) //alert(SetTimeOutPeriods33579); setTimeout("CountBacks33579(" + (secs+CountSteppers33579) + ")", SetTimeOutPeriods33579); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33579)=="undefined") BackColors33579 = ""; if (typeof(ForeColors33579)=="undefined") ForeColors33579= "white"; if (typeof(TargetDates33579)=="undefined") TargetDates33579 = "02/20/2026 10:00:00 PM"; if (typeof(DisplayFormats33579)=="undefined") DisplayFormats33579 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33579)=="undefined") CountActives33579 = true; if (typeof(FinishMessages33579)=="undefined") FinishMessages33579 = ""; if (typeof(CountSteppers33579)!="number") CountSteppers33579 = -1; if (typeof(LeadingZeros33579)=="undefined") LeadingZeros33579 = true; CountSteppers33579 = Math.ceil(CountSteppers33579); if (CountSteppers33579 == 0) CountActives33579 = false; var SetTimeOutPeriods33579 = (Math.abs(CountSteppers33579)-1)*1000 + 990; puti(BackColors33579, ForeColors33579); var dthens33579 = new Date(TargetDates33579); var dnows33579 = new Date("02/18/2026 1:48:44 AM"); if(CountSteppers33579>0) ddiffs33579 = new Date(dnows33579-dthens33579); else ddiffs33579 = new Date(dthens33579-dnows33579); gsecss33579 = Math.floor(ddiffs33579.valueOf()/1000); CountBacks33579(gsecss33579);