function friend_request(id) {
	//$('add_friend').fade();
	new Ajax.Updater('f_request','../friend_request.php?add='+id,{method:'get'});	
}

function friend_action(id, action){
	new Ajax.Updater(''+id,'friend_accept_reject.php?req_id='+id+'&friend='+action,{method: 'get'});
	
}

function delete_friend(id) {
if (confirm("Are you sure you want to delete")) {
	new Ajax.Request('../delete_friend.php?id='+id,{method: 'get'});
	Effect.Fade(id);
}
}
