﻿$(document).click(function (e) {
    if (e.which == 1) { // 只對滑鼠左鍵產生以下作用
        var showpanel = $(document).data('showpanel');
        if (showpanel) {
            showpanel.hide();
            $(document).data('showpanel', null);
        }
    }
});
