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

