	// Navigation Menu
	$(function() {
		$("#dropmenu ul").css({display: "none"}); // Opera Fix
		$("#dropmenu li").hover(function(){
			$(this).find('ul:first').css({visibility: "visible",display: "none"}).slideDown("normal");
		},function(){
			$(this).find('ul:first').css({visibility: "hidden"});
		});
	});
	
	$(function() {
		$("#dropmenu a").addClass("png");
	});
	// Mouse Hover
		$(function() { 
		$(".post").mouseover(function(){
				$(this).css({ border:"1px solid #DDD", background:"#FFF"});
				$("h1 a:first",this).css({ display:"block", color:"#FF0242"});
			}).mouseout(function(){
				$(this).css({ border:"1px solid #E6E6E6", background:"#F5F6F7"});
				$("h1 a:first",this).css({ color:"#24282B"});
				});
		
		});
		// Delay Image
	$(function() {          
    	$(".post img").lazyload({
        	placeholder : "http://cookpad.org/wp-content/themes/WPINK/images/grey.gif",
            effect : "fadeIn"
          });
    	});
	
	//Slide to any anchor
	$(document).ready(function() {
	$("a.anchorLink").anchorAnimate()
	});
	
	jQuery.fn.anchorAnimate = function(settings) {
	
		settings = jQuery.extend({
			speed : 1100
		}, settings);	
		
		return this.each(function(){
			var caller = this
			$(caller).click(function (event) {	
				event.preventDefault()
				var locationHref = window.location.href
				var elementClick = $(caller).attr("href")
				
				var destination = $(elementClick).offset().top;
				$("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination}, settings.speed, function() {
					window.location.hash = elementClick
				});
				return false;
			})
		})
	}
