function sizeViewport(myObj,mySize) {
	myObject = document.getElementById(myObj);
	var x,y;
	if (self.innerHeight) { // all except Explorer
	x = self.innerWidth;
	y = self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
	x = document.documentElement.clientWidth;
	y = document.documentElement.clientHeight;
	} else if (document.body) { // other Explorers
	x = document.body.clientWidth;
	y = document.body.clientHeight;
	}
	// THIS IS THE ACTUAL RESIZING OF THE VIEWPORT
	viewportHeight = y - mySize;
	myObject.style.height = viewportHeight + "px";
	return 'resized';
}
function onResizeHandler() {
	// ALL FUNCTION CALLS TO PERFORM ON RESIZE...
	sizeViewport('nav','0'); // mySize = offset
	sizeViewport('content','0'); // mySize = offset
}
function onLoadHandler() {
	// ALL FUNCTION CALLS TO PERFORM ON LOAD...
	sizeViewport('nav','0');
	sizeViewport('content','0'); // mySize = offset
}
window.onresize = onResizeHandler;
window.onload   = function() {onLoadHandler();document.search.criteria.focus()}
