function showMenu(navMenu) {
	document.getElementById(navMenu).style.display = "block"
}

function webWin(webImg, webimgWid, webimgHit, webTitle) {

	newWindow = window.open("", "websiteWindow", "location=no, scrollbars=no, toolbar=no, width=615,height=480")
	newWindow.document.write("<html><head><title>" + webTitle + "<\/title><style type=\"text\/css\">body {background-color: #000; font-family: \"Arial\", \"Helvetica\", \"Verdana\", sans-serif; color: #ababab;} a:link, a:visited {color: #f86100; text-decoration: none;} a:active, a:focus, a:hover {color: #2a5f84; text-decoration: none;}<\/style><\/head>")
	newWindow.document.write("<body>")
	newWindow.document.write("<table border='0' cellpadding='0' cellspacing='0'>")
	newWindow.document.write("<tr align='center' valign='top'>")
	newWindow.document.write("<td><img src='..\/images\/" + webImg + "' width='" + webimgWid + "' ")
	newWindow.document.write("height='" + webimgHit + "' alt='' \/><br \/><br \/>")
	newWindow.document.write("<a href='' onclick='{self.close\(\)}'>&otimes; Close<\/a><\/td><\/tr><\/table>")
	newWindow.document.write("<\/body><\/html>")
	newWindow.document.close()
}

function gdWin(gdImg, gdimgWid, gdimgHit, gdTitle) {

	newWindow = window.open("", "graphicdWindow", "location=no, scrollbars=no, toolbar=no, width=555,height=230")
	newWindow.document.write("<html><head><title>" + gdTitle + "<\/title><\/head>")
	newWindow.document.write("<body bgcolor='#dedede' 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'>")
	newWindow.document.write("<td><img src='..\/images\/" + gdImg + "' width='" + gdimgWid + "' ")
	newWindow.document.write("height='" + gdimgHit + "' alt='Unable to display this image' \/><br \/>")
	newWindow.document.write("<a href='' onclick='{self.close\(\)}'>\-close this window\-<\/a><\/td><\/tr><\/table>")
	newWindow.document.write("<\/body><\/html>")
	newWindow.document.close()
}

function gdlongWin(gdImg, gdimgWid, gdimgHit, gdTitle) {

	newWindow = window.open("", "graphicdWindow", "location=no, scrollbars=no, toolbar=no, width=315,height=460")
	newWindow.document.write("<html><head><title>" + gdTitle + "<\/title><\/head>")
	newWindow.document.write("<body bgcolor='#dedede' 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'>")
	newWindow.document.write("<td><img src='..\/images\/" + gdImg + "' width='" + gdimgWid + "' ")
	newWindow.document.write("height='" + gdimgHit + "' alt='Unable to display this image' \/><br \/>")
	newWindow.document.write("<a href='' onclick='{self.close\(\)}'>\-close this window\-<\/a><\/td><\/tr><\/table>")
	newWindow.document.write("<\/body><\/html>")
	newWindow.document.close()
}

function videoWin(videoSrc, videoCopyr) {

	if (videoCopyr = 'atgCopyr') {
	copyrText = "&quot;Against the Grain&quot;, <i>Departures and Arrivals<\/i>, &copy;2003 Manifold Music"
	}
	else {
	copyrText = ""
	}

	newWindow = window.open("", "videoWindow", "location=no, scrollbars=no, toolbar=no, width=340,height=320")
	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='320' height='256'>")
	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='320' height='256' autoplay='true' controller='true' pluginspage='http:\/\/www.apple.com/quicktime/download/'>")
	newWindow.document.write("<\/embed><\/object>")
	newWindow.document.write("<\/td><\/tr><tr align='center' valign='middle'><td>")
	newWindow.document.write("<font size=\-2>" + copyrText + "<\/font>")
	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()
}

function audioWin(audioSrc) {

	newWindow = window.open(audioSrc, "audioWindow", "location=no, scrollbars=no, toolbar=no, width=400,height=25")
}


function portfolioMenu1() {
	document.getElementById('portf_websites').style.display = "block"
	document.getElementById('portf_graphicd').style.display = "none"
	document.getElementById('portf_audio').style.display = "none"
	document.getElementById('portf_video').style.display = "none"
	document.getElementById('portf_intro').style.display = "none"
	document.getElementById('portfolio_links').style.display = "block"
}

