function dropMenu(currMenu) {

	if (document.getElementById) {
		thisMenu = document.getElementById(currMenu).style
		thisMenu.display = "block"
	}
}


function closeMenu(currMenu) {

	if (document.getElementById) {
		thisMenu = document.getElementById(currMenu).style
		thisMenu.display = "none"
	}
}


function imgWin(currImage) {

	picWin = window.open("", "pictureWindow", "toolbar=no, location=no, scrollbars=no, resizeable=no, width=500, height=350")

	picWin.document.write("<html><head><title>Photo Window<\/title><\/head>")
	picWin.document.write("<body bgcolor='#000000' font='#dedede' link='#2525ab' vlink='#2525ab' alink='#2525ab'>")
	picWin.document.write("<table border='0' width='100%' height='100%' cellpadding='0' cellspacing='0'>")
	picWin.document.write("<tr align='center' valign='middle'><td>")
	picWin.document.write("<img src='" + currImage + "'width='430' height='285' alt='Unable to display image.' \/>")
	picWin.document.write("<br \/><br \/>")
	picWin.document.write("<a href='' onclick='{self.close\(\)}'>Close Window<\/a><\/td><\/tr><\/table><\/body><\/html>")
	picWin.document.close()

}

function showMenu(currMenu, menuHide1, menuHide2) {

	document.getElementById(currMenu).style.display = "block"
	document.getElementById(menuHide1).style.display = "none"
	document.getElementById(menuHide2).style.display = "none"
	document.getElementById('quotetext').style.display = "none"
	document.getElementById('sm_logo_img').style.display = "none"

}

function hideMenus() {

	document.getElementById('quotetext').style.display = "block"
	document.getElementById('sm_logo_img').style.display = "block"
	document.getElementById('gcmenudiv').style.display = "none"
	document.getElementById('philomenudiv').style.display = "none"
	document.getElementById('ashmenudiv').style.display = "none"
}


function videoWin(videoSrc) {

	newWindow = window.open("", "videoWindow", "location=no, scrollbars=no, toolbar=no, width=260,height=235")
	newWindow.document.write("<html><head><title>Video Window<\/title><\/head>")
	newWindow.document.write("<body bgcolor='#000000' text='#ababab' link='#f86100' alink='#2a5f84' vlink='#f86100'>")
	newWindow.document.write("<table border='0' cellpadding='0' cellspacing='0'>")
	newWindow.document.write("<tr align='center' valign='top'><td>")
	newWindow.document.write("<object classid='clsid:02bf25d5\-8c17\-4b23\-bc80\-d3488abddc6b' codebase='http:\/\/www.apple.com\/qtactivex\/qtplugin.cab' width='240' height='196'>")
	newWindow.document.write("<param name='src' value='" + videoSrc +"' \/>")
	newWindow.document.write("<param name='autoplay' value='true' \/><param name='controller' value='true' \/>")
	newWindow.document.write("<embed src='" + videoSrc + "' width='240' height='196' autoplay='true' controller='true' pluginspage='http:\/\/www.apple.com\/quicktime\/products\/qt\/'>")
	newWindow.document.write("<\/embed><\/object>")
	newWindow.document.write("<\/td><\/tr><tr align='center' valign='middle'><td>")
	newWindow.document.write("<a href='' onclick='{self.close\(\)}'>\-close this window\-<\/a><\/td><\/tr><\/table>")
	newWindow.document.write("<\/body><\/html>")
	newWindow.document.close()
}

