var md=new Date(); var ye=md.getFullYear(); var mon=md.getMonth(); var da=md.getDate(); var w=md.getDay(); var h=md.getHours(); var m=md.getMinutes(); var s=md.getSeconds(); 
if (s < 10) { s="0"+s; } 
if (m < 10) { m="0"+m; }
if (h > 12) { h=h-12; s=s+" PM"; } 
else if (h == 12) { s=s+" PM"; } 
else { s=s+" AM"; } 
var war=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var monar=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
document.write("<br><CENTER>You can find directions, accommodations, and dining at: <a target='new' href='http://www.visitfindlay.com/default.aspx'>http://www.visitfindlay.com/default.aspx</a>.<br><br>"); document.write("If you have any problems with this website, please email <A target='mainpage' href='emailwebmaster.htm'>webmaster@nwoantiquemachinery.com</A>."); document.write("<br>If you have any questions about the content of this website, please email <A target='mainpage' href='emailinfo.htm'>info@nwoantiquemachinery.com</A>."); document.write("<br><br>Today is "+war[w]+" "+monar[mon]+" "+da+", "+ye+" "+h+":"+m+":"+s+"<br>");var today=new Date(); var theoccasion=new Date(2010, 7, 5); var beforeOccasionText="left until The Show"; var one_day=1000*60*60*24; var calculatediff=""; calculatediff=Math.ceil((theoccasion.getTime()-today.getTime())/(one_day)); var pluraldayornot=(calculatediff==1)? "day" : "days"; var isorare=(calculatediff==1)? "is" : "are"; if (calculatediff>0){	document.write("<b>There "+isorare+" "+calculatediff+" "+pluraldayornot+" "+beforeOccasionText+"!</b>");} else if (calculatediff==0){	document.write("<b>Today is the first day of The Show!<br><a target='mainpage' href='events.htm#thursday'>Click here to find out what is happening today!</a></b>");} else if (calculatediff==-1){	document.write("<b>Today is the second day of The Show!<br><a target='mainpage' href='events.htm#friday'>Click here to find out what is happening today!</a></b>");} else if (calculatediff==-2){	document.write("<b>Today is the third day of The Show!<br><a target='mainpage' href='events.htm#saturday'>Click here to find out what is happening today!</a></b>");} else if (calculatediff==-3){	document.write("<b>Today is the fourth day of The Show!<br><a target='mainpage' href='events.htm#sunday'>Click here to find out what is happening today!</a></b>");} else{ document.write("<b>Hope you enjoyed The Show! Join us next year at:<br><a target='mainpage' href='mainpage.htm'>The Northwest Ohio Antique Machinery Show!</a></b>");}document.write("<br><br><h5><b>&copy "+ye+" Northwest Ohio Antique Machinery Association</b></h5>"); document.write("This site was last updated July 28, 2010</center>");