var section;
var popup;

browsver = navigator.appVersion.toLowerCase();
browsvernum = parseInt(navigator.appVersion);
browsname = navigator.appName;
browsagt = navigator.userAgent.toLowerCase();



function resizecols() {
	if (section == "hp") {}
	else if (popup != true) {
		col1 = document.getElementById('bodyshell');
		col2 = document.body;
		pageht = col2.offsetHeight;
		htdiff = 421;
		if ((col1.offsetHeight + htdiff) < pageht) {
			col1.style.height = (pageht - htdiff) + 'px';
		}
	}
}


if(popup != true) {
	self.name = "mainwin";
	window.onload=function() {
		if (document.getElementById) {
			resizecols();
		}
	}
}


function popup(loc,win,atts) {
	thisatts = "location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=774,height=500" + "," + atts;
	window.open(loc,win,thisatts);
}

