
/*
var timeout    = 500;
var closetimer = 0;
var ddmenuitem = 0;


function nav_dropDown_open()
{  nav_dropDown_canceltimer();
   nav_dropDown_close();

   ddmenuitem = $(this).find('ul').css('visibility', 'visible');
}

function nav_dropDown_close()
{
  if(ddmenuitem) ddmenuitem.css('visibility', 'hidden');
}

function nav_dropDown_timer()
{ 
	closetimer = window.setTimeout(nav_dropDown_close, timeout);
}

function nav_dropDown_canceltimer()
{  
	if(closetimer)
	{  window.clearTimeout(closetimer);
      closetimer = null;
    }
}

$(document).ready(function()
{ 
	$('.nav > li').bind('mouseover', nav_dropDown_open)
	$('.nav > li').bind('mouseout',  nav_dropDown_timer)
});

document.onclick = nav_dropDown_close;
*/



$(document).ready(function()
{ 
	
	$('.header_main_nav li').hover(function () {
	
		$(this).find('span').stop().animate({
				     opacity: '1'
				    //marginTop: '25px'
				    
			});
			
	}, function () {
	
		$(this).find('span').stop().animate({
		 			opacity: '.5'
				    //marginTop: '60px'
			});
				
	});
	
	//$('.info_section a img').css('opacity','.8');
	
	$('.info_section a img').hover(function () {
		
		$(this).stop().animate({
				     opacity: '.8'
		});
		}, function () {
	
			$(this).stop().animate({
		 			opacity: '1'	
		});
		
	});

	
});

$(function () {

	$('.hoverNav').each(function () {
	
		$(this).parent().eq(0).hover(function () {
		
		//$('.hoverNav:eq(0)', this).show();
		$('.hoverNav:eq(0)', this).css('display','block');
		//$('.hoverNav:eq(0)', this).css('opacity','1');
			
			$('.hoverNav:eq(0)', this).stop().animate({
				    opacity: 1
			});
			  		
		}, function () {
		
			$('.hoverNav:eq(0)', this).css('display','none');
			$('.hoverNav:eq(0)', this).css('opacity','0');
		
			/*$('.hoverNav:eq(0)', this).stop().animate({
			    opacity: 0 
			  }, 500, function() {
			  //   $('.hoverNav:eq(0)', this).hide();
			  $('.hoverNav:eq(0)', this).css('display','none');
			});*/
			  		
		});
		
	});
});


