// Copyright 2000-2005, DataCom of Duluth

// Setups

//Set Up Page Layout
function setLayout() {
	var leftPos = leftBox();
	var rightPos = rightBox();
	if (leftPos <= rightPos) {
		document.getElementById('theLeft').style.height=eval(rightPos+20) + "px";
		document.getElementById('theBottom').style.top=eval(rightPos+130) + "px";				
	} else {
		document.getElementById('theContent').style.height=eval(leftPos-10) + "px";
		document.getElementById('theBottom').style.top=eval(leftPos+130) + "px";
	}
}

function leftBox() {
	var myLeft = document.getElementById('theLeft');
	return (myLeft.offsetHeight - 2);
}

function rightBox() {
	var myContent = document.getElementById('theContent');
	return (myContent.offsetHeight - 2);
}


//Open New Windows
function openLinkA(theFile, theWindow, theBar, theSize, theWidth, theHeight) {
    window.open (theFile, theWindow,"status=no,location=no,toolbars="+theBar+",menubar="+theBar+",directories=no,scrollbars=yes,resizable="+theSize+",width="+theWidth+",height="+theHeight);
}

function openLink(theFile) {
    window.open (theFile);
}
