
function Timer_(URL, Variable, Interval)
{
	this.TimerObject = null;
	this.TimerURL = URL;
	this.TimerVariable = Variable;
	this.TimerInterval = Interval;

	this.Ajax = new XMLHTTPObject_();

	this.Start = function()
	{
		this.Ajax.Request("POST", this.TimerURL, this.TimerVariable);
		this.TimerObject = window.setInterval(this.Ajax.Request.bind(this.Ajax, ["POST", this.TimerURL, this.TimerVariable]), this.TimerInterval);
	}

	this.Stop = function()
	{
		clearInterval(this.TimerObject);
	}
}
