/* function EventDisplay used to display the selected event with a close button at the bottom. 
It is passed the event description and the window title (date)*/	
function EventDisplay(event,title) {

var closeButton = "<div align='center'><form><input type='button' class='button' name='button1' value='Close' onClick='window.close();'><\/form><\/div>";	
var style = "<style type='text/css'>.button{font-size:70%;color:red;}         <\/style>";

	eventWindow = window.open("", "eventdesc" ,"width=350, height=250, screenY=80, screenX=60, left=80, top=60, location=no, menubar=no, toolbar=no, scrollbars=yes")
	eventWindow.document.write("<html><head><title>",title,"<\/title>",style,"<\/head><body bgcolor='#ebe797' text='#000000'><table cellspacing='2'>")
	eventWindow.document.write("<tr><td>",title, " &nbsp;-<br /><br />", event,"<\/td><\/tr>")
	eventWindow.document.write("<tr><td><br><hr><br>", closeButton, "<\/td><\/tr>")
    eventWindow.document.write("<\/table><\/body><\/html>")
	eventWindow.document.close()
		}
 

