// Client stub for the Auth PHP Class
function Auth(callback) {
	mode = 'sync';
	if (callback) { mode = 'async'; }
	this.className = 'Auth';
	this.dispatcher = new HTML_AJAX_Dispatcher(this.className,mode,callback,'/server.php?plugin=Auth&amp;path=%2F%2F&amp;','JSON');
}
Auth.prototype  = {
	Sync: function() { this.dispatcher.Sync(); }, 
	Async: function(callback) { this.dispatcher.Async(callback); },
	authorize: function() { return this.dispatcher.doCall('authorize',arguments); },
	unauthorize: function() { return this.dispatcher.doCall('unauthorize',arguments); }
}

