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 (LeadingZeros33826 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33826(secs) { if (secs < 0) { document.getElementById("cntdwns33826").innerHTML = FinishMessages33826; return; } DisplayStrs33826 = DisplayFormats33826.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33826 = DisplayStrs33826.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33826 = DisplayStrs33826.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33826 = DisplayStrs33826.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33826").innerHTML = DisplayStrs33826; if (CountActives33826) //alert(SetTimeOutPeriods33826); setTimeout("CountBacks33826(" + (secs+CountSteppers33826) + ")", SetTimeOutPeriods33826); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33826)=="undefined") BackColors33826 = ""; if (typeof(ForeColors33826)=="undefined") ForeColors33826= "white"; if (typeof(TargetDates33826)=="undefined") TargetDates33826 = "05/07/2026 10:00:00 PM"; if (typeof(DisplayFormats33826)=="undefined") DisplayFormats33826 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33826)=="undefined") CountActives33826 = true; if (typeof(FinishMessages33826)=="undefined") FinishMessages33826 = ""; if (typeof(CountSteppers33826)!="number") CountSteppers33826 = -1; if (typeof(LeadingZeros33826)=="undefined") LeadingZeros33826 = true; CountSteppers33826 = Math.ceil(CountSteppers33826); if (CountSteppers33826 == 0) CountActives33826 = false; var SetTimeOutPeriods33826 = (Math.abs(CountSteppers33826)-1)*1000 + 990; puti(BackColors33826, ForeColors33826); var dthens33826 = new Date(TargetDates33826); var dnows33826 = new Date("05/04/2026 8:31:01 PM"); if(CountSteppers33826>0) ddiffs33826 = new Date(dnows33826-dthens33826); else ddiffs33826 = new Date(dthens33826-dnows33826); gsecss33826 = Math.floor(ddiffs33826.valueOf()/1000); CountBacks33826(gsecss33826);