function portfolioMenu2() {
	document.getElementById('portf_websites').style.display = "none"
	document.getElementById('portf_graphicd').style.display = "block"
	document.getElementById('portf_audio').style.display = "none"
	document.getElementById('portf_video').style.display = "none"
	document.getElementById('portf_intro').style.display = "none"
	document.getElementById('portfolio_links').style.display = "block"
}

function portfolioMenu3() {
	document.getElementById('portf_websites').style.display = "none"
	document.getElementById('portf_graphicd').style.display = "none"
	document.getElementById('portf_audio').style.display = "block"
	document.getElementById('portf_video').style.display = "none"
	document.getElementById('portf_intro').style.display = "none"
	document.getElementById('portfolio_links').style.display = "block"
}

function portfolioMenu4() {
	document.getElementById('portf_websites').style.display = "none"
	document.getElementById('portf_graphicd').style.display = "none"
	document.getElementById('portf_audio').style.display = "none"
	document.getElementById('portf_video').style.display = "block"
	document.getElementById('portf_intro').style.display = "none"
	document.getElementById('portfolio_links').style.display = "block"
}

function portfolioMenu5() {
	document.getElementById('portf_websites').style.display = "none"
	document.getElementById('portf_graphicd').style.display = "none"
	document.getElementById('portf_audio').style.display = "none"
	document.getElementById('portf_video').style.display = "none"
	document.getElementById('portf_intro').style.display = "block"
	document.getElementById('portfolio_links').style.display = "none"
}

function descPyoga() {

	newWindow = window.open("", "textWindow", "location=no, scrollbars=no, toolbar=no, width=300,height=240")
	newWindow.document.write("<html><head><title>Presence Yoga Logo<\/title><style type=\"text\/css\">body {background-color: #efefef; font-family: \"Arial\", \"Helvetica\", \"Verdana\", sans-serif; font-size: 0.8em; color: #303030;} a:link, a:visited {color: #f86100; text-decoration:none;} a:focus, a:active, a:hover {color: #2a5f84; text-decoration:none;}	<\/style><\/head>")
	newWindow.document.write("<body>")
	newWindow.document.write("<table border='0' cellpadding='0' cellspacing='0'>")
	newWindow.document.write("<tr align='left' valign='top'>")
	newWindow.document.write("<td>")
	newWindow.document.write("\&nbsp\;\&nbsp\;<a href=\"http:\/\/www.presenceyoga.com\" onclick=\"\{window.open\(\'http:\/\/www.presenceyoga.com\',\'\', \'toolbar=yes, location=yes, scrollbars=yes\'\)\; return false\;\}\">Presence Yoga\'s<\/a> main image was created for use on their website and business cards. The design was intended to create a peaceful visual effect combined with a slightly old&ndash;world mystical feeling \(created primarily with the choice of font\). The sky blue background and lens flair provide a perception of calmness and invite a perspective of open\&ndash\;mindedness.")
	newWindow.document.write("<\/td><\/tr><tr align='center' valign='middle'><td><br \/><br \/>")
	newWindow.document.write("<a href='' onclick='{self.close\(\)}'>&otimes; Close<\/a><\/td><\/tr><\/table>")
	newWindow.document.write("<\/body><\/html>")
	newWindow.document.close()

}

function descVF2() {

	newWindow = window.open("", "textWindow", "location=no, scrollbars=no, toolbar=no, width=300,height=200")
	newWindow.document.write("<html><head><title>VF-2 Logo<\/title><style type=\"text\/css\">body {background-color: #efefef; font-family: \"Arial\", \"Helvetica\", \"Verdana\", sans-serif; font-size: 0.8em; color: #303030;} a:link, a:visited {color: #f86100; text-decoration:none;} a:focus, a:active, a:hover {color: #2a5f84; text-decoration:none;}	<\/style><\/head>")
	newWindow.document.write("<body>")
	newWindow.document.write("<table border='0' cellpadding='0' cellspacing='0'>")
	newWindow.document.write("<tr align='left' valign='top'>")
	newWindow.document.write("<td>")
	newWindow.document.write("&nbsp;&nbsp;This image was created as a website logo for Fighter Squadron TWO, one of the U.S. Navy\'s F&ndash;14 fighter squadrons. The logo combines various elements and aspects of life in a Navy fighter squadron, presenting a glimpse into the patriotic, fierce, tough and professional life that military members lead.")
	newWindow.document.write("<\/td><\/tr><tr align='center' valign='middle'><td><br \/>")
	newWindow.document.write("<a href='' onclick='{self.close\(\)}'>&otimes; Close<\/a><\/td><\/tr><\/table>")
	newWindow.document.write("<\/body><\/html>")
	newWindow.document.close()

}

