function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function close_window() { 
  window.parent.close();
}

version = "OLD";
if((navigator.appName == "Netscape" && parseInt(navigator.appVersion)>2) ||	(navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion)>3))
		version = "NEW";

if (version == 'NEW')

// menu items

	about_on0 = new Image; 
	about_off0 = new Image;
	about_on0.src = "images/nav01_about-on.gif";
	about_off0.src = "images/nav01_about-off.gif";
	
	paintings_on1 = new Image; 
	paintings_off1 = new Image;
	paintings_on1.src = "images/nav02_paintings-on.gif";
	paintings_off1.src = "images/nav02_paintings-off.gif";

	news_on2 = new Image; 
	news_off2 = new Image;
	news_on2.src = "images/nav03_news-on.gif";
	news_off2.src = "images/nav03_news-off.gif";
	
	contact_on3 = new Image; 
	contact_off3 = new Image;
	contact_on3.src = "images/nav04_contact-on.gif";
	contact_off3.src = "images/nav04_contact-off.gif";	

	classes_on4 = new Image; 
	classes_off4 = new Image;
	classes_on4.src = "images/nav05_artclasses-on.gif";
	classes_off4.src = "images/nav05_artclasses-off.gif";	
	
	recent_on6 = new Image; 
	recent_off6 = new Image;
	recent_on6.src = "images/nav06_recent-on.gif";
	recent_off6.src = "images/nav06_recent-off.gif";	
	
	archived_on7 = new Image; 
	archived_off7 = new Image;
	archived_on7.src = "images/nav07_archived-on.gif";
	archived_off7.src = "images/nav07_archived-off.gif";		

	ej_on = new Image; 
	ej_off = new Image;
	ej_on.src = "images/ej_on.gif";
	ej_off.src = "images/ej_off.gif";
	
		
function swapem(iname, gname)
	{ 
	if (version == 'NEW')
		{
        iname.src = gname.src;
		}
	}



