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 (LeadingZeros33743 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33743(secs) { if (secs < 0) { document.getElementById("cntdwns33743").innerHTML = FinishMessages33743; return; } DisplayStrs33743 = DisplayFormats33743.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33743 = DisplayStrs33743.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33743 = DisplayStrs33743.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33743 = DisplayStrs33743.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33743").innerHTML = DisplayStrs33743; if (CountActives33743) //alert(SetTimeOutPeriods33743); setTimeout("CountBacks33743(" + (secs+CountSteppers33743) + ")", SetTimeOutPeriods33743); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33743)=="undefined") BackColors33743 = ""; if (typeof(ForeColors33743)=="undefined") ForeColors33743= "white"; if (typeof(TargetDates33743)=="undefined") TargetDates33743 = "04/03/2026 11:00:00 PM"; if (typeof(DisplayFormats33743)=="undefined") DisplayFormats33743 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33743)=="undefined") CountActives33743 = true; if (typeof(FinishMessages33743)=="undefined") FinishMessages33743 = ""; if (typeof(CountSteppers33743)!="number") CountSteppers33743 = -1; if (typeof(LeadingZeros33743)=="undefined") LeadingZeros33743 = true; CountSteppers33743 = Math.ceil(CountSteppers33743); if (CountSteppers33743 == 0) CountActives33743 = false; var SetTimeOutPeriods33743 = (Math.abs(CountSteppers33743)-1)*1000 + 990; puti(BackColors33743, ForeColors33743); var dthens33743 = new Date(TargetDates33743); var dnows33743 = new Date("04/01/2026 2:09:28 PM"); if(CountSteppers33743>0) ddiffs33743 = new Date(dnows33743-dthens33743); else ddiffs33743 = new Date(dthens33743-dnows33743); gsecss33743 = Math.floor(ddiffs33743.valueOf()/1000); CountBacks33743(gsecss33743);