		$(document).ready(function() {
			$('input[title]').each(function() {
				if($(this).val() === '') {
					$(this).val($(this).attr('title'));
				}

				$(this).focus(function() {
					if($(this).val() === $(this).attr('title')) {
						$(this).val('').addClass('focused');
					}
				});

				$(this).blur(function() {
					if($(this).val() === '') {
						$(this).val($(this).attr('title')).removeClass('focused');
					}
				});
			});  
			
			$('textarea[title]').each(function() {
				if($(this).val() === '') {
					$(this).val($(this).attr('title'));
				}

				$(this).focus(function() {
					if($(this).val() === $(this).attr('title')) {
						$(this).val('').addClass('focused');
					}
				});

				$(this).blur(function() {
					if($(this).val() === '') {
						$(this).val($(this).attr('title')).removeClass('focused');
					}
				});
			});  

			$('.select').click(
		      function () {
		        $(this).find('ul').slideToggle();
				return false;
		      }
		    );
	    

            
			$(".chefTout").hover(
				function() {$(this).next(".chefInfo").fadeIn("fast");},
				function() {$(".chefInfo").fadeOut("fast"); } 
			);
			
   			$('#chefRotate').cycle({
				fx: 'fade',
				speed:  1500  
			});

            // sandwich recipes

               $('#sandRotate').cycle({
                fx: 'fade',
                speed:  1500
            });

		});      
		
		
		
		
		
		
		