function happyArrow(path){

	$("#happy ul li ul").addClass("push"); // This is line 3
	$("#happy ul li.drop").addClass("enhanced");
	$("#happy ul li.drop").removeClass("drop");
	$("#happy ul li.enhanced span").after(' <img src="' + path + '" />');
	$("#happy ul li.enhanced img").wrap('<a class="arrow rest"></a>');
	
	$("#happy ul li a.arrow").hover(function(){
		$(this).removeClass("rest").addClass("hover");
	}, function(){
		$(this).removeClass("hover").addClass("rest");
	});
	
	$("#happy ul li a.arrow").click(function(){
		if ($(this).hasClass("hover") == true) {
			$("#happy ul li a.open").removeClass("open").addClass("rest");
			$("#happy ul li ul").hide();
			$(this).removeClass("hover").addClass("open");
			$(this).parent().find("ul").fadeIn();
		} else {
			if ($(this).hasClass("open") == true) {
				$(this).removeClass("open").addClass("hover");
				$(this).parent().find("ul").hide();
			}
		}
	});

	$(document).click(function(event){
		var target = $(event.target);
		if (target.parents("#happy").length == 0) {
			$("#happy ul li a.arrow").removeClass("open").addClass("rest");
			$("#happy ul li ul").hide();
		}
	});
}
