var menu = new Array('gallery','virtual');
////////////////////////////////////////////////////////////////////////////////
startList = function() {
if (document.all&&document.getElementById) {
for (m=0; m<menu.length; m++) {
navRoot = document.getElementById(menu[m]);
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", "");
}
}
}
}
//
navRootLi = document.getElementById("painting");
for (i=0; i<navRootLi.childNodes.length; i++) {
node = navRootLi.childNodes[i];
if (node.nodeName=="UL") {
node.parentNode.onmouseover=function() {
node.className+=" over";
}
node.parentNode.onmouseout=function() {
node.className=node.className.replace(" over", "");
}
}
}
//
navRootLi = document.getElementById("draving");
for (i=0; i<navRootLi.childNodes.length; i++) {
node2 = navRootLi.childNodes[i];
if (node2.nodeName=="UL") {
node2.parentNode.onmouseover=function() {
node2.className+=" over";
}
node2.parentNode.onmouseout=function() {
node2.className=node2.className.replace(" over", "");
}
}
}
//
navRootLi = document.getElementById("orgdraving");
for (i=0; i<navRootLi.childNodes.length; i++) {
node3 = navRootLi.childNodes[i];
if (node3.nodeName=="UL") {
node3.parentNode.onmouseover=function() {
node3.className+=" over";
}
node3.parentNode.onmouseout=function() {
node3.className=node3.className.replace(" over", "");
}
}
}
}
}
window.onload=startList;

var br = "?";
var brDOM = document.getElementById;

if (brDOM && (document.all && document.all.item && !(window.opera && brDOM))) br = "IE5";
else if (brDOM && navigator.appName == "Netscape") br = "MZL";
else if ((window.opera && brDOM) && document.readyState) br = "OP7";
else if ((window.opera && brDOM) && window.print) br = "OP6";
else if (window.opera && brDOM) br = "OP5";
else if (document.all && document.all.item && !(window.opera && brDOM)) br = "IE4";
else if (document.layers) br = "NN4";
else br = "UND";
            // new
         function OpenNewWindow(loc, width, height, scroll) {
            if (document.getElementById)
        		var xMax = screen.width, yMax = screen.height;
    		else
        		if (document.layers)
            	var xMax = window.outerWidth, yMax = window.outerHeight;
        		else
            	var xMax = 640, yMax=480;

    		var xOffset = (xMax - width)/2, yOffset = (yMax - height)/2;
            nw = window.open(loc, "INFO",'width='+width+',height='+height+',screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+',status=yes,toolbar=no,scrollbars='+scroll+',menubar=no,location=no');
            nw.focus();
         }