
// homepage
//ul id = homeitems
jQuery(document).ready(function($) {
						   
// Front Page
 $('#side1').hover(function(){
								
		$("#img1").attr("src", "/wp-content/themes/halfday/images/on_breakfast.jpg");	
		$("#bigimg").attr("src", "/wp-content/themes/halfday/images/big_breakfast.png");
		});
 $('#side1').mouseout(function(){
		$("#img1").attr("src", "/wp-content/themes/halfday/images/off_breakfast.jpg");
							
		});						   
				
 $('#side2').mouseover(function(){
		$("#img2").attr("src", "wp-content/themes/halfday/images/on_catering.jpg");
		$("#bigimg").attr("src", "wp-content/themes/halfday/images/big_catering.png");					
		});
 $('#side2').mouseout(function(){
		$("#img2").attr("src", "wp-content/themes/halfday/images/off_catering.jpg");
							
		});	
  
  $('#side3').mouseover(function(){
		$("#img3").attr("src", "wp-content/themes/halfday/images/on_salads.jpg");
		$("#bigimg").attr("src", "wp-content/themes/halfday/images/big_salads.png");					
		});
 $('#side3').mouseout(function(){
		$("#img3").attr("src", "wp-content/themes/halfday/images/off_salads.jpg");
							
		});	
 
   $('#side4').mouseover(function(){
		$("#img4").attr("src", "wp-content/themes/halfday/images/on_vegetarian.jpg");
		$("#bigimg").attr("src", "wp-content/themes/halfday/images/big_vegetarian.png");					
		});
 $('#side4').mouseout(function(){
		$("#img4").attr("src", "wp-content/themes/halfday/images/off_vegetarian.jpg");
							
		});	
 
 $('#side5').mouseover(function(){
		$("#img5").attr("src", "wp-content/themes/halfday/images/on_sandwiches.jpg");
		$("#bigimg").attr("src", "wp-content/themes/halfday/images/big_sandwiches.png");					
		});
 $('#side5').mouseout(function(){
		$("#img5").attr("src", "wp-content/themes/halfday/images/off_sandwiches.jpg");
							
		});	
 $('#side6').mouseover(function(){
		$("#img6").attr("src", "wp-content/themes/halfday/images/on_grilled.jpg");
		$("#bigimg").attr("src", "wp-content/themes/halfday/images/big_grilled.png");					
		});
 $('#side6').mouseout(function(){
		$("#img6").attr("src", "wp-content/themes/halfday/images/off_grilled.jpg");
							
		});	
  $('#side7').mouseover(function(){
		$("#img7").attr("src", "wp-content/themes/halfday/images/on_sides.jpg");
		$("#bigimg").attr("src", "wp-content/themes/halfday/images/big_sides.png");					
		});
 $('#side7').mouseout(function(){
		$("#img7").attr("src", "wp-content/themes/halfday/images/off_sides.jpg");
							
		});	 


// Menu

$('#mu1').hover(function(){
		$("#img1").attr("src", "/wp-content/themes/halfday/images/on_breakfast.jpg");	
		});
 $('#mu1').mouseout(function(){
		$("#img1").attr("src", "/wp-content/themes/halfday/images/off_breakfast.jpg");
							
		});						   
				
 $('#mu2').mouseover(function(){
		$("#img2").attr("src", "/wp-content/themes/halfday/images/on_catering.jpg");
		});
 $('#mu2').mouseout(function(){
		$("#img2").attr("src", "/wp-content/themes/halfday/images/off_catering.jpg");
		});	
  
  $('#mu3').mouseover(function(){
		$("#img3").attr("src", "/wp-content/themes/halfday/images/on_salads.jpg");
		});
 $('#mu3').mouseout(function(){
		$("#img3").attr("src", "/wp-content/themes/halfday/images/off_salads.jpg");
});	
 
   $('#mu4').mouseover(function(){
		$("#img4").attr("src", "/wp-content/themes/halfday/images/on_vegetarian.jpg");
		});
 $('#mu4').mouseout(function(){
		$("#img4").attr("src", "/wp-content/themes/halfday/images/off_vegetarian.jpg");
		});	
 
 $('#mu5').mouseover(function(){
		$("#img5").attr("src", "/wp-content/themes/halfday/images/on_sandwiches.jpg");
});
 $('#mu5').mouseout(function(){
		$("#img5").attr("src", "/wp-content/themes/halfday/images/off_sandwiches.jpg");
			});	
 $('#mu6').mouseover(function(){
		$("#img6").attr("src", "/wp-content/themes/halfday/images/on_grilled.jpg");
	});
 $('#mu6').mouseout(function(){
		$("#img6").attr("src", "/wp-content/themes/halfday/images/off_grilled.jpg");
		});	
  $('#mu7').mouseover(function(){
		$("#img7").attr("src", "/wp-content/themes/halfday/images/on_sides.jpg");
});
 $('#mu7').mouseout(function(){
		$("#img7").attr("src", "/wp-content/themes/halfday/images/off_sides.jpg");
							
		});	 



















$('h2:contains("HDCRecentPosts")').addClass('fromTheBlog');

$('.current_page_item a').addClass('currentPage');

});(jQuery);

