$(document).ready(function() {


$("#menu_nibbles").hover(
      function() { $("#menu_nibbles_sub").fadeIn("fast"); },
      function() { $("#menu_nibbles_sub").fadeOut("fast"); }
 );
$("#menu_starter").hover(
      function() { $("#menu_starter_sub").fadeIn("fast"); },
      function() { $("#menu_starter_sub").fadeOut("fast"); }
 );
$("#menu_main").hover(
      function() { $("#menu_main_sub").fadeIn("fast"); },
      function() { $("#menu_main_sub").fadeOut("fast"); }
 );
$("#menu_dessert").hover(
      function() { $("#menu_dessert_sub").fadeIn("fast"); },
      function() { $("#menu_dessert_sub").fadeOut("fast"); }
 );
$("#menu_coffee").hover(
      function() { $("#menu_coffee_sub").fadeIn("fast"); },
      function() { $("#menu_coffee_sub").fadeOut("fast"); }
 );

	$("a.modal-link").fancybox({
		'transitionIn'		:	'fade',
		'transitionOut'		:	'fade',
		'speedIn'			:	800, 
		'speedOut'			:	200, 
		'width'				:	900,
		'height'			:	420,
		'overlayShow'		:	true,
		'autoScale'			:	true,
		'type'				:	'iframe',
		'centerOnScroll'	:	true,
		'showCloseButton'	:	true,
		'scrolling'			:	'no',
		'hideOnOverlayClick':	false,
		'hideOnContentClick': 	false,
		'enableEscapeButton':true

	});


	$("a.modal-signup").fancybox({
		'transitionIn'		:	'fade',
		'transitionOut'		:	'fade',
		'speedIn'			:	800, 
		'speedOut'			:	200, 
		'width'				:	860,
		'height'			:	820,
		'overlayShow'		:	true,
		'autoScale'			:	false,
		'type'				:	'iframe',
		'centerOnScroll'	:	true,
		'showCloseButton'	:	true,
		'scrolling'			:	'no',
		'hideOnOverlayClick':	false,
		'hideOnContentClick': 	false,
		'enableEscapeButton':false

	});



	$("a.modal-newsletter").fancybox({
		'transitionIn'		:	'fade',
		'transitionOut'		:	'fade',
		'speedIn'			:	800, 
		'speedOut'			:	200, 
		'width'				:	420,
		'height'			:	350,
		'overlayShow'		:	true,
		'autoScale'			:	false,
		'type'				:	'iframe',
		'centerOnScroll'	:	true,
		'showCloseButton'	:	true,
		'scrolling'			:	'no',
		'hideOnOverlayClick':	false,
		'hideOnContentClick': 	false,
		'enableEscapeButton':false

	});
});

