<!--
	
	function addLoadEvent(func) {
		var oldonload = window.onload;
		if (typeof window.onload != 'function') {
			window.onload = func;
		} else {
			window.onload = function() {
				oldonload();
				func();
			}
		}
	}
	
	function highlightPage() {
		if (!document.getElementsByTagName) return false;
		if (!document.getElementById) return false;
		if (!document.getElementById("rightnavcell")) return false;
		
		var rightNav = document.getElementById("rightnavcell");
		var navLinks = rightNav.getElementsByTagName("a");
		
		for (var i=0; i<navLinks.length; i++) {
			var linkUrl = navLinks[i].getAttribute("href");
			var currentUrl = window.location.href;
			if (currentUrl.indexOf(linkUrl) != -1) {
				navLinks[i].className = "here";
			}
		}
	}
	
	function adjustFooter() {
		if (!document.getElementsByTagName) return false;
		if (!document.getElementById) return false;
		
		// Setup Variables
		var setNav = "rightnavcell";
		var setHorzPadding = 10;
		var setVertPadding = 15;
	
		// Document Adjustments
		if (!document.getElementById(setNav)) return false;
		var getNav = document.getElementById(setNav);
		var navWidth = getNav.offsetWidth - (setHorzPadding*2);
	
		var structure = document.getElementById("structuraltable");
		var structureWidth = (structure.offsetWidth/2) - navWidth;
	
		var footerCell = document.getElementById("footertablecell");
		var footerContent = footerCell.getElementsByTagName("blockquote");
		
		footerContent[0].style.width = navWidth+"px";
		var footerHeight = footerContent[0].offsetHeight + setVertPadding;
		
		footerContent[0].className = "footer-adjust";
		footerContent[0].style.marginTop = "-"+footerHeight+"px";
		if (setNav == "rightnavcell") {
			footerContent[0].style.marginLeft = structureWidth - setHorzPadding +"px";
		} else {
			footerContent[0].style.marginLeft = "-"+structureWidth+"px";
		}
		footerContent[0].style.position = "absolute";
		footerContent[0].style.left = "50%";
		getNav.style.paddingBottom = footerHeight + setVertPadding;
	}
	
	addLoadEvent(highlightPage);
	addLoadEvent(adjustFooter);
	
-->