// Client stub for the AddressBookAJAX PHP Class
function AddressBookAJAX(callback) {
	mode = 'sync';
	if (callback) { mode = 'async'; }
	this.className = 'AddressBookAJAX';
	this.dispatcher = new HTML_AJAX_Dispatcher(this.className,mode,callback,'/ajax.php?','JSON');
}
AddressBookAJAX.prototype  = {
	Sync: function() { this.dispatcher.Sync(); }, 
	Async: function(callback) { this.dispatcher.Async(callback); },
	getContacts: function() { return this.dispatcher.doCall('getContacts',arguments); },
	PEAR: function() { return this.dispatcher.doCall('PEAR',arguments); },
	getStaticProperty: function() { return this.dispatcher.doCall('getStaticProperty',arguments); },
	registerShutdownFunc: function() { return this.dispatcher.doCall('registerShutdownFunc',arguments); },
	isError: function() { return this.dispatcher.doCall('isError',arguments); },
	setErrorHandling: function() { return this.dispatcher.doCall('setErrorHandling',arguments); },
	expectError: function() { return this.dispatcher.doCall('expectError',arguments); },
	popExpect: function() { return this.dispatcher.doCall('popExpect',arguments); },
	delExpect: function() { return this.dispatcher.doCall('delExpect',arguments); },
	raiseError: function() { return this.dispatcher.doCall('raiseError',arguments); },
	throwError: function() { return this.dispatcher.doCall('throwError',arguments); },
	staticPushErrorHandling: function() { return this.dispatcher.doCall('staticPushErrorHandling',arguments); },
	staticPopErrorHandling: function() { return this.dispatcher.doCall('staticPopErrorHandling',arguments); },
	pushErrorHandling: function() { return this.dispatcher.doCall('pushErrorHandling',arguments); },
	popErrorHandling: function() { return this.dispatcher.doCall('popErrorHandling',arguments); },
	loadExtension: function() { return this.dispatcher.doCall('loadExtension',arguments); }
}

