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

