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 (LeadingZeros33684 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33684(secs) { if (secs < 0) { document.getElementById("cntdwns33684").innerHTML = FinishMessages33684; return; } DisplayStrs33684 = DisplayFormats33684.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33684 = DisplayStrs33684.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33684 = DisplayStrs33684.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33684 = DisplayStrs33684.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33684").innerHTML = DisplayStrs33684; if (CountActives33684) //alert(SetTimeOutPeriods33684); setTimeout("CountBacks33684(" + (secs+CountSteppers33684) + ")", SetTimeOutPeriods33684); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33684)=="undefined") BackColors33684 = ""; if (typeof(ForeColors33684)=="undefined") ForeColors33684= "white"; if (typeof(TargetDates33684)=="undefined") TargetDates33684 = "04/14/2026 11:00:00 PM"; if (typeof(DisplayFormats33684)=="undefined") DisplayFormats33684 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33684)=="undefined") CountActives33684 = true; if (typeof(FinishMessages33684)=="undefined") FinishMessages33684 = ""; if (typeof(CountSteppers33684)!="number") CountSteppers33684 = -1; if (typeof(LeadingZeros33684)=="undefined") LeadingZeros33684 = true; CountSteppers33684 = Math.ceil(CountSteppers33684); if (CountSteppers33684 == 0) CountActives33684 = false; var SetTimeOutPeriods33684 = (Math.abs(CountSteppers33684)-1)*1000 + 990; puti(BackColors33684, ForeColors33684); var dthens33684 = new Date(TargetDates33684); var dnows33684 = new Date("04/30/2026 9:33:07 AM"); if(CountSteppers33684>0) ddiffs33684 = new Date(dnows33684-dthens33684); else ddiffs33684 = new Date(dthens33684-dnows33684); gsecss33684 = Math.floor(ddiffs33684.valueOf()/1000); CountBacks33684(gsecss33684);