﻿function mymenu(obj){
	if (!obj.length) return;
	$(obj).find("ul").css({display: "none"});
	$(obj).hover(function(){
		$(this).find('ul').first().stop(true, true).slideDown(300);
	},function(){
		$(this).find('ul').first().stop(true, true).slideUp(300);
	});
}

$(document).ready(function(){
	mymenu($("menu"));
});
