	var topMenuElements =  YAHOO.util.Dom.getElementsByClassName("Header_NavigationElement", "li", document.getElementById("Menu_top"));
	for( var i=0; i < topMenuElements.length; i++ )
	{
		switch (i)
		{
			case 0:
				topMenuElements[i].onmouseover = function ()
				{
					this.previousBackgroundColor 	= this.style.backgroundColor;
					this.previousCursor 			= this.style.cursor;
					this.style.backgroundColor 		= "#49559f";
					this.style.cursor 				= "pointer";
					
					if( this.sousmenus != null )
						this.sousmenus.style.display = "block";
				}
				break;
			case 1:
				topMenuElements[i].onmouseover = function ()
				{
					this.previousBackgroundColor 	= this.style.backgroundColor;
					this.previousCursor 			= this.style.cursor;
					this.style.backgroundColor 		= "#bcbbdb";
					this.style.cursor 				= "pointer";
					
					if( this.sousmenus != null )
						this.sousmenus.style.display = "block";
				}
				break;
			case 2:
				topMenuElements[i].onmouseover = function ()
				{
					this.previousBackgroundColor 	= this.style.backgroundColor;
					this.previousCursor 			= this.style.cursor;
					this.style.backgroundColor 		= "#9fa0cc";
					this.style.cursor 				= "pointer";
					
					if( this.sousmenus != null )
						this.sousmenus.style.display = "block";
				}
				break;
			case 3:
				topMenuElements[i].onmouseover = function ()
				{
					this.previousBackgroundColor 	= this.style.backgroundColor;
					this.previousCursor 			= this.style.cursor;
					this.style.backgroundColor 		= "#9fa0cc";
					this.style.cursor 				= "pointer";
					
					if( this.sousmenus != null )
						this.sousmenus.style.display = "block";
				}
				break;
			case 4:
				topMenuElements[i].onmouseover = function ()
				{
					this.previousBackgroundColor 	= this.style.backgroundColor;
					this.previousCursor 			= this.style.cursor;
					this.style.backgroundColor 		= "#9fa0cc";
					this.style.cursor 				= "pointer";
					
					if( this.sousmenus != null )
						this.sousmenus.style.display = "block";
				}
				break;
			case 5:
				topMenuElements[i].onmouseover = function ()
				{
					this.previousBackgroundColor 	= this.style.backgroundColor;
					this.previousCursor 			= this.style.cursor;
					this.style.backgroundColor 		= "#9fa0cc";
					this.style.cursor 				= "pointer";
					
					if( this.sousmenus != null )
						this.sousmenus.style.display = "block";
				}
				break;
			case 7:
				topMenuElements[i].onmouseover = function ()
				{
					this.previousBackgroundColor 	= this.style.backgroundColor;
					this.previousCursor 			= this.style.cursor;
					this.style.backgroundColor 		= "#9fa0cc";
					this.style.cursor 				= "pointer";
					
					if( this.sousmenus != null )
						this.sousmenus.style.display = "block";
				}
				break;
			case 8:
				topMenuElements[i].onmouseover = function ()
				{
					this.previousBackgroundColor 	= this.style.backgroundColor;
					this.previousCursor 			= this.style.cursor;
					this.style.backgroundColor 		= "#49559f";
					this.style.cursor 				= "pointer";
					
					if( this.sousmenus != null )
						this.sousmenus.style.display = "block";
				}
				break;
			default:
				topMenuElements[i].onmouseover = function ()
				{
					this.previousBackgroundColor 	= this.style.backgroundColor;
					this.previousCursor 			= this.style.cursor;
					this.style.backgroundColor 		= "#9fa0cc";
					this.style.cursor 				= "pointer";
					
					if( this.sousmenus != null )
						this.sousmenus.style.display = "block";
				}
				break;
		}
		topMenuElements[i].onmouseout = function ()
		{
			this.style.backgroundColor 	= this.previousBackgroundColor;
			this.style.cursor 			= this.previousCursor;
			
			if( this.sousmenus != null )
				this.sousmenus.style.display = "none";
		}

		topMenuElements[i].sousmenus = null;
		for( var y=0; y < topMenuElements[i].childNodes.length; y++ )
		{
			if( topMenuElements[i].childNodes[y].nodeName.toLowerCase() == "ul" )
			{
				topMenuElements[i].sousmenus = topMenuElements[i].childNodes[y];
			}
		}
		
		if( topMenuElements[i].sousmenus != null )
		{
			for( var y=0; y < topMenuElements[i].sousmenus.childNodes.length; y++)
			{
				if(topMenuElements[i].sousmenus.childNodes[y].nodeName.toLowerCase() == "li")
				{
					topMenuElements[i].sousmenus.childNodes[y].onmouseover = function()
					{
						this.previousBackgroundColor 	= this.style.backgroundColor;
						this.style.backgroundColor 		= "#e9eff2";
					}
					topMenuElements[i].sousmenus.childNodes[y].onmouseout = function()
					{
						this.style.backgroundColor 	= this.previousBackgroundColor;
					}
				}
			}
		}
	}