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 (LeadingZeros33404 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33404(secs) { if (secs < 0) { document.getElementById("cntdwns33404").innerHTML = FinishMessages33404; return; } DisplayStrs33404 = DisplayFormats33404.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33404 = DisplayStrs33404.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33404 = DisplayStrs33404.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33404 = DisplayStrs33404.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33404").innerHTML = DisplayStrs33404; if (CountActives33404) //alert(SetTimeOutPeriods33404); setTimeout("CountBacks33404(" + (secs+CountSteppers33404) + ")", SetTimeOutPeriods33404); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33404)=="undefined") BackColors33404 = ""; if (typeof(ForeColors33404)=="undefined") ForeColors33404= "white"; if (typeof(TargetDates33404)=="undefined") TargetDates33404 = "02/04/2026 10:00:00 PM"; if (typeof(DisplayFormats33404)=="undefined") DisplayFormats33404 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33404)=="undefined") CountActives33404 = true; if (typeof(FinishMessages33404)=="undefined") FinishMessages33404 = ""; if (typeof(CountSteppers33404)!="number") CountSteppers33404 = -1; if (typeof(LeadingZeros33404)=="undefined") LeadingZeros33404 = true; CountSteppers33404 = Math.ceil(CountSteppers33404); if (CountSteppers33404 == 0) CountActives33404 = false; var SetTimeOutPeriods33404 = (Math.abs(CountSteppers33404)-1)*1000 + 990; puti(BackColors33404, ForeColors33404); var dthens33404 = new Date(TargetDates33404); var dnows33404 = new Date("02/02/2026 6:49:57 PM"); if(CountSteppers33404>0) ddiffs33404 = new Date(dnows33404-dthens33404); else ddiffs33404 = new Date(dthens33404-dnows33404); gsecss33404 = Math.floor(ddiffs33404.valueOf()/1000); CountBacks33404(gsecss33404);