public static void analyseFriendsRequest(Hashtable<String, String> dataTable){
		Friends newFriend = new Friends(dataTable.get("NewFriendName"), dataTable.get("NewFriendHost"), "false");		
		if(friendList.size() == 0)
			friendList.add(newFriend);
		else{
			for(int i=0; i < friendList.size(); i++){
				if(!friendList.get(i).getName().equals(newFriend.getName()))
					friendList.add(newFriend);
			}
		}
		for(int i = 2; i <dataTable.size();i++)
			for(int j = 0; j < friendList.size(); i++)
				if(!dataTable.get("Friend"+i+"Name").equals(friendList.get(j))){
					newFriend.setName(dataTable.get("Friend"+i+"Name"));
					newFriend.setHost(dataTable.get("Friend"+i+"Host"));
					friendList.add(newFriend);
				}
		try {
			XmlTreatment.addFriendXML(newFriend);
		} catch (Exception e) {}
	}