// JavaScript Document

$(document).ready(function() {
	
	$(".imagemiddle").SexySlider({
		width : 984,
		height : 387,
		delay : 6000,
	    strips : 1,
	titleOpacity : 1.0,
	titleSpeed : 1, 
titleStyle : 'auto', // 'auto', false 
		direction : 'right',
		effect : 'fade',
	

});



	
$('.searchfield').hide();

$('#headshot_johnson').hide();
$('#headshot_yarnall').hide();
$('#headshot_podany').hide();
$('#headshot_kruse').hide();
$('#bio_kruse').hide();
$('#kruse_arrow').hide();
$('#yarnall_arrow').hide();
$('#podany_arrow').hide();
$('#johnson_arrow').hide();
$('#principals').show();


		$('#bio_yarnall').hide();
		$('#bio_podany').hide();
		$('#bio_johnson').hide();
		$('.linephoto').show();


$('#kruse').mouseover(
		function(){
		$('#headshot_kruse').show();
		$('#headshot_johnson').hide();
		$('#headshot_yarnall').hide();
		$('#headshot_podany').hide();
		$('#bio_kruse').show();
		$('#bio_yarnall').hide();
		$('#bio_podany').hide();
		$('#bio_johnson').hide();
		$('.linephoto').hide();
		
$('#kruse_arrow').show();
$('#yarnall_arrow').hide();
$('#podany_arrow').hide();
$('#johnson_arrow').hide();
$('#principals').hide();
				 }
				 );

$('#yarnall').mouseover(
		function(){
		$('#headshot_kruse').hide();
		$('#headshot_johnson').hide();
		$('#headshot_yarnall').show();
		$('#headshot_podany').hide();
		$('#bio_kruse').hide();
		$('#bio_yarnall').show();
		$('#bio_podany').hide();
		$('#bio_johnson').hide();
		$('.linephoto').hide();
		$('#bio_kruse').hide();
$('#kruse_arrow').hide();
$('#yarnall_arrow').show();
$('#podany_arrow').hide();
$('#johnson_arrow').hide();
$('#principals').hide();
				 }
				 );
				 
$('#podany').mouseover(
		function(){
		$('#headshot_kruse').hide();
		$('#headshot_johnson').hide();
		$('#headshot_yarnall').hide();
		$('#headshot_podany').show();
		$('#bio_kruse').hide();
		$('#bio_yarnall').hide();
		$('#bio_podany').show();
		$('#bio_johnson').hide();
		$('.linephoto').hide();
		$('#bio_kruse').hide();
$('#kruse_arrow').hide();
$('#yarnall_arrow').hide();
$('#podany_arrow').show();
$('#johnson_arrow').hide();
$('#principals').hide();
				 }
				 );
				 
$('#johnson').mouseover(
		function(){
		$('#headshot_kruse').hide();
		$('#headshot_johnson').show();
		$('#headshot_yarnall').hide();
		$('#headshot_podany').hide();
		$('#bio_kruse').hide();
		$('#bio_yarnall').hide();
		$('#bio_podany').hide();
		$('#bio_johnson').show();
		$('.linephoto').hide();
		$('#bio_kruse').hide();
$('#kruse_arrow').hide();
$('#yarnall_arrow').hide();
$('#podany_arrow').hide();
$('#johnson_arrow').show();
$('#principals').hide();
				 }
				 );





$('.menubutton').hover(
				 function(){
					 $(this).addClass('menubutton_alt');
					 $('.searchfield').hide();
                    
				 },
				 function(){
					 $(this).removeClass('menubutton_alt');
				 }
				 );
				 
$('.backto').hover(
				 function(){
					 $(this).addClass('backto_alt');
				
				 },
				 function(){
					 $(this).removeClass('backto_alt');
				 }
				 );
				 
$('.backtowht').hover(
				 function(){
					 $(this).addClass('backtowht_alt');
				
				 },
				 function(){
					 $(this).removeClass('backtowht_alt');
				 }
				 );
				 
$('.loginroll').hover(
				 function(){
					 $(this).addClass('loginroll_alt');
					 $('.searchroll').removeClass('searchroll_alt');
					 $('.searchfield').hide();
				
				 },
				 function(){
					 $(this).removeClass('loginroll_alt');
				 }
				 );
				 
/*$('.loginroll').mouseenter(
				 function(){
					
					 $('.searchroll').removeClass('searchroll_alt');
					 $('.searchfield').hide();
				
				 });*/
				 
$('.searchroll').mouseenter(
				 function(){
					 $('.searchroll').addClass('searchroll_alt');
					
					 $('.searchfield').show();
					 
				 });
				 
	$('.searchfield').mouseleave(
				  function(){
					 $('.searchfield').hide();
					 $('.searchroll').removeClass('searchroll_alt');
			
				 });
				 
				
				 
	$('#popoffup').mouseenter(
				  function(){
					 $('.searchfield').hide();
				
					 $('.searchroll').removeClass('searchroll_alt');
			
		
				 });
				 
				 
				 
	 $('#popoffside').mouseenter(
				  function(){
					 $('.searchfield').hide();
				
					 $('.searchroll').removeClass('searchroll_alt');
		
				 });
				 
	 $('#popoffside_2').mouseenter(
				  function(){
					 $('.searchfield').hide();
				
					 $('.searchroll').removeClass('searchroll_alt');
			
				 });
				
				$('.arrow').hover(
				 function(){
					 $(this).addClass('arrow_alt')
				 },
				 function(){
					 $(this).removeClass('arrow_alt');
				 }
				 );
				 
				 	$('.backtowht').hover(
				 function(){
					 $(this).addClass('backtowht_alt')
				 },
				 function(){
					 $(this).removeClass('backtowht_alt');
				 }
				 );
				 
				  

				 
				
			 });	


