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 (LeadingZeros33975 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33975(secs) { if (secs < 0) { document.getElementById("cntdwns33975").innerHTML = FinishMessages33975; return; } DisplayStrs33975 = DisplayFormats33975.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33975 = DisplayStrs33975.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33975 = DisplayStrs33975.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33975 = DisplayStrs33975.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33975").innerHTML = DisplayStrs33975; if (CountActives33975) //alert(SetTimeOutPeriods33975); setTimeout("CountBacks33975(" + (secs+CountSteppers33975) + ")", SetTimeOutPeriods33975); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33975)=="undefined") BackColors33975 = ""; if (typeof(ForeColors33975)=="undefined") ForeColors33975= "white"; if (typeof(TargetDates33975)=="undefined") TargetDates33975 = "07/11/2026 10:00:00 PM"; if (typeof(DisplayFormats33975)=="undefined") DisplayFormats33975 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33975)=="undefined") CountActives33975 = true; if (typeof(FinishMessages33975)=="undefined") FinishMessages33975 = ""; if (typeof(CountSteppers33975)!="number") CountSteppers33975 = -1; if (typeof(LeadingZeros33975)=="undefined") LeadingZeros33975 = true; CountSteppers33975 = Math.ceil(CountSteppers33975); if (CountSteppers33975 == 0) CountActives33975 = false; var SetTimeOutPeriods33975 = (Math.abs(CountSteppers33975)-1)*1000 + 990; puti(BackColors33975, ForeColors33975); var dthens33975 = new Date(TargetDates33975); var dnows33975 = new Date("07/09/2026 5:22:39 AM"); if(CountSteppers33975>0) ddiffs33975 = new Date(dnows33975-dthens33975); else ddiffs33975 = new Date(dthens33975-dnows33975); gsecss33975 = Math.floor(ddiffs33975.valueOf()/1000); CountBacks33975(gsecss33975);