

var actions = 
{
	
	'a.xx' : function(element)
	{
		element.onmouseover = function()
		{
			var node = this.parentNode.parentNode;			
			node.style.backgroundImage = "none";			
		};
		
		element.onmouseout = function()
		{
			var node = this.parentNode.parentNode;			
			node.style.backgroundImage = "";			
		};
		
		element.onclick = function()
		{
			//alert('');	
		};
	},
	
	'ul#menu_top li' : function(element)
	{
		element.onmouseover = function()
		{
			var node = this;			
			node.style.backgroundImage = "none";			
		};
		
		element.onmouseout = function()
		{
			var node = this;			
			node.style.backgroundImage = "";			
		};	
		
		element.onclick = function()
		{
			location.href = this.firstChild.firstChild;			
		};
	}
	
	
}

Behaviour.register(actions);
