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 (LeadingZeros33583 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33583(secs) { if (secs < 0) { document.getElementById("cntdwns33583").innerHTML = FinishMessages33583; return; } DisplayStrs33583 = DisplayFormats33583.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33583 = DisplayStrs33583.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33583 = DisplayStrs33583.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33583 = DisplayStrs33583.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33583").innerHTML = DisplayStrs33583; if (CountActives33583) //alert(SetTimeOutPeriods33583); setTimeout("CountBacks33583(" + (secs+CountSteppers33583) + ")", SetTimeOutPeriods33583); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33583)=="undefined") BackColors33583 = ""; if (typeof(ForeColors33583)=="undefined") ForeColors33583= "white"; if (typeof(TargetDates33583)=="undefined") TargetDates33583 = "02/25/2026 10:00:00 PM"; if (typeof(DisplayFormats33583)=="undefined") DisplayFormats33583 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33583)=="undefined") CountActives33583 = true; if (typeof(FinishMessages33583)=="undefined") FinishMessages33583 = ""; if (typeof(CountSteppers33583)!="number") CountSteppers33583 = -1; if (typeof(LeadingZeros33583)=="undefined") LeadingZeros33583 = true; CountSteppers33583 = Math.ceil(CountSteppers33583); if (CountSteppers33583 == 0) CountActives33583 = false; var SetTimeOutPeriods33583 = (Math.abs(CountSteppers33583)-1)*1000 + 990; puti(BackColors33583, ForeColors33583); var dthens33583 = new Date(TargetDates33583); var dnows33583 = new Date("02/22/2026 2:00:59 AM"); if(CountSteppers33583>0) ddiffs33583 = new Date(dnows33583-dthens33583); else ddiffs33583 = new Date(dthens33583-dnows33583); gsecss33583 = Math.floor(ddiffs33583.valueOf()/1000); CountBacks33583(gsecss33583);