$(function() {
	
	$('#menu a.home').click(function(){
		$('#containerRight, #contRightReel, #containerLeft, #containerResume, #subnav, #lowResFix').hide(),
		$('#menu').animate({"left" : "0%"}, 500, 
		function() { location.href = "home.php" });
		return false;
	});	
	
	$('#menu a.bio').click(function(){
		$('#containerRight, #contRightReel, #containerLeft, #containerResume, #subnav, #lowResFix').hide(),
		$('#menu').animate({"left" : "0%"}, 500, 
		function() { location.href = "bio.php" });
		return false;
	});
	
	$('#menu a.resume').click(function(){
		$('#containerRight, #contRightReel, #containerLeft, #containerResume, #subnav, #lowResFix').hide(),
		$('#menu').animate({"left" : "70%"}, 500, 
		function() { location.href = "resume.php" });
		return false;
	});
	
	$('#menu a.reel').click(function(){
		$('#containerRight, #contRightReel, #containerLeft, #containerResume, #subnav, #lowResFix').hide(),
		$('#menu').animate({"left" : "25%"}, 500, 
		function() { location.href = "reel.php" });
		return false;
	});
	
	$('#menu a.portfolio').click(function(){
		$('#containerRight, #contRightReel, #containerLeft, #containerResume, #subnav, #lowResFix').hide(),
		$('#menu').animate({"left" : "17%"}, 500, 
		function() { location.href = "portfolio.php" });
		return false;
	});
	
	$('#menu a.artwork').click(function(){
		$('#containerRight, #contRightReel, #containerLeft, #containerResume, #subnav, #lowResFix').hide(),
		$('#menu').animate({"left" : "10%"}, 500, 
		function() { location.href = "artwork.php" });
		return false;
	});
	
	$('#menu a.contact').click(function(){
		var clickedUrl = $(this).attr('href');
		$('#containerRight, #contRightReel, #containerLeft, #containerResume, #subnav, #lowResFix').hide(),
		$('#menu').animate({"left" : "80%"}, 500, 
		function() { location.href = "contact.php" });
		return false;
	});	

	$('#subnav a.folio').click(function(){
		var clickedUrl = $(this).attr('href');
		$('#menu, #lowResFix').animate({"left" : "74%"}, 500, 
		function() { location.href = clickedUrl; });
		return false;
	});						

});
