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 (LeadingZeros33341 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33341(secs) { if (secs < 0) { document.getElementById("cntdwns33341").innerHTML = FinishMessages33341; return; } DisplayStrs33341 = DisplayFormats33341.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33341 = DisplayStrs33341.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33341 = DisplayStrs33341.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33341 = DisplayStrs33341.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33341").innerHTML = DisplayStrs33341; if (CountActives33341) //alert(SetTimeOutPeriods33341); setTimeout("CountBacks33341(" + (secs+CountSteppers33341) + ")", SetTimeOutPeriods33341); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33341)=="undefined") BackColors33341 = ""; if (typeof(ForeColors33341)=="undefined") ForeColors33341= "white"; if (typeof(TargetDates33341)=="undefined") TargetDates33341 = "01/21/2026 10:00:00 PM"; if (typeof(DisplayFormats33341)=="undefined") DisplayFormats33341 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33341)=="undefined") CountActives33341 = true; if (typeof(FinishMessages33341)=="undefined") FinishMessages33341 = ""; if (typeof(CountSteppers33341)!="number") CountSteppers33341 = -1; if (typeof(LeadingZeros33341)=="undefined") LeadingZeros33341 = true; CountSteppers33341 = Math.ceil(CountSteppers33341); if (CountSteppers33341 == 0) CountActives33341 = false; var SetTimeOutPeriods33341 = (Math.abs(CountSteppers33341)-1)*1000 + 990; puti(BackColors33341, ForeColors33341); var dthens33341 = new Date(TargetDates33341); var dnows33341 = new Date("01/18/2026 10:44:07 PM"); if(CountSteppers33341>0) ddiffs33341 = new Date(dnows33341-dthens33341); else ddiffs33341 = new Date(dthens33341-dnows33341); gsecss33341 = Math.floor(ddiffs33341.valueOf()/1000); CountBacks33341(gsecss33341);