// Client stub for the AreaSearch PHP Class
function AreaSearch(callback) {
	mode = 'sync';
	if (callback) { mode = 'async'; }
	this.className = 'AreaSearch';
	this.dispatcher = new HTML_AJAX_Dispatcher(this.className,mode,callback,'/search_lib/ajax/searcharea.php?','JSON');
}
AreaSearch.prototype  = {
	Sync: function() { this.dispatcher.Sync(); }, 
	Async: function(callback) { this.dispatcher.Async(callback); },
	SearchBox: function() { return this.dispatcher.doCall('SearchBox',arguments); },
	getStatus: function() { return this.dispatcher.doCall('getStatus',arguments); },
	setStatus: function() { return this.dispatcher.doCall('setStatus',arguments); }
}

