function AddFriend(Id,thediv){
   var ajaxobj = createXMLHttpRequest();
   if (Id>=0){
	   ajaxobj.open("GET",'/community/gotool/friendsave.asp?friendId='+Id,false);	
	   ajaxobj.send(null);
	   var obj = document.getElementById(thediv);
	   obj.innerHTML=ajaxobj.responseText;
	}
}