emailField.setValue(vcard.emailList.get(0).userid);
if(!vcard.photo().isEmpty()&&!GXT.isIE)
{
ImageElement imgEl = avatarImg.getElement().cast();
String photoData = vcard.photo();
imgEl.removeAttribute("src");
imgEl.setSrc("data:image;base64,"+photoData);
}
else
avatarImg.setUrl("images/default_avatar.png");