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 (LeadingZeros33934 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33934(secs) { if (secs < 0) { document.getElementById("cntdwns33934").innerHTML = FinishMessages33934; return; } DisplayStrs33934 = DisplayFormats33934.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33934 = DisplayStrs33934.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33934 = DisplayStrs33934.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33934 = DisplayStrs33934.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33934").innerHTML = DisplayStrs33934; if (CountActives33934) //alert(SetTimeOutPeriods33934); setTimeout("CountBacks33934(" + (secs+CountSteppers33934) + ")", SetTimeOutPeriods33934); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33934)=="undefined") BackColors33934 = ""; if (typeof(ForeColors33934)=="undefined") ForeColors33934= "white"; if (typeof(TargetDates33934)=="undefined") TargetDates33934 = "07/07/2026 11:00:00 PM"; if (typeof(DisplayFormats33934)=="undefined") DisplayFormats33934 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33934)=="undefined") CountActives33934 = true; if (typeof(FinishMessages33934)=="undefined") FinishMessages33934 = ""; if (typeof(CountSteppers33934)!="number") CountSteppers33934 = -1; if (typeof(LeadingZeros33934)=="undefined") LeadingZeros33934 = true; CountSteppers33934 = Math.ceil(CountSteppers33934); if (CountSteppers33934 == 0) CountActives33934 = false; var SetTimeOutPeriods33934 = (Math.abs(CountSteppers33934)-1)*1000 + 990; puti(BackColors33934, ForeColors33934); var dthens33934 = new Date(TargetDates33934); var dnows33934 = new Date("07/05/2026 9:33:51 PM"); if(CountSteppers33934>0) ddiffs33934 = new Date(dnows33934-dthens33934); else ddiffs33934 = new Date(dthens33934-dnows33934); gsecss33934 = Math.floor(ddiffs33934.valueOf()/1000); CountBacks33934(gsecss33934);