// JavaScript Document

var initialiseMenu = function() {
var menus = [];

function setClass() {
if (!/(^|\s)over(\s|$)/.test(this.className))
this.className += ' over';
}
function removeClass() {
this.className = this.className.replace(/(^|\s)over(\s|$)/, ' ');
}
window.attachEvent('onunload', function() {
for (var i = 0; i < menus.length; ++i)
menus[i].onmouseover = menus[i].onmouseout
= null;
menus.length = 0;
window.detachEvent('onunload', arguments.callee);
});

return function(id) {
var menu = document.getElementById(id),
nodes = menu.childNodes;

for (var index = 0, length = nodes.length, node; index < length; ++index) {
node = nodes[index];
if (node.tagName == 'LI') {
node.onmouseover = setClass;
node.onmouseout = removeClass;
}
}
menus[menus.length] = menu;
};
}();

window.attachEvent('onload', function() {
initialiseMenu('container1');

window.detachEvent('onload', arguments.callee);
});


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}





//function document_onclick() 
//{

//	if(window.event.srcElement.tagName == "SPAN")
//	{
//		if(window.event.srcElement.parentElement.tagName == "A")
//		{
//			var url = window.event.srcElement.parentElement.href;
//			
//			window.event.returnValue = false;
//			
//			var atts = "resizable=yes,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes";
//			
//			
//			var h = new Number(window.screen.height);
//			h = h*.10;
//			var w = new Number(window.screen.width);
//			w = w*.90;
//			
//			
//			h = Math.round(h);
//			w = Math.round(w);
//			
//			//atts += "left=25,top=25,height=" + h + ",width=" + w;
//			
//			window.open(url,"_blank",atts);
//		}
//	}
//	else
//	{
//		//Let the object do it's own thing.
//	}

//}


// document_onclick()
