/*
 * Define YggMenu plugin
 */
(function(){
	/*
	 * Start menu manager
	 *
	 * Arguments:
	 *     ctgt (string) - Child target name
	 *
	 * Return：
	 *     jQuery - jQuery object
	 *
	 * Set handler to this ans ctgt window.
	 */
	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);
