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 (LeadingZeros33529 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33529(secs) { if (secs < 0) { document.getElementById("cntdwns33529").innerHTML = FinishMessages33529; return; } DisplayStrs33529 = DisplayFormats33529.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33529 = DisplayStrs33529.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33529 = DisplayStrs33529.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33529 = DisplayStrs33529.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33529").innerHTML = DisplayStrs33529; if (CountActives33529) //alert(SetTimeOutPeriods33529); setTimeout("CountBacks33529(" + (secs+CountSteppers33529) + ")", SetTimeOutPeriods33529); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33529)=="undefined") BackColors33529 = ""; if (typeof(ForeColors33529)=="undefined") ForeColors33529= "white"; if (typeof(TargetDates33529)=="undefined") TargetDates33529 = "02/07/2026 10:00:00 PM"; if (typeof(DisplayFormats33529)=="undefined") DisplayFormats33529 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33529)=="undefined") CountActives33529 = true; if (typeof(FinishMessages33529)=="undefined") FinishMessages33529 = ""; if (typeof(CountSteppers33529)!="number") CountSteppers33529 = -1; if (typeof(LeadingZeros33529)=="undefined") LeadingZeros33529 = true; CountSteppers33529 = Math.ceil(CountSteppers33529); if (CountSteppers33529 == 0) CountActives33529 = false; var SetTimeOutPeriods33529 = (Math.abs(CountSteppers33529)-1)*1000 + 990; puti(BackColors33529, ForeColors33529); var dthens33529 = new Date(TargetDates33529); var dnows33529 = new Date("02/04/2026 5:28:27 PM"); if(CountSteppers33529>0) ddiffs33529 = new Date(dnows33529-dthens33529); else ddiffs33529 = new Date(dthens33529-dnows33529); gsecss33529 = Math.floor(ddiffs33529.valueOf()/1000); CountBacks33529(gsecss33529);