window.addEvent('domready', function(){
	var NaviItemToShow = -1;
	$$('div#navi li ul').each(function(item, index){
		item.getChildren('li').each(function(item1){
			var navigationItem = item1.getElement('a'); 
			var PageUrl = window.location.href;
			PageUrl = PageUrl.split("#");
			PageUrl[0] = PageUrl[0].replace("categories/Media-Releases","pages/Media-Releases.html");
			if(PageUrl[0] == navigationItem.href){
				NaviItemToShow = index;
			}
		});
	});
//	var menuAccordion = new Accordion($$('div#navi .menuExpandT'), $$('div#navi .menuExpandE'), { show: NaviItemToShow.toInt(), alwaysHide: true } );	
	var menuAccordion = new Accordion($$('div#navi .menuExpandT'), $$('div#navi .menuExpandE'), { show: NaviItemToShow.toInt(), height: true, opacity: false, alwaysHide: true } );	
});