/*
 * Define YggMenu plugin
 */
(function(){
	/*
	 * Start menu manager
	 *
	 * Return：
	 *     jQuery - jQuery object
	 *
	 * Set menu control to div elements of target children.
	 */
	jQuery.fn.ymenu = function(){
		// Set event handler
		this.mouseover(function(){
			$(this).children("div").show();
		});
		this.mouseout(function(){
			$(this).children("div").hide();
		});

		this.children("div").hide();
		return this;
	};
})(jQuery);

