MENU = {
    	goURL: function(n)
	{
        	var tt = menu[n].title.toLowerCase();
        	if (tt.substr(0, 4) == "home" || tt.substr(0, 5) == "press" || menu[n].design || tt == "management")
		{
            		return function(){MM_goToURL('parent', menu[n].path); return document.MM_returnValue}
        	}
        	else
		{
			var tp = (tt.substr(0, 3) == "ace") ? "ace_overview" : "company_overview";
            		return function(){MM_goToURL('parent', menu[n].path  + '.' + tp); return document.MM_returnValue}
		}
	},
    
    	init: function(n)
	{
        	for(var i = n, L = menu.length; i < L; i++)
		{
            		document.getElementById('menu_item' + i).onmouseup = MENU.goURL(i);
            		document.getElementById('menu_text' + i).appendChild(document.createTextNode(menu[i].title));
        	}
    	}
}
