$(document).ready(function(){
  $('p.menu a')
    .css({ 'backgroundPosition': '0 0' })
	.hover(
      function(){
        $(this).stop()
          .animate({
            opacity: 0.4
          }, 650);
	  },
	  function(){
        $(this).stop()
          .animate({
            opacity: 1
          }, 650);
	  }
	);  
  $('p.about a')
    .css({ 'backgroundPosition': '0 0' })
	.hover(
      function(){
        $(this).stop()
          .animate({
            'opacity': 0
          }, 650);
	  },
	  function(){
        $(this).stop()
          .animate({
            'opacity': 1
          }, 650);
	  }
	);
  $('p.home a')
    .css({ 'backgroundPosition': '0 0' })
	.hover(
      function(){
        $(this).stop()
          .animate({
            'opacity': 0.4
          }, 650);
	  },
	  function(){
        $(this).stop()
          .animate({
            'opacity': 1
          }, 650);
	  }
	);	
  $('p.transylvania a')
    .css({ 'backgroundPosition': '0 0' })
	.hover(
      function(){
        $(this).stop()
          .animate({
            'opacity': 0
          }, 650);
	  },
	  function(){
        $(this).stop()
          .animate({
            'opacity': 1
          }, 650);
	  }
	);		
  $('p.europe a')
    .css({ 'backgroundPosition': '0 0' })
	.hover(
      function(){
        $(this).stop()
          .animate({
            'opacity': 0
          }, 650);
	  },
	  function(){
        $(this).stop()
          .animate({
            'opacity': 1
          }, 650);
	  }
	);			
  $('p.work a')
    .css({ 'backgroundPosition': '0 0' })
	.hover(
      function(){
        $(this).stop()
          .animate({
            'opacity': 0
          }, 650);
	  },
	  function(){
        $(this).stop()
          .animate({
            'opacity': 1
          }, 650);
	  }
	);				
  $('p.media a')
    .css({ 'backgroundPosition': '0 0' })
	.hover(
      function(){
        $(this).stop()
          .animate({
            'opacity': 0
          }, 650);
	  },
	  function(){
        $(this).stop()
          .animate({
            'opacity': 1
          }, 650);
	  }
	);				
});
