// Client stub for the quizModule PHP Class
function quizModule(callback) {
	mode = 'sync';
	if (callback) { mode = 'async'; }
	this.className = 'quizModule';
	this.dispatcher = new HTML_AJAX_Dispatcher(this.className,mode,callback,'/viktoriin/ajax.php?','JSON');
}
quizModule.prototype  = {
	Sync: function() { this.dispatcher.Sync(); }, 
	Async: function(callback) { this.dispatcher.Async(callback); },
	Main: function() { return this.dispatcher.doCall('Main',arguments); },
	printQuiz: function() { return this.dispatcher.doCall('printQuiz',arguments); },
	printSelectBird: function() { return this.dispatcher.doCall('printSelectBird',arguments); },
	getRandom: function() { return this.dispatcher.doCall('getRandom',arguments); }
}

