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 (LeadingZeros33539 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33539(secs) { if (secs < 0) { document.getElementById("cntdwns33539").innerHTML = FinishMessages33539; return; } DisplayStrs33539 = DisplayFormats33539.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33539 = DisplayStrs33539.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33539 = DisplayStrs33539.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33539 = DisplayStrs33539.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33539").innerHTML = DisplayStrs33539; if (CountActives33539) //alert(SetTimeOutPeriods33539); setTimeout("CountBacks33539(" + (secs+CountSteppers33539) + ")", SetTimeOutPeriods33539); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33539)=="undefined") BackColors33539 = ""; if (typeof(ForeColors33539)=="undefined") ForeColors33539= "white"; if (typeof(TargetDates33539)=="undefined") TargetDates33539 = "03/07/2026 10:00:00 PM"; if (typeof(DisplayFormats33539)=="undefined") DisplayFormats33539 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33539)=="undefined") CountActives33539 = true; if (typeof(FinishMessages33539)=="undefined") FinishMessages33539 = ""; if (typeof(CountSteppers33539)!="number") CountSteppers33539 = -1; if (typeof(LeadingZeros33539)=="undefined") LeadingZeros33539 = true; CountSteppers33539 = Math.ceil(CountSteppers33539); if (CountSteppers33539 == 0) CountActives33539 = false; var SetTimeOutPeriods33539 = (Math.abs(CountSteppers33539)-1)*1000 + 990; puti(BackColors33539, ForeColors33539); var dthens33539 = new Date(TargetDates33539); var dnows33539 = new Date("03/05/2026 2:39:29 AM"); if(CountSteppers33539>0) ddiffs33539 = new Date(dnows33539-dthens33539); else ddiffs33539 = new Date(dthens33539-dnows33539); gsecss33539 = Math.floor(ddiffs33539.valueOf()/1000); CountBacks33539(gsecss33539);