var menus =
[
	new ypSlideOutMenu("submenu1", "down", 'auto', 'auto', 235, 290, 'auto')
]

for (var i = 0; i < menus.length; i++)
{
	menus[i].onactivate = new Function("document.getElementById('menu" + i + "').className = 'over';");
	menus[i].ondeactivate = new Function("document.getElementById('menu" + i + "').className = '';");
}

ypSlideOutMenu.writeCSS();



function disableselect(e)
	{
		return false 
	}
	
	function reEnable()
	{
		return true
	}
        
        //if IE4+
        // disable text selection
        document.onselectstart=new Function ("return false")
        
        //if NS6
        if (window.sidebar)
        {
                //document.onmousedown=disableselect
                // the above line creates issues in mozilla so keep it commented.
        
                document.onclick=reEnable
        }
        
        function clickIE()
        {
                if (document.all)
                {
                        (message);
                        return false;
                }
        }
        
        // disable right click
        document.oncontextmenu=new Function("return false")
