// basic uses to instrument an application using AJAX

function Monitor() {
	this.httpclient = new HttpClient();
	this.httpclient.isAsync = true;
	this.httpclient.callback = function() {};
}
Monitor.prototype = {
	startProcess: function(name) {
		this.httpclient.makeRequest(
		'process.php?action=start&process='+name);
	},
	endProcess: function(name) {
		this.httpclient.makeRequest(
		'process.php?action=end&process='+name);
	}
}
