
	function CreateList(id,action)
	{
		var node = document.getElementById(id);
		if(node)
		{
			var childs = node.getElementsByTagName("li");
			for(var i=0;i<childs.length;i++)
			{
				switch(action)
				{
					case "show":
						childs[i].style.display = "list-item"; 
					break;	
					default:
						if( i == 0 && id == "layer_menu" )
							childs[i].style.display = "list-item"; 
						else
							childs[i].style.display = "none"; 	
				}
			}
		}	
	}
	
function rollover()
{
	var list = Array("fce_content_navigation_list","fce_content_navigation_list_green","fce_content_navigation_list_blau","fce_content_navigation_list_pink");
	if( !document.getElementById || !document.createTextNode )
	{	return; }
	
	for(var i=0;i<list.length;i++)
	{
		var node = document.getElementById(list[i]);
		if(node)
		{
			var list = node.getElementsByTagName('li');
			for(var i=0;i<list.length;i++)
			{
				list[i].onmouseover=function()
				{
					this.className = this.className ? 'cur' : 'over';
				}
				
				list[i].onmouseout=function()
				{
					this.className = this.className == 'cur' ? 'cur' : '';
				}
			}
		} 
	}
}
window.onload = rollover;