<!--
function adm_pozdro( id, act ) {

            if ( (act == 'akceptuj') || (act == 'odrzuc') ) {
                        document.getElementById('pozdrID'+id).style.display='none';
            }
            
            var objjjj = 'ajax=tak&mod=pozdrowienia&f='+act+'&id='+id;
                    
            makeRequest('ajax.php', objjjj, 'PozdroAjaxMessage');
}

function adm_rolator( id, act, obj ) {

            dod_query = '';
            if ( obj.html ) {
                                    html = encodeURIComponent(obj.html.value);
                                    days = obj.days.value;
                                    main_id = obj.main_id.value;
                                    
                                    dod_query = '&html='+html+'&days='+days+'&main_id='+main_id;
            }
            else 
                                    dod_query = '&main_id='+obj;
            
            var objjjj = 'ajax=tak&mod=rolator&f='+act+'&id='+id+dod_query;
            
            makeRequest('ajax.php', objjjj, 'rolatorAJAX'+id);
}

function PodgladBanneraRolator(h) {
            document.getElementById('PodgladBanneraRolator').innerHTML = h;
}

function adm_rolator_del(id_main, id) {
            adm_rolator( id_main, 'usun', id );
            document.getElementById('TabRolatorDisplay'+id).style.display = 'none';
}



function index_jezyczki(dzial, id) {
            var tab;
            tab = new Array(3); 
            
            tab['download'] = new Array(5); 
            tab['download'] = ['index_download_mp3', 'index_download_electro', 'index_download_trance', 'index_download_dance', 'index_download_rnb', 'index_discopolo_mp3-disco-polo'];
            
            tab['mp3'] = new Array(3); 
            tab['mp3'] = ['index_mp3_najnowsze', 'index_mp3_najpopularniejsze', 'index_mp3_najlepsze'];
            
            tab['premiery'] = new Array(3); 
            tab['premiery'] = ['index_premiery_plytowe', 'index_premiery_eska', 'index_premiery_skladanki'];
            
            tab['wasze'] = new Array(5); 
            tab['wasze'] = ['index_wasze_download', 'index_wasze_electrohouse', 'index_wasze_trance', 'index_wasze_dance', 'index_wasze_discopolo'];
            
            for ( var i in tab[dzial] ) {
                                    JP_v = 'JP_'+tab[dzial][i];
                            if ( tab[dzial][i] == id ) {
                                        document.getElementById(tab[dzial][i]).style.display = 'block';
                                        document.getElementById(JP_v).className = 'index_jezyk_jezyczek_hover';
                            }
                            else{
                                        document.getElementById(tab[dzial][i]).style.display = 'none';
                                        document.getElementById(JP_v).className = 'index_jezyk_jezyczek';
                            }
        } 
}


function top_card( n ) {
            
            var objjjj = 'ajax=tak&script=index&card='+n;
                    
            makeRequest('ajax.php', objjjj, 'top_card');
}

//-->
