//<![CDATA[
$(document).ready(function() { 

	$('ul#nav').superfish({ 
        hoverClass:    'm_hover', 
		delay:       500,                             // .5 second delay on mouseout 
        animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
        speed:       'fast',                          // faster animation speed 
        autoArrows:  false,                           // disable generation of arrow mark-up 
        dropShadows: false                            // disable drop shadows 
    }); 

	$('#choices a').mouseover(function(){hoverMenu(this);})
	$('#choices a').mouseout(function(){hoverUMenu(this);})
	
	function hoverMenu(elem)
	{
		var hover_image = $(elem).attr('id');
		$(elem).find('img').attr('src','/layout/'+hover_image+'H.png');
	}
	
	function hoverUMenu(elem)
	{
		var hover_image = $(elem).attr('id');
		$(elem).find('img').attr('src','/layout/'+hover_image+'.png');
	}
	
	/*
	$('.section a').mouseover(function(){hoverSectionMenu(this);})
	$('a.s_menu img').mouseout(function(){hoverUSectionMenu(this);})
	
	function hoverSectionMenu(elem)
	{
		//alert('ok');
		var hover_image = $(elem).attr('id');
		
		
		document.getElementById
		//alert(hover_image);
		var img = $(elem).find('img');
		//.attr('src','/layout/hp/'+hover_image+'H.png');
		alert(img.attr('src'));
		
	}
	
	function hoverUSectionMenu(elem)
	{
		var hover_image = $(elem).parent().attr('id');
		$(elem).attr('src','/layout/hp/'+hover_image+'.png');
	}
	*/
	

	
});
//]]>