function RequestProcessingQueue()
{
	this.requests = new Array();
	
	this.size = function()
	{
		return this.requests.length;
	}
	this.enqueue = function (command)
	{
		this.requests.push(command);
		this.requestCount++;
	}
	this.process = function()
	{
		if(this.requests.length > 0)
		{
			eval(this.requests.shift());
		}
	}
}
var G_REQUEST_QUEUE = new RequestProcessingQueue();