ACMS.Config.tooltipDefault="\u3053\u3053\u306b\u30d8\u30eb\u30d7\u304c\u5165\u308a\u307e\u3059\u3002";
ACMS.Dispatch._tooltip=function(elm,hover){var $of=$(elm);if(hover!==false){var contents=ACMS.Config.tooltipDefault;var $contents=$of.data("acms-tooltip");var $position=$of.data("acms-position");if($contents)contents=$contents;var $tooltip=$($.parseHTML('<div class="js-tooltip acms-admin-tooltip acms-tooltip">'+contents+"</div>"));var $pos={of:$of,at:"center top",my:"center bottom-5"};switch($position){case "right":$pos={of:$of,at:"right center",my:"left+5 center"};$tooltip.addClass("right");break;
case "left":$pos={of:$of,at:"left center",my:"right-5 center"};$tooltip.addClass("left");break;case "bottom":$pos={of:$of,at:"center bottom",my:"center top+5"};$tooltip.addClass("bottom");break;case "top":$tooltip.addClass("top");default:break}$(".js-tooltip").remove();$("body").append($tooltip);$tooltip.position($pos).css("visibility","visible")}else if(hover===false)$(".js-tooltip").remove();if(hover===undefined){$(document).unbind("click.tooltip");$(document).bind("click.tooltip",function(){$(".js-tooltip").remove();
$(document).unbind("click.tooltip")})}};
