/*tinyMCE.init({
    file_browser_callback: 'openKCFinder', mode : "textareas", theme : "advanced", plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu",
    theme_advanced_buttons1_add_before : "save,separator", theme_advanced_buttons1_add : "fontselect", theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator",
    theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator", theme_advanced_buttons3_add_before : "tablecontrols,separator", theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print",
    theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_path_location : "bottom",
});

    function openKCFinder(field_name, url, type, win) {
        tinyMCE.activeEditor.windowManager.open({
            file: '/cms/kcfinder/browse.php?opener=tinymce&type=' + type,
            title: 'KCFinder',
            width: 700,
            height: 500,
            resizable: "yes",
            inline: true,
            close_previous: "no",
            popup_css: false
        }, {
            window: win,
            input: field_name
        });
        return false;
    }
*/
function Usuwanie(adres){
if(confirm('Czy na pewno chcesz usun±ć ten obiekt?'))
    {
        window.location = adres;
    }
}

function Usuwanie_all(adres){
if(confirm('Czy na pewno chcesz usun±ć cał± zawartosć?'))
    {
        window.location = adres;
    }
}

function oplac(adres){
if(confirm('Czy na pewno chcesz opłacić usługę?'))
    {
        window.location = adres;
    }
}

function oplac_full(adres){
if(confirm('Czy na pewno chcesz opłacić usługi?'))
    {
        window.location = adres;
    }
}
/*
$(function(){
    $('#gallery a').lightBox();
});

$(function(){
    $('.zdjecia').lightBox();
});
*/

