<!--		
function getWindowHeight() {
	var windowHeight = 0;
	if (typeof(window.innerHeight) == 'number') {
		windowHeight = window.innerHeight;
	}
	else {
		if (document.documentElement && document.documentElement.clientHeight) {
			windowHeight = document.documentElement.clientHeight;
		}
		else {
			if (document.body && document.body.clientHeight) {
				windowHeight = document.body.clientHeight;
			}
		}
	}
	return windowHeight;
}
function setBottomBar() {
	if (document.getElementById) {
		var windowHeight = getWindowHeight();
		if (windowHeight > 0) {
			var headerElement = document.getElementById('top-bar').offsetHeight;
			var contentHeight = document.getElementById('wrapper').offsetHeight;
			var footerElement = document.getElementById('bottom-bar');
			var footerHeight  = footerElement.offsetHeight;
			if (windowHeight - (headerElement + contentHeight + footerHeight) >= 0) {
				footerElement.style.top = (windowHeight - (headerElement + contentHeight + footerHeight)) + 'px';
			}
			else {
				footerElement.style.top = '0px';
			}
		}
	}
}
window.onload = function() {
	setBottomBar();
}
window.onresize = function() {
	setBottomBar();
}
function hideElement(id) {
    if (document.getElementById(id)) {
	    document.getElementById(id).style.display = 'none';
    }
}
function showElement(id) {
    if (document.getElementById(id)) {
	    document.getElementById(id).style.display = 'block';
    }
}
function toggleElement(id) {
    if (document.getElementById(id)) {
	    if (document.getElementById(id).style.display == 'block') 	    {
		    hideElement(id);
	    }
	    else 	    {
		    showElement(id);
	    }
    }
}
function toggleElements(base,active) {
	for (i=1;i<=9;i++) {
		if (active == i) {
			toggleElement(base + i);
		}
		else {
			hideElement(base + i);
		}
	}
}
-->
