<!-- Hide from older browsers

/*This area is the first function to load, it calls all others that must be ran
	You may to need to add others if for example you add a Google Map */
	
function funcLoad() {
	funcSameHeight();
}
	
/* This worked but made page loading appear slow
function funcLoad(myStyle) {
	funcStyle(myStyle);
	funcStyle('/SCM/StyleSheets/Style_Buttons');
	funcSameHeight();
}
*/

/*This sets the style based on the browser detected */
function funcStyle(myStyle) {
	var browser=navigator.appName;
	var s=document.createElement('link');
	var strStyle = myStyle;
	s.setAttribute('type', 'text/css');
	s.setAttribute('rel', 'stylesheet');
	s.setAttribute('media', 'screen');
	if (browser == 'Microsoft Internet Explorer') {
		strStyle = strStyle + '_IE.css'
		//s.setAttribute('href', myStyle + '_IE.css');
	} else {
		//Netscape (and others like it)
		strStyle = strStyle + '_NS.css'
		//s.setAttribute('href', myStyle + '_FF.css');
	}
	s.setAttribute('href', strStyle);
	document.getElementsByTagName('head')[0].appendChild(s);
	//alert('You are viewing this site with ' + browser + '.');
	//alert('You have chosen to use ' + strStyle + ' stylesheet.');
}

/* This makes the side and center content sections the same height */
function funcSameHeight() {
	if (document.getElementById('contentleft') != null && document.getElementById('contentcenter') !=null) {
		var hs = document.getElementById('contentleft').offsetHeight;
		var hc = document.getElementById('contentcenter').offsetHeight;
		var h = 0
		if (hs > hc) {
			h = hs;
		} else {
			h = hc;
		}
		document.getElementById('contentleft').style.height = h + 'px';
		document.getElementById('contentcenter').style.height = h + 'px';
		//alert(h + ' is the greatest height.');
		}
}
// Stop Hiding -->