function initMenu() {
	$('#menu ul').hide();
	
	var shouldAnimate = true;
	
	$('.menuSlide').hover(
		function() {
                       if (shouldAnimate){
                               shouldAnimate = false;
                               $(this).children(":first").next().slideDown('normal', function(){
                                       shouldAnimate = true;
                               });
                       }
                  }
               ,
               function() {
                       if (shouldAnimate){
                               shouldAnimate = false;
                               $(this).children(":first").next().slideUp('normal', function(){
                                       shouldAnimate = true;
                               });
                       }
                  }
   	);
	
	

	
	$('#news-image').hover(
		function() {
			$(this).attr("src","images/news_over.jpg");
   		},
		function() {
			$(this).attr("src","images/news.jpg");
   		}
	);
	
	$('#about-image').hover(
		function() {
			$(this).attr("src","images/about_over.jpg");
   		},
		function() {
			$(this).attr("src","images/about.jpg");
   		}
	);
	
	$('#workshops-image').hover(
		function() {
			$(this).attr("src","images/workshops_over.jpg");
   		},
		function() {
			$(this).attr("src","images/workshops.jpg");
   		}
	);
	
	$('#products-image').hover(
		function() {
			$(this).attr("src","images/products_over.jpg");
   		},
		function() {
			$(this).attr("src","images/products.jpg");
   		}
	);
 
 	$('#contact-image').hover(
		function() {
			$(this).attr("src","images/contact_over.jpg");
   		},
		function() {
			$(this).attr("src","images/contact.jpg");
   		}
	);
}

$(document).ready(function() {
	initMenu();
	});