// Client stub for the carservice PHP Class
function carservice(callback) {
	mode = 'sync';
	if (callback) { mode = 'async'; }
	this.className = 'carservice';
	this.dispatcher = new HTML_AJAX_Dispatcher(this.className,mode,callback,'/ajax.php?','JSON');
}
carservice.prototype  = {
	Sync: function() { this.dispatcher.Sync(); }, 
	Async: function(callback) { this.dispatcher.Async(callback); },
	voitpoll: function() { return this.dispatcher.doCall('voitpoll',arguments); },
	getmodeloptions: function() { return this.dispatcher.doCall('getmodeloptions',arguments); },
	geteditmodeloptions: function() { return this.dispatcher.doCall('geteditmodeloptions',arguments); },
	getsalemodeloptions: function() { return this.dispatcher.doCall('getsalemodeloptions',arguments); }
}

