function _geb(id)
{
    return document.getElementById(id);
}

function news(id, stronaPowrotna)
{
    if (stronaPowrotna == 'undefined')
    {
        stronaPowrotna = 0;
    }
    
    advAJAX.get
    ({
        url: 'include/news.php?id=' + id + '&stronaPowrotna=' + stronaPowrotna,
        onSuccess : function(obj) { podmien(obj.responseText); },
        mimeType: 'text/plain'
    });
}

function artykul(id, stronaPowrotna)
{
    if (stronaPowrotna == 'undefined')
    {
        stronaPowrotna = 0;
    }
    
    advAJAX.get
    ({
        url: 'include/artykul.php?id=' + id + '&stronaPowrotna=' + stronaPowrotna,
        onSuccess : function(obj) { podmien(obj.responseText); },
        mimeType: 'text/plain'
    });
}

function klubowicz(id, stronaPowrotna)
{
    if (stronaPowrotna == 'undefined')
    {
        stronaPowrotna = 0;
    }
    
    advAJAX.get
    ({
        url: 'include/klubowicz.php?id=' + id + '&stronaPowrotna=' + stronaPowrotna,
        onSuccess : function(obj) { podmien(obj.responseText); },
        mimeType: 'text/plain'
    });
}

function archiwum(strona)
{
    advAJAX.get
    ({
        url: 'include/archiwum.php?strona=' + strona,
        onSuccess : function(obj) { podmien(obj.responseText); },
        mimeType: 'text/plain'
    });
}

function lista(strona)
{
    advAJAX.get
    ({
        url: 'include/dlanas.php?strona=' + strona,
        onSuccess : function(obj) { podmien(obj.responseText); },
        mimeType: 'text/plain'
    });
}