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 (LeadingZeros34043 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks34043(secs) { if (secs < 0) { document.getElementById("cntdwns34043").innerHTML = FinishMessages34043; return; } DisplayStrs34043 = DisplayFormats34043.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs34043 = DisplayStrs34043.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs34043 = DisplayStrs34043.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs34043 = DisplayStrs34043.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns34043").innerHTML = DisplayStrs34043; if (CountActives34043) //alert(SetTimeOutPeriods34043); setTimeout("CountBacks34043(" + (secs+CountSteppers34043) + ")", SetTimeOutPeriods34043); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors34043)=="undefined") BackColors34043 = ""; if (typeof(ForeColors34043)=="undefined") ForeColors34043= "white"; if (typeof(TargetDates34043)=="undefined") TargetDates34043 = "07/29/2026 10:00:00 PM"; if (typeof(DisplayFormats34043)=="undefined") DisplayFormats34043 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives34043)=="undefined") CountActives34043 = true; if (typeof(FinishMessages34043)=="undefined") FinishMessages34043 = ""; if (typeof(CountSteppers34043)!="number") CountSteppers34043 = -1; if (typeof(LeadingZeros34043)=="undefined") LeadingZeros34043 = true; CountSteppers34043 = Math.ceil(CountSteppers34043); if (CountSteppers34043 == 0) CountActives34043 = false; var SetTimeOutPeriods34043 = (Math.abs(CountSteppers34043)-1)*1000 + 990; puti(BackColors34043, ForeColors34043); var dthens34043 = new Date(TargetDates34043); var dnows34043 = new Date("07/27/2026 11:08:27 AM"); if(CountSteppers34043>0) ddiffs34043 = new Date(dnows34043-dthens34043); else ddiffs34043 = new Date(dthens34043-dnows34043); gsecss34043 = Math.floor(ddiffs34043.valueOf()/1000); CountBacks34043(gsecss34043);