function descPhillylive() {

	newWindow = window.open("", "textWindow", "location=no, scrollbars=no, toolbar=no, width=300,height=200")
	newWindow.document.write("<html><head><title>Philly LIVE Description<\/title><style type=\"text\/css\">body {background-color: #efefef; font-family: \"Arial\", \"Helvetica\", \"Verdana\", sans-serif; font-size: 0.8em; color: #303030;} a:link, a:visited {color: #f86100; text-decoration:none;} a:focus, a:active, a:hover {color: #2a5f84; text-decoration:none;}	<\/style><\/head>")
	newWindow.document.write("<body>")
	newWindow.document.write("<table border='0' cellpadding='0' cellspacing='0'>")
	newWindow.document.write("<tr align='left' valign='top'>")
	newWindow.document.write("<td>")
	newWindow.document.write("&nbsp;&nbsp;This image was created as the cover of a 3&ndash;disc boxed set for Dr. Ashok Gangadean, host of the local Philadelphia television show &quot;Philly<i>LIVE</i>&quot;. The boxed set was a showcase collection of 10 episodes, digitized and produced by aim54 Digital Solutions for Dr. Gangadean. ")
	newWindow.document.write("Visit his website at <a href=\"http:\/\/www.awakeningmind.org\" onclick=\"\{window.open\(\'http:\/\/www.awakeningmind.org\',\'\', \'toolbar=yes, location=yes, scrollbars=yes\'\); return false;\}\">http:\/\/www.awakeningmind.org<\/a>")
	newWindow.document.write("<\/td><\/tr><tr align='center' valign='middle'><td><br \/><br \/>")
	newWindow.document.write("<a href='' onclick='{self.close\(\)}'>&otimes; Close<\/a><\/td><\/tr><\/table>")
	newWindow.document.write("<\/body><\/html>")
	newWindow.document.close()

}

function videoInfo1() {

	newWindow = window.open("", "videoInfo", "location=no, scrollbars=no, toolbar=no, width=300,height=240")
	newWindow.document.write("<html><head><title>\'Against the Grain\' Video<\/title><style type=\"text\/css\">body {background-color: #efefef; font-family: \"Arial\", \"Helvetica\", \"Verdana\", sans-serif; font-size: 0.8em; color: #303030;} a:link, a:visited {color: #f86100; text-decoration:none;} a:focus, a:active, a:hover {color: #2a5f84; text-decoration:none;}	<\/style><\/head>")
	newWindow.document.write("<body>")
	newWindow.document.write("<table border='0' cellpadding='0' cellspacing='0'>")
	newWindow.document.write("<tr align='left' valign='top'>")
	newWindow.document.write("<td>")
	newWindow.document.write("&nbsp;&nbsp;&quot;Against the Grain&quot; is a music video filmed for Tucson-based rock group <a href=\"http:\/\/www.manifoldmusic.com\" onclick=\"\{window.open\(\'http:\/\/www.manifoldmusic.com\',\'\', \'toolbar=yes, location=yes, scrollbars=yes\'\); return false;\}\">Manifold<\/a>. The video was filmed on location in and around Philadelphia, PA, during the Christmas holiday of 2003 and features actors Devan and Ashley Gangadean (actually brother and sister). All direction, editing and production was provided by aim54 Digital Solutions and the video appears courtesy of <span class='italic'>Manifold<\/span>.")
	newWindow.document.write("<\/td><\/tr><tr align='center' valign='middle'><td><br \/><br\/>")
	newWindow.document.write("<a href='' onclick='{self.close\(\)}'>\&otimes; Close<\/a><\/td><\/tr><\/table>")
	newWindow.document.write("<\/body><\/html>")
	newWindow.document.close()

}

