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 (LeadingZeros33790 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33790(secs) { if (secs < 0) { document.getElementById("cntdwns33790").innerHTML = FinishMessages33790; return; } DisplayStrs33790 = DisplayFormats33790.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33790 = DisplayStrs33790.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33790 = DisplayStrs33790.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33790 = DisplayStrs33790.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33790").innerHTML = DisplayStrs33790; if (CountActives33790) //alert(SetTimeOutPeriods33790); setTimeout("CountBacks33790(" + (secs+CountSteppers33790) + ")", SetTimeOutPeriods33790); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33790)=="undefined") BackColors33790 = ""; if (typeof(ForeColors33790)=="undefined") ForeColors33790= "white"; if (typeof(TargetDates33790)=="undefined") TargetDates33790 = "04/03/2026 10:00:00 PM"; if (typeof(DisplayFormats33790)=="undefined") DisplayFormats33790 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33790)=="undefined") CountActives33790 = true; if (typeof(FinishMessages33790)=="undefined") FinishMessages33790 = ""; if (typeof(CountSteppers33790)!="number") CountSteppers33790 = -1; if (typeof(LeadingZeros33790)=="undefined") LeadingZeros33790 = true; CountSteppers33790 = Math.ceil(CountSteppers33790); if (CountSteppers33790 == 0) CountActives33790 = false; var SetTimeOutPeriods33790 = (Math.abs(CountSteppers33790)-1)*1000 + 990; puti(BackColors33790, ForeColors33790); var dthens33790 = new Date(TargetDates33790); var dnows33790 = new Date("04/01/2026 3:59:36 PM"); if(CountSteppers33790>0) ddiffs33790 = new Date(dnows33790-dthens33790); else ddiffs33790 = new Date(dthens33790-dnows33790); gsecss33790 = Math.floor(ddiffs33790.valueOf()/1000); CountBacks33790(gsecss33790);