$(document).ready(function(){	
	
	//Fix Errors - http://www.learningjquery.com/1759/01/quick-tip-prevent-animation-queue-buildup/
	
	//Remove outline from links
	$("a").click(function(){
		$(this).blur();
	});
	
		//Highlights background each element
	$(".on1 span a").stop().fadeTo(175, 0.8);
		
	$(".on1 span a").mouseover(function(){
		$(this).stop().fadeTo(175, 1);
	});
	
	$(".on1 span a").mouseout(function(){
		$(this).stop().fadeTo(250, 0.3);
	}); 
	
		//When mouse is removed
	$(".on1").mouseout(function(){
		$(this).stop().animate({height:'15px'},{queue:false, duration:600, easing: 'easeOutExpo'})
	});
	
		//When mouse rolls over
	$(".on1").mouseover(function(){
		$(this).stop().animate({height:'120px'},{queue:false, duration:600, easing: 'easeOutExpo'});
	});
	
	
		//Highlights background each element
	$(".on2 span a").stop().fadeTo(175, 0.8);
		
	$(".on2 span a").mouseover(function(){
		$(this).stop().fadeTo(175, 1);
	});
	
	$(".on2 span a").mouseout(function(){
		$(this).stop().fadeTo(250, 0.3);
	}); 
	
		//When mouse is removed
	$(".on2").mouseout(function(){
		$(this).stop().animate({height:'15px'},{queue:false, duration:600, easing: 'easeOutExpo'})
	});
	
		//When mouse rolls over
	$(".on2").mouseover(function(){
		$(this).stop().animate({height:'120px'},{queue:false, duration:600, easing: 'easeOutExpo'});
	});
	
	
	//Highlights background each element
	$(".on3 span a").stop().fadeTo(175, 0.8);
		
	$(".on3 span a").mouseover(function(){
		$(this).stop().fadeTo(175, 1);
	});
	
	$(".on3 span a").mouseout(function(){
		$(this).stop().fadeTo(250, 0.3);
	}); 
	
	//When mouse rolls over
	$(".on3").mouseover(function(){
		$(this).stop().animate({height:'120px'},{queue:false, duration:600, easing: 'easeOutExpo'});
	});
	
	//When mouse is removed
	$(".on3").mouseout(function(){
		$(this).stop().animate({height:'15px'},{queue:false, duration:600, easing: 'easeOutExpo'})
	});
	
	
	//Highlights background each element
	$(".on4 span a").stop().fadeTo(175, 0.8);
		
	$(".on4 span a").mouseover(function(){
		$(this).stop().fadeTo(175, 1);
	});
	
	$(".on4 span a").mouseout(function(){
		$(this).stop().fadeTo(250, 0.3);
	}); 
	
	//When mouse rolls over
	$(".on4").mouseover(function(){
		$(this).stop().animate({height:'120px'},{queue:false, duration:600, easing: 'easeOutExpo'});
	});
	
	//When mouse is removed
	$(".on4").mouseout(function(){
		$(this).stop().animate({height:'15px'},{queue:false, duration:600, easing: 'easeOutExpo'})
	});

	
	//Highlights each element
	$(".on5 span a").stop().fadeTo(175, 0.8);
		
	$(".on5 span a").mouseover(function(){
		$(this).stop().fadeTo(175, 1);
	});
	
	$(".on5 span a").mouseout(function(){
		$(this).stop().fadeTo(250, 0.3);
	}); 
	
	//When mouse rolls over
	$(".on5").mouseover(function(){
		$(this).stop().animate({height:'120px'},{queue:false, duration:600, easing: 'easeOutExpo'});
	});

	
	//When mouse is removed
	$(".on5").mouseout(function(){
		$(this).stop().animate({height:'15px'},{queue:false, duration:600, easing: 'easeOutExpo'})
	});

	
	//Highlights each element
	$(".on6 span a").stop().fadeTo(175, 0.8);
		
	$(".on6 span a").mouseover(function(){
		$(this).stop().fadeTo(175, 1);
	});
	
	$(".on6 span a").mouseout(function(){
		$(this).stop().fadeTo(250, 0.3);
	}); 
	
	//When mouse rolls over
	$(".on6").mouseover(function(){
		$(this).stop().animate({height:'120px'},{queue:false, duration:600, easing: 'easeOutExpo'});
	});

	
	//When mouse is removed
	$(".on6").mouseout(function(){
		$(this).stop().animate({height:'15px'},{queue:false, duration:600, easing: 'easeOutExpo'})
	});

	
	//Highlights each element
	$(".on7 span a").stop().fadeTo(175, 0.8);
		
	$(".on7 span a").mouseover(function(){
		$(this).stop().fadeTo(175, 1);
	});
	
	$(".on7 span a").mouseout(function(){
		$(this).stop().fadeTo(250, 0.3);
	}); 
	
	//When mouse rolls over
	$(".on7").mouseover(function(){
		$(this).stop().animate({height:'120px'},{queue:false, duration:600, easing: 'easeOutExpo'});
	});

	
	//When mouse is removed
	$(".on7").mouseout(function(){
		$(this).stop().animate({height:'15px'},{queue:false, duration:600, easing: 'easeOutExpo'})
	});
	

		//Highlights each element
	$(".fade").stop().fadeTo(200, 1);


		
	$(".fade").mouseover(function(){
		$(this).stop().fadeTo(250, 0.3);
	});
	
	$(".fade").mouseout(function(){
		$(this).stop().fadeTo(300, 1);
	});

});