function audioDesc(audioText) {

	if (audioText = 'gdcDesc') {
	copyText = "The Keynote Address by Dr. Ashok Gangadean for the &quot;Global Dialogue Consortium&quot; was presented on cassette to aim54 Digital Solutions, where it was digitized and mastered before  being ripped to MP3 and placed on his website at <a href=\"http:\/\/www.awakeningmind.org\" onclick=\"\{window.open\(\'http:\/\/www.awakeningmind.org\',\'\', \'toolbar=yes, location=yes, scrollbars=yes\'\); return false;\}\">Awakening Mind.Org<\/a>. This is part 1 of the 2 part Keynote Address."
	}
	else {
	copyText = ""
	}

	newWindow = window.open("", "textWindow", "location=no, scrollbars=no, toolbar=no, width=300,height=200")
	newWindow.document.write("<html><head><title>Audio Description<\/title><style type=\"text\/css\">body {background-color: #efefef; font-family: \"Arial\", \"Helvetica\", \"Verdana\", sans-serif; font-size: 0.8em; color: #303030;} a:link, a:visited {color: #f86100; text-decoration:none;} a:focus, a:active, a:hover {color: #2a5f84; text-decoration:none;}	<\/style><\/head>")
	newWindow.document.write("<body>")
	newWindow.document.write("<table border='0' cellpadding='0' cellspacing='0'>")
	newWindow.document.write("<tr align='left' valign='top'>")
	newWindow.document.write("<td>")
	newWindow.document.write("&nbsp;&nbsp;" + copyText + "<\/td>")
	newWindow.document.write("<\/tr><tr align='center' valign='middle'><td><br \/><br \/>")
	newWindow.document.write("<a href='' onclick='{self.close\(\)}'>&otimes; Close<\/a><\/td><\/tr><\/table>")
	newWindow.document.write("<\/body><\/html>")
	newWindow.document.close()

}

awmImg = new Image
luxImg = new Image
chcImg = new Image
pyImg = new Image
jkImg = new Image

awmImg.src = "../images/awm_webimg_pview.jpg"
luxImg.src = "../images/lux_webimg_pview.jpg"
chcImg.src = "../images/chc_webimg_pview.jpg"
pyImg.src = "../images/pyoga_webimg_pview.jpg"
jkImg.src = "../images/jk_webimg_pview.jpg"


awmLink = "<a class=\"portf_link\" href=\"javascript:webWin('awm_webimg.jpg','600','356','Awakening Mind');\">"
luxLink = "<a class=\"portf_link\" href=\"javascript:webWin('lux_webimg.jpg','600','356','Lux Asset Group');\">"
chcLink = "<a class=\"portf_link\" href=\"javascript:webWin('chc_webimg.jpg', '600', '430', 'Cape Henry Coffee');\">"
pyLink = "<a class=\"portf_link\" href=\"javascript:webWin('pyoga_webimg.jpg','600','450','Presence Yoga');\">"
jkLink = "<a class=\"portf_link\" href=\"javascript:webWin('jk_webimg.jpg','600','430','Julia Keller');\">"

awmTxt = "<span class=\"boldit\">Awakening Mind.Org</span><br /><a class=\"portf_link\" href=\"javascript:window.open('http://www.awakeningmind.org', '', 'location=yes, scrollbars=yes, toolbar=yes');\">http://www.awakeningmind.org</a>"

luxTxt = "<span class=\"boldit\">LUX Asset Group</span><br /><a class=\"portf_link\" href=\"javascript:window.open('http://www.luxasset.com', '', 'location=yes, scrollbars=yes, toolbar=yes');\">http://www.luxasset.com</a>"

chcTxt = "<span class=\"boldit\">Cape Henry Coffee</span><br /><a class=\"portf_link\" href=\"javascript:window.open('http://www.capehenrycoffee.com', '', 'location=yes, scrollbars=yes, toolbar=yes');\">http://www.capehenrycoffee.com</a>"

