$(document).ready(function(){
//Standard page set up
	$('<div id="navBarDiv"></a>').load('navigationBar.php #navBar', function() {
		$(this).appendTo('#containerNavigation');
	
		//Remove outline from links
		$("a").click(function(){
			$(this).blur();
		});
		
		//When mouse rolls over
		$("li").mouseover(function(){
			$(this).stop().animate({height:'300px',width:'125px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$(".btn1").mouseover(function(){
			$("#dropDownList1").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList1").mouseover(function(){
			$("#dropDownList1").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn2").mouseover(function(){
			$("#dropDownList2").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList2").mouseover(function(){
			$("#dropDownList2").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn3").mouseover(function(){
			$("#dropDownList3").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList3").mouseover(function(){
			$("#dropDownList3").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn4").mouseover(function(){
			$("#dropDownList4").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList4").mouseover(function(){
			$("#dropDownList4").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn5").mouseover(function(){
			$("#dropDownList5").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList5").mouseover(function(){
			$("#dropDownList5").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn6").mouseover(function(){
			$("#dropDownList6").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList6").mouseover(function(){
			$("#dropDownList6").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn7").mouseover(function(){
			$("#dropDownList7").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList7").mouseover(function(){
			$("#dropDownList7").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn8").mouseover(function(){
			$("#dropDownList8").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList8").mouseover(function(){
			$("#dropDownList8").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		
		//When mouse is removed
		$("li").mouseout(function(){
			$(this).stop().animate({height:'30px', width:'125px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});		
		$(".btn1").mouseout(function(){
			$("#dropDownList1").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList1").mouseout(function(){
			$("#dropDownList1").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$(".btn2").mouseout(function(){
			$("#dropDownList2").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});		
		$("#dropDownList2").mouseout(function(){
			$("#dropDownList2").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn3").mouseout(function(){
			$("#dropDownList3").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList3").mouseout(function(){
			$("#dropDownList3").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn4").mouseout(function(){
			$("#dropDownList4").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList4").mouseout(function(){
			$("#dropDownList4").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn5").mouseout(function(){
			$("#dropDownList5").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList5").mouseout(function(){
			$("#dropDownList5").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn6").mouseout(function(){
			$("#dropDownList6").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList6").mouseout(function(){
			$("#dropDownList6").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn7").mouseout(function(){
			$("#dropDownList7").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList7").mouseout(function(){
			$("#dropDownList7").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn8").mouseout(function(){
			$("#dropDownList8").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList8").mouseout(function(){
			$("#dropDownList8").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
	});


//Gallery1 Page Set Up*******************************************************************************************


	$('<div id="navBarDiv"></a>').load('navigationBar.php #navBarGallery1', function() {
		$(this).appendTo('#containerNavigation1');
	
		//Remove outline from links
		$("a").click(function(){
			$(this).blur();
		});
		
		//When mouse rolls over
		$("li").mouseover(function(){
			$(this).stop().animate({height:'300px',width:'125px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$(".btn1").mouseover(function(){
			$("#dropDownList1").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList1").mouseover(function(){
			$("#dropDownList1").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn2").mouseover(function(){
			$("#dropDownList2").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList2").mouseover(function(){
			$("#dropDownList2").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn3").mouseover(function(){
			$("#dropDownList3").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList3").mouseover(function(){
			$("#dropDownList3").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn4").mouseover(function(){
			$("#dropDownList4").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList4").mouseover(function(){
			$("#dropDownList4").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn5").mouseover(function(){
			$("#dropDownList5").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList5").mouseover(function(){
			$("#dropDownList5").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn6").mouseover(function(){
			$("#dropDownList6").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList6").mouseover(function(){
			$("#dropDownList6").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn7").mouseover(function(){
			$("#dropDownList7").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList7").mouseover(function(){
			$("#dropDownList7").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn8").mouseover(function(){
			$("#dropDownList8").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList8").mouseover(function(){
			$("#dropDownList8").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		
		//When mouse is removed
		$("li").mouseout(function(){
			$(this).stop().animate({height:'30px', width:'125px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});		
		$(".btn1").mouseout(function(){
			$("#dropDownList1").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList1").mouseout(function(){
			$("#dropDownList1").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$(".btn2").mouseout(function(){
			$("#dropDownList2").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});		
		$("#dropDownList2").mouseout(function(){
			$("#dropDownList2").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn3").mouseout(function(){
			$("#dropDownList3").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList3").mouseout(function(){
			$("#dropDownList3").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn4").mouseout(function(){
			$("#dropDownList4").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList4").mouseout(function(){
			$("#dropDownList4").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn5").mouseout(function(){
			$("#dropDownList5").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList5").mouseout(function(){
			$("#dropDownList5").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn6").mouseout(function(){
			$("#dropDownList6").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList6").mouseout(function(){
			$("#dropDownList6").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn7").mouseout(function(){
			$("#dropDownList7").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList7").mouseout(function(){
			$("#dropDownList7").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn8").mouseout(function(){
			$("#dropDownList8").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList8").mouseout(function(){
			$("#dropDownList8").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
	});


//Gallery2 Page Set Up*******************************************************************************************


	$('<div id="navBarDiv"></a>').load('navigationBar.php #navBarGallery2', function() {
		$(this).appendTo('#containerNavigation2');
	
		//Remove outline from links
		$("a").click(function(){
			$(this).blur();
		});
		
		//When mouse rolls over
		$("li").mouseover(function(){
			$(this).stop().animate({height:'300px',width:'125px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$(".btn1").mouseover(function(){
			$("#dropDownList1").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList1").mouseover(function(){
			$("#dropDownList1").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn2").mouseover(function(){
			$("#dropDownList2").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList2").mouseover(function(){
			$("#dropDownList2").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn3").mouseover(function(){
			$("#dropDownList3").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList3").mouseover(function(){
			$("#dropDownList3").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn4").mouseover(function(){
			$("#dropDownList4").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList4").mouseover(function(){
			$("#dropDownList4").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn5").mouseover(function(){
			$("#dropDownList5").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList5").mouseover(function(){
			$("#dropDownList5").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn6").mouseover(function(){
			$("#dropDownList6").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList6").mouseover(function(){
			$("#dropDownList6").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn7").mouseover(function(){
			$("#dropDownList7").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList7").mouseover(function(){
			$("#dropDownList7").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn8").mouseover(function(){
			$("#dropDownList8").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList8").mouseover(function(){
			$("#dropDownList8").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		
		//When mouse is removed
		$("li").mouseout(function(){
			$(this).stop().animate({height:'30px', width:'125px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});		
		$(".btn1").mouseout(function(){
			$("#dropDownList1").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList1").mouseout(function(){
			$("#dropDownList1").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$(".btn2").mouseout(function(){
			$("#dropDownList2").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});		
		$("#dropDownList2").mouseout(function(){
			$("#dropDownList2").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn3").mouseout(function(){
			$("#dropDownList3").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList3").mouseout(function(){
			$("#dropDownList3").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn4").mouseout(function(){
			$("#dropDownList4").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList4").mouseout(function(){
			$("#dropDownList4").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn5").mouseout(function(){
			$("#dropDownList5").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList5").mouseout(function(){
			$("#dropDownList5").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn6").mouseout(function(){
			$("#dropDownList6").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList6").mouseout(function(){
			$("#dropDownList6").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn7").mouseout(function(){
			$("#dropDownList7").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList7").mouseout(function(){
			$("#dropDownList7").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn8").mouseout(function(){
			$("#dropDownList8").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList8").mouseout(function(){
			$("#dropDownList8").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
	});


//Gallery3 Page Set Up*******************************************************************************************


	$('<div id="navBarDiv"></a>').load('navigationBar.php #navBarGallery3', function() {
		$(this).appendTo('#containerNavigation3');
	
		//Remove outline from links
		$("a").click(function(){
			$(this).blur();
		});
		
		//When mouse rolls over
		$("li").mouseover(function(){
			$(this).stop().animate({height:'300px',width:'125px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$(".btn1").mouseover(function(){
			$("#dropDownList1").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList1").mouseover(function(){
			$("#dropDownList1").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn2").mouseover(function(){
			$("#dropDownList2").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList2").mouseover(function(){
			$("#dropDownList2").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn3").mouseover(function(){
			$("#dropDownList3").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList3").mouseover(function(){
			$("#dropDownList3").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn4").mouseover(function(){
			$("#dropDownList4").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList4").mouseover(function(){
			$("#dropDownList4").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn5").mouseover(function(){
			$("#dropDownList5").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList5").mouseover(function(){
			$("#dropDownList5").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn6").mouseover(function(){
			$("#dropDownList6").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList6").mouseover(function(){
			$("#dropDownList6").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn7").mouseover(function(){
			$("#dropDownList7").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList7").mouseover(function(){
			$("#dropDownList7").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn8").mouseover(function(){
			$("#dropDownList8").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList8").mouseover(function(){
			$("#dropDownList8").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		
		//When mouse is removed
		$("li").mouseout(function(){
			$(this).stop().animate({height:'30px', width:'125px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});		
		$(".btn1").mouseout(function(){
			$("#dropDownList1").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList1").mouseout(function(){
			$("#dropDownList1").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$(".btn2").mouseout(function(){
			$("#dropDownList2").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});		
		$("#dropDownList2").mouseout(function(){
			$("#dropDownList2").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn3").mouseout(function(){
			$("#dropDownList3").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList3").mouseout(function(){
			$("#dropDownList3").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn4").mouseout(function(){
			$("#dropDownList4").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList4").mouseout(function(){
			$("#dropDownList4").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn5").mouseout(function(){
			$("#dropDownList5").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList5").mouseout(function(){
			$("#dropDownList5").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn6").mouseout(function(){
			$("#dropDownList6").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList6").mouseout(function(){
			$("#dropDownList6").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn7").mouseout(function(){
			$("#dropDownList7").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList7").mouseout(function(){
			$("#dropDownList7").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn8").mouseout(function(){
			$("#dropDownList8").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList8").mouseout(function(){
			$("#dropDownList8").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
	});


//Gallery4 Page Set Up*******************************************************************************************


	$('<div id="navBarDiv"></a>').load('navigationBar.php #navBarGallery4', function() {
		$(this).appendTo('#containerNavigation4');
	
		//Remove outline from links
		$("a").click(function(){
			$(this).blur();
		});
		
		//When mouse rolls over
		$("li").mouseover(function(){
			$(this).stop().animate({height:'300px',width:'125px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$(".btn1").mouseover(function(){
			$("#dropDownList1").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList1").mouseover(function(){
			$("#dropDownList1").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn2").mouseover(function(){
			$("#dropDownList2").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList2").mouseover(function(){
			$("#dropDownList2").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn3").mouseover(function(){
			$("#dropDownList3").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList3").mouseover(function(){
			$("#dropDownList3").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn4").mouseover(function(){
			$("#dropDownList4").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList4").mouseover(function(){
			$("#dropDownList4").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn5").mouseover(function(){
			$("#dropDownList5").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList5").mouseover(function(){
			$("#dropDownList5").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn6").mouseover(function(){
			$("#dropDownList6").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList6").mouseover(function(){
			$("#dropDownList6").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn7").mouseover(function(){
			$("#dropDownList7").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList7").mouseover(function(){
			$("#dropDownList7").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn8").mouseover(function(){
			$("#dropDownList8").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList8").mouseover(function(){
			$("#dropDownList8").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		
		//When mouse is removed
		$("li").mouseout(function(){
			$(this).stop().animate({height:'30px', width:'125px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});		
		$(".btn1").mouseout(function(){
			$("#dropDownList1").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList1").mouseout(function(){
			$("#dropDownList1").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$(".btn2").mouseout(function(){
			$("#dropDownList2").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});		
		$("#dropDownList2").mouseout(function(){
			$("#dropDownList2").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn3").mouseout(function(){
			$("#dropDownList3").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList3").mouseout(function(){
			$("#dropDownList3").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn4").mouseout(function(){
			$("#dropDownList4").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList4").mouseout(function(){
			$("#dropDownList4").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn5").mouseout(function(){
			$("#dropDownList5").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList5").mouseout(function(){
			$("#dropDownList5").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn6").mouseout(function(){
			$("#dropDownList6").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList6").mouseout(function(){
			$("#dropDownList6").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn7").mouseout(function(){
			$("#dropDownList7").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList7").mouseout(function(){
			$("#dropDownList7").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn8").mouseout(function(){
			$("#dropDownList8").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList8").mouseout(function(){
			$("#dropDownList8").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
	});


//GalleryVideo Page Set Up*******************************************************************************************


	$('<div id="navBarDiv"></a>').load('navigationBar.php #navBarGalleryVideo', function() {
		$(this).appendTo('#containerNavigationVideo');
	
		//Remove outline from links
		$("a").click(function(){
			$(this).blur();
		});
		
		//When mouse rolls over
		$("li").mouseover(function(){
			$(this).stop().animate({height:'300px',width:'125px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$(".btn1").mouseover(function(){
			$("#dropDownList1").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList1").mouseover(function(){
			$("#dropDownList1").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn2").mouseover(function(){
			$("#dropDownList2").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList2").mouseover(function(){
			$("#dropDownList2").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn3").mouseover(function(){
			$("#dropDownList3").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList3").mouseover(function(){
			$("#dropDownList3").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn4").mouseover(function(){
			$("#dropDownList4").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList4").mouseover(function(){
			$("#dropDownList4").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn5").mouseover(function(){
			$("#dropDownList5").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList5").mouseover(function(){
			$("#dropDownList5").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn6").mouseover(function(){
			$("#dropDownList6").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList6").mouseover(function(){
			$("#dropDownList6").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn7").mouseover(function(){
			$("#dropDownList7").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList7").mouseover(function(){
			$("#dropDownList7").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn8").mouseover(function(){
			$("#dropDownList8").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList8").mouseover(function(){
			$("#dropDownList8").stop().animate({height:'330px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		
		//When mouse is removed
		$("li").mouseout(function(){
			$(this).stop().animate({height:'30px', width:'125px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});		
		$(".btn1").mouseout(function(){
			$("#dropDownList1").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList1").mouseout(function(){
			$("#dropDownList1").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$(".btn2").mouseout(function(){
			$("#dropDownList2").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});		
		$("#dropDownList2").mouseout(function(){
			$("#dropDownList2").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn3").mouseout(function(){
			$("#dropDownList3").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList3").mouseout(function(){
			$("#dropDownList3").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn4").mouseout(function(){
			$("#dropDownList4").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList4").mouseout(function(){
			$("#dropDownList4").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn5").mouseout(function(){
			$("#dropDownList5").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList5").mouseout(function(){
			$("#dropDownList5").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn6").mouseout(function(){
			$("#dropDownList6").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList6").mouseout(function(){
			$("#dropDownList6").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn7").mouseout(function(){
			$("#dropDownList7").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});	
		$("#dropDownList7").mouseout(function(){
			$("#dropDownList7").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$(".btn8").mouseout(function(){
			$("#dropDownList8").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
		$("#dropDownList8").mouseout(function(){
			$("#dropDownList8").stop().animate({height:'30px',width:'1000px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		});
	});
});			
