/**
 * @author mad@Max
 * vBa Full Post
 */
function vbafullpost(postid){
    this.postid = postid;
    this.advpost = fetch_object('advpost_' + this.postid);
    this.advload = fetch_object('advload_' + this.postid);
    this.advload.style.display = 'inline';
    
    YAHOO.util.Connect.asyncRequest('POST', vbahp + '/ajax.php?do=advfp', {
        success: adv_ok,
        failure: vBulletin_AJAX_Error_Handler,
        timeout: vB_Default_Timeout,
        scope: this
    }, SESSIONURL + "securitytoken=" + SECURITYTOKEN + '&do=advfp&postid=' + this.postid);
    return false;
}

var adv_ok = function(o){
    if (o.responseText !== undefined) {
        this.advload.style.display = 'none';
        if (this.advpost !== undefined) {
            this.advpost.innerHTML = o.responseXML.getElementsByTagName("vbafp")[0].firstChild.nodeValue;
        }
    }
}

