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

