function init() {
	//Object oriented menu widget :)
	//Set handler for 1st level lis
	
		$$('ul.navigation-1>li').each(function(li) {
			//Handler to dispalay uls
			li.addEvents({
				 mouseenter: function() {
					/*this.setStyle('background' , '#700');*/
					var ul = this.getElement('ul')
					if(ul)
						ul.setStyle('display' , 'block');					
				},
				mouseleave: function() {
					/*this.setStyle('background' , '#D52D00'); */
					var ul = this.getElement('ul')
					if(ul)
						ul.setStyle('display' , 'none');
				}
			});
			
			//Set handlers for 2nd level lis
			ul = li.getElement('ul')
			if(ul)
				ul.getChildren('li').each(function(li) { 
					li.addEvents({
						mouseenter: function() {
							/*this.setStyle('background' , '#a00');*/
							ul = this.getElement('ul')
							if(ul)
								ul.setStyle('display' , 'block');
						},
						mouseleave: function() {
							/*this.setStyle('background' , '#D52D00'); */
							var ul = this.getElement('ul')
							if(ul)
								ul.setStyle('display' , 'none');
						}
					});
				});
		});
}
//Call the init method on body load
window.addEvent('domready', init);
