// JavaScript Document

$('document').ready(function(){
       var h1 = $('h1');
       var h2 = $('h2');
	   var h3 = $('h3');
	   var menu = $('#menu li');
       Cufon.replace(h1, { fontFamily: 'BPreplay', hover:true  });
       Cufon.replace(h2, { fontFamily: 'BPreplay', hover:true  });
	   Cufon.replace(h3, { fontFamily: 'BPreplay', hover:true  });
	   Cufon.replace(menu, { fontFamily: 'BPreplay', hover:true });
	   
	   var vel='fast';
	   $('#credits').hover(function(){
			$('#credits').fadeOut(vel,function(){									  
				$('#credits_hover').fadeIn(vel);
			});
		});
	   	$('#credits_hover').hover(null,function(){
			$('#credits_hover').fadeOut(vel,function(){									  
				$('#credits').fadeIn(vel);
			});
		});

});


