// JavaScript Document

	$(document).ready(function() {
    $('#slides').cycle({
		fx: 'fade'
	});
});
	
$(document).ready(function() {			
				
	$('#container.bars').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.bars").offset().top
					}, 1500);				   
					 
										   
				 });
				 
				 $("#container.bars").hover(function(){
					$(this).css({color: '#A00'});
				}, function(){
						$(this).css({color: '#000'});
});
				
$(document).ready(function() {			
				
				$('#container.beans').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.beans").offset().top
					}, 1500);				   
					 
										   
				 });
				 
				 $("#container.beans").hover(function(){
					$(this).css({color: '#A00'});
				}, function(){
						$(this).css({color: '#000'});
});
});
					$('#container.breakfast').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.breakfast").offset().top
					}, 1500);				   
					 
										   
				 });
				 
				 $("#container.breakfast").hover(function(){
					$(this).css({color: '#A00'});
				}, function(){
						$(this).css({color: '#000'});
});
			$('#container.bread').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.bread").offset().top
					}, 1500);				   
					 
										   
				 });
				 
				 $("#container.bread").hover(function(){
					$(this).css({color: '#A00'});
				}, function(){
						$(this).css({color: '#000'});
});


					$('#container.cakes').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.cakes").offset().top
					}, 1500);				   
					 
										   
				 });
				 
				 $("#container.cakes").hover(function(){
					$(this).css({color: '#A00'});
				}, function(){
						$(this).css({color: '#000'});
});
				
				$('#container.cookies').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.cookies").offset().top
					}, 1500);				   
					 
										   
				 });
				 
				 $("#container.cookies").hover(function(){
					$(this).css({color: '#A00'});
				}, function(){
						$(this).css({color: '#000'});
});
									$('#container.cupcakes').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.cupcakes").offset().top
					}, 1500);				   
					 
										   
				 });
				 
				 $("#container.cupcakes").hover(function(){
					$(this).css({color: '#A00'});
				}, function(){
						$(this).css({color: '#000'});
});
$(document).ready(function() {			
				
				$('#container.drinks').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.drinks").offset().top
					}, 1500);				   
					 
										   
				 });
				 
				 $("#container.drinks").hover(function(){
					$(this).css({color: '#A00'});
				}, function(){
						$(this).css({color: '#000'});
});
});


					$('#container.granola').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.granola").offset().top
					}, 1500);				   
					 
										   
				 });
				 
				 $("#container.granola").hover(function(){
					$(this).css({color: '#A00'});
				}, function(){
						$(this).css({color: '#000'});
});
									$('#container.pies').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.pies").offset().top
					}, 1500);				   
					 
										   
				 });
				 
				 $("#container.pies").hover(function(){
					$(this).css({color: '#A00'});
				}, function(){
						$(this).css({color: '#000'});
});
							$('#container.menuheadline2').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.story").offset().top
					}, 1500);				   
					 
										   
				 });
				 $(document).ready(function() {			
				
	$('#container.menuheadline2').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.story").offset().top
					}, 1500);				   
					 
										   
				 });
				 
		
});
				

				 							$('#container.menuheadline3').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.store").offset().top
					}, 1500);				   
					 
										   
				 });
									$('#container.truffles').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.truffles").offset().top
					}, 1500);				   
					 
										   
				 });
				 $(document).ready(function() {			
				
				$('#container.top').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.top").offset().top
					}, 1500);				   
					 
										   
				 });
				 });
				 
				 $("#container.truffles").hover(function(){
					$(this).css({color: '#A00'});
				}, function(){
						$(this).css({color: '#000'});
});									

				$('#container.weddingcakes').click(function(){
										   
					$('html, body').animate({
						scrollTop: $("#bumper.weddingcakes").offset().top
					}, 1500);				   
					 
										   
				 });
				 
				 $("#container.weddingcakes").hover(function(){
					$(this).css({color: '#A00'});
				}, function(){
						$(this).css({color: '#000'});
});
});
