Makeshop.prototype.bookmarksite_event = function(title,url) {
    if (window.sidebar) { // firefox
        window.sidebar.addPanel(title, url, "");
    } else if(window.opera && window.print)  { // opera
        var elem = document.createElement('a');
        elem.setAttribute('href',url);
        elem.setAttribute('title',title);
        elem.setAttribute('rel','sidebar');
        elem.click();
    } else if(document.all) {
        window.external.AddFavorite(url, title);
    }

    $.ajax({
        url: '/Event/Addon/KR/XHRfavorite',
        type: 'get',
        dataType: 'json',
        success: function(response) {
            if (response.message) {
                alert(response.message);
            } else {
                alert(LANG.POINT_FAILURE);
            }
        },
        error: function() {
            alert(LANG.POINT_FAILURE);
        }
    });
}

