// JavaScript Document
function getSwf(pName){
	document.write('<object lassid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="531" height="600">');
	document.write('<param name="movie" value="images/img_display.swf?sCurrPortfolio='+pName+'" />');
	document.write('<param name=quality value=high />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<embed src="images/img_display.swf?sCurrPortfolio='+pName+'" quality="high" wmode="transparent"  pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="531" height="600">');
	document.write('</embed>');
	document.write('</object>');
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  viewWin = window.open(theURL,winName,features);
  viewWin.focus();
}

var viewWin = null; 
<!-- Supplied by http://www.hypergurl.com --> 
function openindex(imageSource, title, width, height) {
	var widthHeightString = "width="+width+",height="+height;
	
	var viewWin=window.open("", "newwin",widthHeightString); 
	if(viewWin.document.getElementById('img')) {
		viewWin.document.getElementById('img').removeNode(true);
	} 
		
	viewWin.document.write("<html><head><title>Classic Sculpture and Painting</title></head><body style='margin:0; padding:0'><div id='img'><img src="+imageSource+" alt="+title+" width="+width+" height="+height+"></div></body></html>");
	viewWin.resizeTo(width,height);
	viewWin.focus();
} 

function showhide(id){
	if (document.getElementById){
		obj = document.getElementById(id);
		if (obj.style.display == "none"){
		obj.style.display = "";
		} else {
		obj.style.display = "none";
		}
	}
}

/* MENUS */
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("mainmenu");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
window.onload=startList;

