function showPhoto(vImage,vWidth,vHeight,vName,vShowName) {
	if(vShowName==1){thisHeight = (vHeight+40); } else {thisHeight = vHeight;}
		msg=window.open("","","height=" + (thisHeight + 50) + ",width=" + (vWidth+50) + ",left='0',top='0'");
		msg.document.write("<html>");
		msg.document.write("<head><title>"+vName+"</title><link rel='stylesheet' type='text/css' href='main.css'></head>");
		msg.document.write("<body class='popup' onclick='self.close()' onblur='self.close()' marginheight='0' topmargin='0' marginwidth='0' leftmargin='0'>");
		msg.document.write('<table align="center" width="100%" height="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="center"><table align="center" width="100%" height="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="center">');
		msg.document.write("<center><a href='javaScript:self.close()'><img border='0' src='" + vImage + "' width='" + vWidth + "' height='" + vHeight + "'></a>");
		if(vShowName==1) { msg.document.write("<br>"+vName+"</center>");}
		msg.document.write('</td></tr></table></td></tr></table>');
		msg.document.write("</body></html>");
		return msg;
}	
function showNav(strSearch){
	if(strSearch.indexOf("bio.")>=0){document.write('<b href="bio.html" class="nav">artist bio</b><br>');}else{document.write('<a href="bio.html" class="nav">artist bio</a><br>');}
	if(strSearch.indexOf("statement.")>=0){document.write('<b href="statement.html" class="nav">statement</b><br>');}else{document.write('<a href="statement.html" class="nav">statement</a><br>');}
	if(strSearch.indexOf("art.")>=0){document.write('<b href="art.html" class="nav">art</b><br>');}else{document.write('<a href="art.html" class="nav">art</a><br>');}
	if(strSearch.indexOf("pillows.")>=0){document.write('<b href="pillows.html" class="nav">pillows</b><br>');}else{document.write('<a href="pillows.html" class="nav">pillows</a><br>');}
	if(strSearch.indexOf("_info.")>=0){document.write('<b href="pillows_info.html" class="nav">more info: pillows</b><br>');}else{document.write('<a href="pillows_info.html" class="nav">more info: pillows</a><br>');}
	
	//document.write('<a href="javaScript:alert(\'* links page coming soon\'); void(0)" class="nav">links*</a><br>')
	
	if(strSearch.indexOf("links.")>=0){document.write('<b href="links.html" class="nav">links</b><br>');}else{document.write('<a href="links.html" class="nav">links</a><br>');}
	if(strSearch.indexOf("calendar.")>=0){document.write('<b href="calendar.html" class="nav">exhibition calendar</b><br>');}else{document.write('<a href="calendar.html" class="nav">exhibition calendar</a><br>');}
	
	//document.write('<a href="javaScript:alert(\'* highlights page coming soon\'); void(0)" class="nav">highlights*</a><br>')
	
	if(strSearch.indexOf("highlights.")>=0){document.write('<b href="highlights.html" class="nav">highlights</b><br>');}else{document.write('<a href="highlights.html" class="nav">highlights</a><br>');}
	document.write('<font class="credit">Email:</font><br><a href="mailto:marybeth@mbytextiles.com" class="credit">marybeth@mbytextiles.com</a><p><font class="credit">913.908.0831</font>')
	//document.write('<br>* coming soon<br>')
}
	

