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 (LeadingZeros33811 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33811(secs) { if (secs < 0) { document.getElementById("cntdwns33811").innerHTML = FinishMessages33811; return; } DisplayStrs33811 = DisplayFormats33811.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33811 = DisplayStrs33811.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33811 = DisplayStrs33811.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33811 = DisplayStrs33811.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33811").innerHTML = DisplayStrs33811; if (CountActives33811) //alert(SetTimeOutPeriods33811); setTimeout("CountBacks33811(" + (secs+CountSteppers33811) + ")", SetTimeOutPeriods33811); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33811)=="undefined") BackColors33811 = ""; if (typeof(ForeColors33811)=="undefined") ForeColors33811= "white"; if (typeof(TargetDates33811)=="undefined") TargetDates33811 = "04/05/2026 10:00:00 PM"; if (typeof(DisplayFormats33811)=="undefined") DisplayFormats33811 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33811)=="undefined") CountActives33811 = true; if (typeof(FinishMessages33811)=="undefined") FinishMessages33811 = ""; if (typeof(CountSteppers33811)!="number") CountSteppers33811 = -1; if (typeof(LeadingZeros33811)=="undefined") LeadingZeros33811 = true; CountSteppers33811 = Math.ceil(CountSteppers33811); if (CountSteppers33811 == 0) CountActives33811 = false; var SetTimeOutPeriods33811 = (Math.abs(CountSteppers33811)-1)*1000 + 990; puti(BackColors33811, ForeColors33811); var dthens33811 = new Date(TargetDates33811); var dnows33811 = new Date("04/02/2026 1:33:47 PM"); if(CountSteppers33811>0) ddiffs33811 = new Date(dnows33811-dthens33811); else ddiffs33811 = new Date(dthens33811-dnows33811); gsecss33811 = Math.floor(ddiffs33811.valueOf()/1000); CountBacks33811(gsecss33811);