$(function() {
	var placeHolder = '検索：';
	$("input[type='text']")
	.focus(function() {
		var self = $(this);
		if (self.val() === placeHolder) self.val("");
	})
	.blur(function() {
		var self = $(this);
		if (self.val() === "") self.val(placeHolder);
	});

	$(".recipePhoto a").hover(function(){
		$(this).addClass("hover");
	},function(){
		if($(this).hasClass("hover")){
			$(this).removeClass("hover")
		}
	});

    $('.index #yaoki .recipeList li, .index #nanako .recipeList li').flatHeights();
    $('.index #yaoki dl, .index #nanako dl').flatHeights();
    $('.index #recommend .recipeList li').flatHeights();
    $('.index #summer .recipeList li').flatHeights();
});

