// JavaScript Document

$(document).ready(function(){


		   
		   // hide bottom nav text
		   $('.navText').hide();
		   $('.newSongs').hide();
		   $('.whoAre').hide();
		   $('.albums').hide();
		   $('.contact').hide();
		   $('.akaUng').hide();
		   $('.studio').hide();
		   $('.filmsForTheBlind').hide();
		   $('.platypusMan').hide();
		   
		   
		   
		   // roll over nav shows black overlay
		   $('a.nav').mouseover(function() {
										 $('.navText').show();
										 });
		   $('a.hideNav').mouseover(function() {
										 $('.navText').hide();
										 });
		  /* $('a.nav').mouseout(function() {
										 $('.navText').hide();
										});*/
										 
										 
		   
		   // show text in bottom nav when rolling over the heads
		$('a.maskEyeOpen').mouseover(function() {
										  $('.newSongs').show();
										  });
		   
		$('a.maskEyeOpen').mouseout(function() {
										  $('.newSongs').hide();
										  });

		   
		$('a.meTurban').mouseover(function() {
										  $('.whoAre').show();
										  });
		   
		$('a.meTurban').mouseout(function() {
										  $('.whoAre').hide();
										  });
		   
		   
		$('a.mustacheHeadTurn').mouseover(function() {
										  $('.albums').show();
										  });
		   
		$('a.mustacheHeadTurn').mouseout(function() {
										  $('.albums').hide();
										  });
		   
		   
		$('a.meSoldier').mouseover(function() {
										  $('.studio').show();
										  });
		   
		$('a.meSoldier').mouseout(function() {
										  $('.studio').hide();
										  });
		   
		$('a.turbanedSoldier').mouseover(function() {
										  $('.contact').show();
										  });
		   
		$('a.turbanedSoldier').mouseout(function() {
										  $('.contact').hide();
										  });
		
		
		
		
		
		// show rollover animation when rolling over footer links also
		
		$('#footer').mouseover(function() {
										$('.navText').show();
										});
		$('#footer').mouseout(function() {
									   $('.navText').hide();
									   });
		
				$('li.footNewSongs a').mouseover(function() {
										$('a.maskEyeOpen').addClass('hover');
										  $('.newSongs').show();
										  });
		   
		$('li.footNewSongs a').mouseout(function() {
												 $('a.maskEyeOpen').removeClass('hover');
										  $('.newSongs').hide();
										  });

		   
		$('li.footWhoAre a').mouseover(function() {
												$('a.meTurban').addClass('hover');
										  $('.whoAre').show();
										  });
		   
		$('li.footWhoAre a').mouseout(function() {
											   $('a.meTurban').removeClass('hover');
										  $('.whoAre').hide();
										  });
		   
		   
		$('li.footAlbums a').mouseover(function() {
												$('a.mustacheHeadTurn').addClass('hover');
										  $('.albums').show();
										  });
		   
		$('li.footAlbums a').mouseout(function() {
											   $('a.mustacheHeadTurn').removeClass('hover');
										  $('.albums').hide();
										  });
		   
		   
		$('li.footStudio a').mouseover(function() {
												$('a.meSoldier').addClass('hover');
										  $('.studio').show();
										  });
		   
		$('li.footStudio a').mouseout(function() {
											   $('a.meSoldier').removeClass('hover');
										  $('.studio').hide();
										  });
		   
		$('li.footContact a').mouseover(function() {
												 $('a.turbanedSoldier').addClass('hover');
										  $('.contact').show();
										  });
		   
		$('li.footContact a').mouseout(function() {
												$('a.turbanedSoldier').removeClass('hover');
										  $('.contact').hide();
										  });
		
		$('li.footPlatypusMan a').mouseover(function() {
													 $('.platypusMan').addClass('visible');
													 $('.platypusMan').show();
													 //$('.platypusMan').animate({left: "0"}, 1200);
													 $('a.babyCrying').addClass('hover');
													 $('a.turbanHeadTurn').addClass('hover');
													 });
		$('li.footPlatypusMan a').mouseout(function() {
													$('.platypusMan').removeClass('visible');
													$('.platypusMan').fadeOut('slow');
													$('a.babyCrying').removeClass('hover');
													$('a.turbanHeadTurn').removeClass('hover');
													});
		$('li.footFilmsForTheBlind a').mouseover(function() {
														  $('.filmsForTheBlind').show();
														  $('a.maskedSoldier').addClass('hover');
														  });
		$('li.footFilmsForTheBlind a').mouseout(function() {
														 $('.filmsForTheBlind').hide();
														  $('a.maskedSoldier').removeClass('hover');
														  });
		   
		   
});
