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 (LeadingZeros33405 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33405(secs) { if (secs < 0) { document.getElementById("cntdwns33405").innerHTML = FinishMessages33405; return; } DisplayStrs33405 = DisplayFormats33405.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33405 = DisplayStrs33405.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33405 = DisplayStrs33405.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33405 = DisplayStrs33405.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33405").innerHTML = DisplayStrs33405; if (CountActives33405) //alert(SetTimeOutPeriods33405); setTimeout("CountBacks33405(" + (secs+CountSteppers33405) + ")", SetTimeOutPeriods33405); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33405)=="undefined") BackColors33405 = ""; if (typeof(ForeColors33405)=="undefined") ForeColors33405= "white"; if (typeof(TargetDates33405)=="undefined") TargetDates33405 = "02/04/2026 10:00:00 PM"; if (typeof(DisplayFormats33405)=="undefined") DisplayFormats33405 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33405)=="undefined") CountActives33405 = true; if (typeof(FinishMessages33405)=="undefined") FinishMessages33405 = ""; if (typeof(CountSteppers33405)!="number") CountSteppers33405 = -1; if (typeof(LeadingZeros33405)=="undefined") LeadingZeros33405 = true; CountSteppers33405 = Math.ceil(CountSteppers33405); if (CountSteppers33405 == 0) CountActives33405 = false; var SetTimeOutPeriods33405 = (Math.abs(CountSteppers33405)-1)*1000 + 990; puti(BackColors33405, ForeColors33405); var dthens33405 = new Date(TargetDates33405); var dnows33405 = new Date("02/02/2026 6:49:57 PM"); if(CountSteppers33405>0) ddiffs33405 = new Date(dnows33405-dthens33405); else ddiffs33405 = new Date(dthens33405-dnows33405); gsecss33405 = Math.floor(ddiffs33405.valueOf()/1000); CountBacks33405(gsecss33405);