//Menu Insertion Script
//Requires Prototype
//Assumes menu.xml contains list of links


function loadMenu()
{
menu = $("menu"); //Grab menu from the DOM

if (menu) { //Test to see if menu was created
	
menu.innerText = "Loading Updated <br /> Menu...";
var url = '/ohs/assets/xml/menu.xml'; //URL of new menu
var menuLoader = new Ajax.Updater(menu, url, {method: 'get'});

}
else
{
	alert("Javascript failure");
}

}

//Attach loadMenu() to window.onload
Event.observe(window, 'load', loadMenu, false);