pyTxt = "<span class=\"boldit\">Presence Yoga</span><br /><a class=\"portf_link\" href=\"javascript:window.open('http://www.presenceyoga.com', '', 'location=yes, scrollbars=yes, toolbar=yes');\">http://www.presenceyoga.com</a>"

jkTxt = "<span class=\"boldit\">Julia Keller, Attorney at Law</span><br /><a class=\"portf_link\" href=\"javascript:window.open('http://www.aim54.com/juliakeller/', '', 'location=yes, scrollbars=yes, toolbar=yes');\">http://www.aim54.com/juliakeller/</a>"

function changeImg(newImg) {

awmImg = new Image
luxImg = new Image
chcImg = new Image
pyImg = new Image
jkImg = new Image

awmImg.src = "../images/awm_webimg_pview.jpg"
luxImg.src = "../images/lux_webimg_pview.jpg"
chcImg.src = "../images/chc_webimg_pview.jpg"
pyImg.src = "../images/pyoga_webimg_pview.jpg"
jkImg.src = "../images/jk_webimg_pview.jpg"


awmLink = "<a class=\"portf_link\" href=\"javascript:webWin('awm_webimg.jpg','600','356','Awakening Mind');\">"
luxLink = "<a class=\"portf_link\" href=\"javascript:webWin('lux_webimg.jpg','600','356','Lux Asset Group');\">"
chcLink = "<a class=\"portf_link\" href=\"javascript:webWin('chc_webimg.jpg', '600', '430', 'Cape Henry Coffee');\">"
pyLink = "<a class=\"portf_link\" href=\"javascript:webWin('pyoga_webimg.jpg','600','450','Presence Yoga');\">"
jkLink = "<a class=\"portf_link\" href=\"javascript:webWin('jk_webimg.jpg','600','430','Julia Keller');\">"

awmTxt = "<span class=\"boldit\">Awakening Mind.Org</span><br /><a class=\"portf_link\" href=\"http://www.awakeningmind.org\" onclick=\"{window.open('http://www.awakeningmind.org', '', 'location=yes, scrollbars=yes, toolbar=yes'); return false;}\">http://www.awakeningmind.org</a>"

luxTxt = "<span class=\"boldit\">LUX Asset Group</span><br /><a class=\"portf_link\" href=\"http://www.luxasset.com\" onclick=\"{window.open('http://www.luxasset.com', '', 'location=yes, scrollbars=yes, toolbar=yes'); return false;}\">http://www.luxasset.com</a>"

chcTxt = "<span class=\"boldit\">Cape Henry Coffee</span><br /><a class=\"portf_link\" href=\"http://www.capehenrycoffee.com\" onclick=\"{window.open('http://www.capehenrycoffee.com', '', 'location=yes, scrollbars=yes, toolbar=yes'); return false;}\">http://www.capehenrycoffee.com</a>"

pyTxt = "<span class=\"boldit\">Presence Yoga</span><br /><a class=\"portf_link\" href=\"http://www.presenceyoga.com\" onclick=\"{window.open('http://www.presenceyoga.com', '', 'location=yes, scrollbars=yes, toolbar=yes'); return false;}\">http://www.presenceyoga.com</a>"

jkTxt = "<span class=\"boldit\">Julia Keller, Attorney at Law</span><br /><a class=\"portf_link\" href=\"http://www.aim54.com/juliakeller/\" onclick=\"{window.open('http://www.aim54.com/juliakeller/', '', 'location=yes, scrollbars=yes, toolbar=yes'); return false;}\">http://www.aim54.com/juliakeller/</a>"

	if (newImg == "awm") {
		rep = document.getElementById.t_text.
		rep.appendChild(awmTxt)
		document.v_img.src = awmImg.src
	}
	else if (newImg == "lux") {
		newText = document.createTextNode(luxTxt)
		rep = document.getElementById('t_text')
		rep.appendChild(newText)
		document.v_img.src = luxImg.src
	}
	else if (newImg == "chc") {
		document.getElementById.t_text = chcTxt
		document.v_img.src = chcImg.src
	}
	else if (newImg == "pyoga") {
		document.getElementById.t_text = pyTxt
		document.v_img.src = pyImg.src
	}
	else if (newImg == "juliak") {
		document.getElementById.t_text = jkTxt
		document.v_img.src = jkImg.src
	}
}


