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

