if(Drupal.jsEnabled) {
	$(document).ready(function() {

 
		
		$("#services_button").hover(
		  function () {
		    $("#the_menu").fadeIn(250);
		  },
		  function () {
		    $("#the_menu").fadeOut(250);
		  }
		);
		
		$("#locations_button").hover(
		  function () {
		    $("#the_menu2").fadeIn(250);
		  },
		  function () {
		    $("#the_menu2").fadeOut(250);
		  }
		);


		$("#surveyButton").hover(
		  function () {
				$('#surveyLinks').slideToggle('fast');		
		  },
		  function () {
				$('#surveyLinks').slideToggle('fast');		
		  }
		);
		
		
		$("#cornerPeel").hover(function() { //On hover...
			$("#cornerPeel img , .msg_block").stop()
				.animate({ //Animate and expand the image and the msg_block (Width + height)
					width: '198px',
					height: '198px'
				}, 500);
			} , function() {
			$("#cornerPeel img").stop() //On hover out, go back to original size 50x52
				.animate({
					width: '70px',
					height: '70px'
				}, 220);
			$(".msg_block").stop() //On hover out, go back to original size 50x50
				.animate({
					width: '70px',
					height: '70px'
				}, 200); //Note this one retracts a bit faster (to prevent glitching in IE)
		});      
      
      
      
	});
}

