$(document).ready(function(){

//  $("#row1 ul li h2").textShadow({
//    x:      1,
//    y:      1,
//    radius: 1,
//    color:  "#000"
//  });


  Cufon.replace('#row1 ul li h2', {
	  textShadow: '1px 1px rgba(0, 0, 0, 1)'
  });

  Cufon.replace('#row2 ul li h2', {
	  textShadow: '1px 1px rgba(0, 0, 0, 1)'
  });

  Cufon.replace('#header_menu>li>a', { hover:true });
	
	$('.middle').css('font-family', 'arial');
 
   function show() {
     $(this).children().not('a, img').css('display', 'block');
   }
  
   function hide() { 
     $(this).children().not('a, img').css('display', 'none');
   }
 
   $("#header_menu li").hoverIntent({
     sensitivity: 1, // number = sensitivity threshold (must be 1 or higher)
     interval: 50,   // number = milliseconds for onMouseOver polling interval
     over: show,     // function = onMouseOver callback (required)
     timeout: 300,   // number = milliseconds delay before onMouseOut
     out: hide       // function = onMouseOut callback (required)
   });
  
/*
  $("#header_menu li").hover(function()
  {
    $(this).children().not('a, img').css('display', 'block');
  },
  function()
  {
    $(this).children().not('a, img').css('display', 'none');
  });

  $("#header_menu li ul").hover(function()
  {
    $(this).children().not('a, img').css('display', 'block');
  });
*/
});

