    function MM_openBrWindow(theURL,winName,features) 
    {
        window.open(theURL,winName,features);
    }

    function showHideDiv(id,status) 
    {
	    //safe function to hide an element with a specified id
	    if (document.getElementById) // DOM3 = IE5, NS6
	    {
		    // This is so it works from within iFrame
		    if(document.getElementById(id) != null)
		    {
			    if(status)
			    {
				    document.getElementById(id).style.display = 'block';					
			    }
			    else
			    {
				    document.getElementById(id).style.display = 'none';
			    }
		    }
		    else
		    {
			    if(status)
			    {
				    parent.document.getElementById(id).style.display = 'block';
			    }
			    else
			    {
				    parent.document.getElementById(id).style.display = 'none';					
			    }
		    }
	    }
	    else 
	    {
		    if (document.layers) // Netscape 4
		    { 
			    // This is so it works from within iFrame
			    if(document.id != null)
			    {
				    if(status)
				    {
					    document.id.display = 'block';
				    }
				    else
				    {
					    document.id.display = 'none';
				    }
			    }
			    else
			    {
				    if(status)
				    {
					    parent.document.id.display = 'block';
				    }
				    else
				    {
					    parent.document.id.display = 'none';
				    }
			    }
		    }
		    else // IE 4
		    { 
			    if(document.all.id != null)
			    {
				    if(status)
				    {
					    document.all.id.style.display = 'block';
				    }
				    else
				    {
					    document.all.id.style.display = 'none';
				    }
			    }
			    else
			    {
				    if(parent.document.all.id.style.display == 'none')
				    {
					    parent.document.all.id.style.display = 'block';
				    }
				    else
				    {
					    parent.document.all.id.style.display = 'none';						
				    }
			    }
		    }
	    }
	    }
    
        startList = function() 
        {
            if (document.all && document.getElementById) 
            {
                var menu = document.getElementById("MainNav");
                
                for (x=0; x < menu.childNodes.length; x++) 
                {
                    node = menu.childNodes[x];
                    if (node.nodeName=="LI" && node.className == "parent") 
                    {
                        node.onmouseover=function() {this.className+=" over";}
                        node.onmouseout=function() { this.className=this.className.replace(" over", "");}
                    }
                }
            }
        }

        if (window.attachEvent)
        {
            window.attachEvent("onload", startList)
        }
        else
        {
            window.onload=startList;
        }

