$(document).ready(function() {
	$("#header").hover(function() {
			$("div").clearQueue();
			$(".door").stop();
			$(".doorName").fadeOut(1000);
			$("div.bottomContentWrapper").fadeOut(500);
			$("#doorOne").animate({ width: '33%' }, 1500);
			$("#doorTwo").animate({ width: '33%', left: '33%'  }, 1500);
			$("#doorThree").animate({ width: '34%' }, 1500);
		});
	$("#doorOne").hover(function() {
			$(".door").stop();
			$("#doorTwo > div.bottomContentWrapper").fadeTo(125, 0.00);
			$("#doorThree > div.bottomContentWrapper").fadeTo(125, 0.00);
			$("#doorThree").delay(100).animate({ width: '31%' }, 625);
			$("#doorTwo").delay(100).animate({ width: '31%', left: '38%' }, 625);
			$("#doorOne").delay(100).animate({ width: '38%' }, 625).children(".bottomContentWrapper").delay(300).fadeTo(500, 1.00);
		});
	$("#doorTwo").hover(function() {
			$(".door").stop();
			$("#doorOne > div.bottomContentWrapper").fadeTo(125, 0.00);
			$("#doorThree > div.bottomContentWrapper").fadeTo(125, 0.00);
			$("#doorThree").delay(100).animate({ width: '30%' }, 625);
			$("#doorOne").delay(100).animate({ width: '30%' }, 625);
			$("#doorTwo").delay(100).animate({ width: '40%', left: '30%' }, 625).children(".bottomContentWrapper").delay(300).fadeTo(500, 1.00);
		});
	$("#doorThree").hover(function() {
			$(".door").stop();
			$("#doorOne > div.bottomContentWrapper").fadeTo(125, 0.00);
			$("#doorTwo > div.bottomContentWrapper").fadeTo(125, 0.00);
			$("#doorTwo").delay(100).animate({ width: '31%', left: '31%'  }, 625);
			$("#doorOne").delay(100).animate({ width: '31%' }, 625);
			$("#doorThree").delay(100).animate({ width: '38%' }, 625).children(".bottomContentWrapper").delay(300).fadeTo(500, 1.00);
		});
	$(".door").hover(function() {
			$(this).children(".doorName").fadeTo(500, 1.00);
		}, function () {
			$(this).children(".doorName").fadeOut(800);
		});
});
