function Friend()
{
  this.memberid="";
}

Friend.prototype.remove=function(id)
{
  if(confirm("您确认要和此人绝交？")==false)
    return;
  var obj=new Ajax(this);
  obj.post("/servlet/member/friend.servlet.php","action","remove","id",id,this.removeback);
}

Friend.prototype.removeback=function(value)
{
  top.location.reload();
}

/*End*/