 		private var myCallbackScope:Object;
 
 		private var myCallbackFunc:Function;
+		
+		private var myErrorCallbackFunc:Function;
 
 		private var myQueryName:String;
 

			callbackName = iqCallback;
			callbackScope = iqCallbackScope;
			callback = iqCallbackFunc;
		}

		/**

		 * @param	iqCallback The function to be called when the server responds to the IQ
		 * @param	iqCallbackScope The object instance containing the callback method
		 */
		public function IQ( recipient:EscapedJID = null, iqType:String = null, iqID:String = null, iqCallback:String = null, iqCallbackScope:Object = null, iqCallbackFunc:Function = null, iqErrorCallback:Function = null )
		{
			var id:String = exists( iqID ) ? iqID : generateID( "iq_" );

