$.noConflict();
	jQuery(document).ready(function($) {
	
	//Splash
	$(".splash img").hover(
		function () {
			$(this).stop(true, true).animate({ opacity: 0.9 }, 800, function() {}); 
			$(this).addClass('pointer');
		},
		function () {
			$(this).stop(true, true).animate({ opacity: 1 }, 800, function() {});
			$(this).removeClass('pointer');
		}
	);
	
	//Menu
	$("#menu1").hover( 
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#E6AAA6' }, 500, function() {}); $(this).addClass('pointer'); },
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#CDCCCC' }, 500, function() {}); }
 	);
	
	$("#menu2").hover( 
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#E6AAA6' }, 500, function() {}); $(this).addClass('pointer'); },
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#CDCCCC' }, 500, function() {}); }
 	);
	
	$("#menu3").hover( 
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#E6AAA6' }, 500, function() {}); $(this).addClass('pointer'); },
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#CDCCCC' }, 500, function() {}); }
 	);
	
	$("#menu4").hover( 
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#E6AAA6' }, 500, function() {}); $(this).addClass('pointer'); },
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#CDCCCC' }, 500, function() {}); }
 	);
	
	$("#menu5").hover( 
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#E6AAA6' }, 500, function() {}); $(this).addClass('pointer'); },
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#CDCCCC' }, 500, function() {}); }
 	);
	
	$("#menu6").hover( 
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#E6AAA6' }, 500, function() {}); $(this).addClass('pointer'); },
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#CDCCCC' }, 500, function() {}); }
 	);
	
	// Image 
   	$(".tile").hover(
		function () {
			$(this).children(".tileImage").stop(true, true).animate({ opacity: 0.3 }, 200, function() {}); 
			$(this).children(".tileText").addClass('active');
		},
		function () {
			$(this).children(".tileImage").stop(true, true).animate({ opacity: 1 }, 600, function() {});
			$(this).children(".tileText").removeClass('active');
		}
	);
  
  	$(".tileEnd").hover(
		function () {
			$(this).children(".tileImage").stop(true, true).animate({ opacity: 0.3 }, 200, function() {}); 
			$(this).children(".tileText").addClass('active');
		},
		function () {
			$(this).children(".tileImage").stop(true, true).animate({ opacity: 1 }, 600, function() {});
			$(this).children(".tileText").removeClass('active');
		}
	);
	
	//CV
	$("#cv").hover( 
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#E6AAA6' }, 500, function() {}); $(this).addClass('pointer'); },
		function () { 
			$(this).stop(true, true).animate({ backgroundColor: '#CDCCCC' }, 500, function() {}); }
 	);
	
	// News
	$("#news img").hover(
		function () {
			$(this).stop(true, true).animate({ opacity: 0.45 }, 200, function() {}); 
			$(this).addClass('pointer');
		},
		function () {
			$(this).stop(true, true).animate({ opacity: 1 }, 600, function() {});
			$(this).removeClass('pointer');
		}
	);
	
	// Logo
	$("#name img").hover(
		function () {
			$(this).stop(true, true).animate({ opacity: 0.45 }, 300, function() {}); 
		},
		function () {
			$(this).stop(true, true).animate({ opacity: 1 }, 900, function() {});
		}
	);
	
});
