$(document).ready(function(){
    $(".menu_head").hover(function() {
		//$(this).toggleClass("aa1");
        $(this).parent().find(".menu_body").slideDown('fast').show();

        $(this).parent().hover(function() {
				$(this).find(".menu_head").addClass("aa1");
            }, function(){
            $(this).parent().find(".menu_body").slideUp('fast').end().find(".menu_head").removeClass("aa1");
			//$(this).find(".menu_head").removeClass("aa1");
        });

        }).hover(function() {
            $(this).css({color:"#333333"});
        }, function(){
            $(this).css({color:"#333333"});
    });
});
$(document).ready(function(){
    $(".menu_head-2").hover(function() {
		$this_id = $(this).attr("id");
		if($this_id == "theme"){	$(this).parent().find(".menu_body-2").css("left","340px");};
		if($this_id == "occasion"){	$(this).parent().find(".menu_body-2").css("left","521px");};
		if($this_id == "budget"){	$(this).parent().find(".menu_body-2").css("left","665px");};
        $(this).parent().find(".menu_body-2").slideDown('fast').show();

        $(this).parent().hover(function() {
				$thisid = $(this).find(".menu_head-2").attr("id");
				if($thisid == "category"){
				$(this).find(".menu_head-2").addClass("category");
				}
				if($thisid == "theme"){
				$(this).find(".menu_head-2").addClass("theme");
				}
				if($thisid == "occasion"){
				$(this).find(".menu_head-2").addClass("occasion");
				}
				if($thisid == "budget"){
				$(this).find(".menu_head-2").addClass("budget");
				}
            }, function(){
            $(this).parent().find(".menu_body-2").slideUp('fast').end().find(".menu_head-2").removeClass("category").removeClass("theme").removeClass("occasion").removeClass("budget");
			//$(this).find(".menu_head-2").removeClass("aa1");
			
        });

        }).hover(function() {
            $(this).css({color:"#333333"});
        }, function(){
            $(this).css({color:"#333333"});
    });
});

