function openImportantMessage () {
	win = window.open ("important_message.htm", "important_message", "height=480,width=600");
	win.location = "important_message.htm"
}

function openEventFlyer () {
	win = window.open ("event_flyer.htm", "event_flyer", "height=480,width=600");
	win.location = "event_flyer.htm"
}

function openEventFlyer1 () {
	win = window.open ("event_flyer1.htm", "event_flyer1", "height=480,width=600");
	win.location = "event_flyer1.htm"
}

function openEventFlyer2 () {
	win = window.open ("event_flyer2.htm", "event_flyer2", "height=480,width=600");
	win.location = "event_flyer2.htm"
}

function closeWindow() {
        window.close();
}

function openMusicbuttons () {
	win = window.open ("music/music1.htm", "music1", "height=200,width=400");
	win.location = "music/music1.htm"
}

function openUpcomingevents () {
	win = window.open ("upcomingevents.htm", "upcomingevents", "height=450,width=600");
	win.location = "upcomingevents.htm"
}

function openSpaghetti () {
	win = window.open ("spaghetti_dinner.htm", "spaghetti_dinner", "height=480,width=600");
	win.location = "spaghetti_dinner.htm"
}

function openSuperbowl () {
	win = window.open ("superbowl.htm", "superbowl", "height=480,width=600");
	win.location = "superbowl.htm"
}

function openNewyears () {
	win = window.open ("newyears05.htm", "newyears05", "height=480,width=600");
	win.location = "newyears05.htm"
}

function openNeedphoto () {
	win = window.open ("needphoto.htm", "needphoto", "height=300,width=400");
	win.location = "needphoto.htm"
}

function srand() {
  // adapted from Stefan Koch's "Introduction to JavaScript" with thanks.
  today = new Date();
  rand = Math.abs(Math.sin(today.getTime()));
 }
