function checkFieldValue(obj) {
	if (obj.value.substr(0,1) == '<') obj.value='';
}

function stretchColumns() {
	var viewPortWidth = 0, viewPortHeight = 0;
	if(typeof(window.innerWidth) == 'number') {
		//Non-IE
		viewPortWidth = window.innerWidth;
		viewPortHeight = window.innerHeight;
	} else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
		//IE 6+ in 'standards compliant mode'
		viewPortWidth = document.documentElement.clientWidth;
		viewPortHeight = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		viewPortWidth = document.body.clientWidth;
	viewPortHeight = document.body.clientHeight;
	}

	if (document.getElementById('content').offsetHeight && viewPortHeight > document.getElementById('content').offsetHeight) { 
		document.getElementById('content').style.height = viewPortHeight - document.getElementById('header').offsetHeight - 70 + 'px';

	}
	
	if (document.all) {
		if (viewPortWidth <= 900) {
			document.getElementsByTagName('body')[0].style.width = '990px';
		} else {
			document.getElementsByTagName('body')[0].style.width = 'auto';
		}
	}
}

window.onload = stretchColumns;
window.onresize = stretchColumns;
