// This breaks the page out of frames from another site.
/*** 070829 commented out in order to keep in artsites template frame ***/
//if (top.location != self.location) top.location = self.location;

function externalLinks() { 
 if (!document.getElementsByTagName) return; 
 var anchors = document.getElementsByTagName("a"); 
 for (var i=0; i<anchors.length; i++) { 
   var anchor = anchors[i]; 
   if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") anchor.target = "_blank"; 
 } 
} 
window.onload = externalLinks;
menu_one_display = function() {
	var elements = document.getElementById("menu_one").getElementsByTagName("LI");
	for (var i=0; i<elements.length; i++) {
		elements[i].onmouseover=function() {
			this.className+=" smenu_display";
		}
		elements[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" smenu_display\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", menu_one_display);

