$(document).ready(function() {

$('#slide1').css({'left' : '0px'});
$('#slide1').css({'top' : '-72px'});
$('#slide1').animate({'top' : '-77px'},800); /*used to buy time for the page to load*/
$('#slide1').animate({'top' : '11px'},400);
$('#slide1').animate({'top' : '-3px'},230);
$('#slide1').animate({'top' : '0px'},100);
						   
$('#navig span').hover(function() {
	var myShow = $(this).attr('id');
	$(this).css({'padding-bottom' : '1px'}); /*fixes flicker on firefox when hovering over 1px line*/
	$(this).stop().animate({'top' : '-1px'},100);	
	$('.' + myShow).css({'visibility' : 'visible'}).show(250);
						 
}, function() {
	
	var myShow = $(this).attr('id');
	$(this).css({'padding-bottom' : '0px'}); /*fixes flicker on ff when hovering over 1px line*/
	$(this).stop().animate({'top' : '0px'},200);
	$('.' + myShow).css({'visibility' : 'hidden' , 'display' : 'none'}); /*adding hide timer causes action build up on rpt overs*/
	

});
						   
						   
			$('.relative').hover(function() {				
											 var myFly = $(this).attr('name');
												$('.' + myFly).css({'visibility' : 'visible'}).show(200);  
												  }, function(){
											var myFly = $(this).attr('name');			 
												$('.' + myFly).css({'visibility' : 'hidden' , 'display' : 'none'});	 
												  });
						   
						   
						   
						   });