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 (LeadingZeros33728 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33728(secs) { if (secs < 0) { document.getElementById("cntdwns33728").innerHTML = FinishMessages33728; return; } DisplayStrs33728 = DisplayFormats33728.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33728 = DisplayStrs33728.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33728 = DisplayStrs33728.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33728 = DisplayStrs33728.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33728").innerHTML = DisplayStrs33728; if (CountActives33728) //alert(SetTimeOutPeriods33728); setTimeout("CountBacks33728(" + (secs+CountSteppers33728) + ")", SetTimeOutPeriods33728); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33728)=="undefined") BackColors33728 = ""; if (typeof(ForeColors33728)=="undefined") ForeColors33728= "white"; if (typeof(TargetDates33728)=="undefined") TargetDates33728 = "04/04/2026 11:00:00 PM"; if (typeof(DisplayFormats33728)=="undefined") DisplayFormats33728 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33728)=="undefined") CountActives33728 = true; if (typeof(FinishMessages33728)=="undefined") FinishMessages33728 = ""; if (typeof(CountSteppers33728)!="number") CountSteppers33728 = -1; if (typeof(LeadingZeros33728)=="undefined") LeadingZeros33728 = true; CountSteppers33728 = Math.ceil(CountSteppers33728); if (CountSteppers33728 == 0) CountActives33728 = false; var SetTimeOutPeriods33728 = (Math.abs(CountSteppers33728)-1)*1000 + 990; puti(BackColors33728, ForeColors33728); var dthens33728 = new Date(TargetDates33728); var dnows33728 = new Date("04/02/2026 11:21:26 PM"); if(CountSteppers33728>0) ddiffs33728 = new Date(dnows33728-dthens33728); else ddiffs33728 = new Date(dthens33728-dnows33728); gsecss33728 = Math.floor(ddiffs33728.valueOf()/1000); CountBacks33728(gsecss33728);