/*
son of suckerfish menu script from:
http://www.htmldog.com/articles/suckerfish/dropdowns/
 */
 
 sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
			this.style.zIndex=200; //this line added to force flyout to be above relatively positioned stuff in IE
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
};
if (window.attachEvent) window.attachEvent("onload", sfHover);

/** @constructor */
    function EventUtils() {
        throw 'RuntimeException: EventUtils is a static utility class ' +
            ' and may not be instantiated';
    }
    
    /**
     *	@access static
     *	@param HTMLElement target
     *	@param string type
     *	@param Function callback
     *	@param boolean captures
     */
    EventUtils.addEventListener = function (target,type,callback,captures) {
	    if (target.addEventListener) {
                // EOMB
	        target.addEventListener(type,callback,captures);
	    } else if (target.attachEvent) {
	        // IE
	        target.attachEvent('on'+type,callback,captures);
	    } else {
	    	// IE 5 Mac and some others
	    	target['on'+type] = callback;
	    }
	}


function test()
{
    this.go = function _go()
    {
        alert("test");
    }
};

