 				{
 					throw new Error("VCard:saveVCard Error encoding bytes " + error.getStackTrace());
 				}
-				
+
 				try
 				{
 					var binaryNode:XML = <BINVAL/>;

			}

			var vcard:VCard = new VCard();
			vcard.contact = user;
			vcard.jid = user.jid;
			cache[ bareJID ] = vcard;

			pushRequest( connection, vcard );

				var typeNode:XML = <TYPE/>;
				typeNode.appendChild(_avatarType);
				avatarNode.appendChild(typeNode);

				vcardExtNode.appendChild( avatarNode );
			}

			var xmlDoc:XMLDocument = new XMLDocument(vcardExtNode.toString());
			vcardExt.setNode(xmlDoc.firstChild);
			//vcardExt.node = vcardExtNode;
