var Jol_Ajax;
function Jol_Ajax_Wiki_Init()
{
    Jol_Ajax = new vB_AJAX_Handler(true);
    Jol_Ajax.onreadystatechange(Jol_Ajax_Wiki_Receiver);
}
function Jol_Ajax_Wiki_Receiver()
{
    if (Jol_Ajax.handler.readyState == 4
       && Jol_Ajax.handler.status == 200
       && Jol_Ajax.handler.responseText)
    {
        document.getElementById('wiki_modifications').innerHTML = (Jol_Ajax.handler.responseText);
    }
}
function Jol_Ajax_Wiki_History(threadId)
{
    document.getElementById('wiki_progress').style.display = 'inline';
    Jol_Ajax.send('/jol/plugins/wiki/ajax-wiki.php', 't=' + threadId);
    document.getElementById('wiki_progress').style.display = 'none';
}
