function CheckResolution(){
	var aWidth,aHeight;
	if (self.innerHeight) { // all except Explorer
		aWidth = self.innerWidth;
		aHeight = self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
		aWidth = document.documentElement.clientWidth;
		aHeight = document.documentElement.clientHeight;
	} else if (document.body) {  // other Explorers
		aWidth = document.body.clientWidth;
		aHeight = document.body.clientHeight;
	}
	var row_height = aHeight - 20;
	ExpandRow(row_height);
}

function ExpandRow(row_height){
	var innerhtml = '<img src="./images/themes/dot.gif" width="1" height="' + row_height +'" />';
	document.getElementById('dynamic_row').innerHTML = innerhtml;
}

window.onload = CheckResolution;
window.onresize = CheckResolution;