function display_post(_1){
if(AJAX_Compatible){
vB_PostLoader[_1]=new vB_AJAX_PostLoader(_1);
vB_PostLoader[_1].init();
}else{
pc_obj=fetch_object("postcount"+this.postid);
openWindow("showpost.php?"+(SESSIONURL?"s="+SESSIONURL:"")+(pc_obj!=null?"&postcount="+PHP.urlencode(pc_obj.name):"")+"&p="+_1);
}
return false;
};
var vB_PostLoader=new Array();
function vB_AJAX_PostLoader(_2){
this.postid=_2;
this.container=fetch_object("edit"+this.postid);
};
vB_AJAX_PostLoader.prototype.init=function(){
if(this.container){
postid=this.postid;
pc_obj=fetch_object("postcount"+this.postid);
this.ajax=new vB_AJAX_Handler(true);
this.ajax.onreadystatechange(vB_PostLoader[postid].ajax_check);
this.ajax.send("showpost.php?p="+this.postid,"ajax=1&postid="+this.postid+(pc_obj!=null?"&postcount="+PHP.urlencode(pc_obj.name):""));
}
};
vB_AJAX_PostLoader.prototype.ajax_check=function(){
var _3=vB_PostLoader[postid].ajax.handler;
if(_3.readyState==4&&_3.status==200){
vB_PostLoader[postid].display(_3.responseXML);
if(is_ie){
_3.abort();
}
}
return false;
};
vB_AJAX_PostLoader.prototype.display=function(_4){
if(fetch_tag_count(_4,"postbit")){
this.container.innerHTML=this.ajax.fetch_data(fetch_tags(_4,"postbit")[0]);
PostBit_Init(fetch_object("post"+this.postid),this.postid);
}else{
openWindow("showpost.php?"+(SESSIONURL?"s="+SESSIONURL:"")+(pc_obj!=null?"&postcount="+PHP.urlencode(pc_obj.name):"")+"&p="+this.postid);
}
};


