function ReportResolution(objReport) {
	
	reportResolution = this;
	
	this._objReport = objReport;
	this._interv = null;
	this._count = 1;
	this._onresize = window.onresize;
	
	this._getBasicQS = function() {
		var qs = reportTime._objReport.getBasicQS();
		qs += "resolution";
		qs += "&sw=" + screen.width;
		qs += "&sh=" + screen.height;
		qs += "&aw=" + document.body.clientWidth;
		qs += "&ah=" + document.body.clientHeight;
		return(qs);
	}
	
	window.onresize = function() {
		
		clearInterval(reportResolution._interv);
		
		reportResolution._interv = setInterval(function() {
		
			clearInterval(reportResolution._interv);
			
			if(typeof(reportResolution._onresize) == "function") reportResolution._onresize();
			
			reportResolution._interv = setInterval(function() {
		
				clearInterval(reportResolution._interv);
				
				if(reportResolution._count++ > 3) {
					window.onresize = reportResolution._onresize;
					return;
				}
				
				document.getElementById(reportResolution._objReport.div).innerHTML = '<img src="' + reportResolution._getBasicQS() + '" />';
				
			}, 3000);
			
		}, 50);
		
	}
	
	window.onresize();

}
