select type in searchfriends.html