/* * Template Version: 2.1 * */
/* * Date: 2006-11-14 * */
/* * Author: Jonas Hartmann code A_T jonas DASH hartmann DOT c0m * */
/* * XHTML 1.0 Valid, CSS 2.1 Valid * */

/* empty prototype */
function addIEdropDownMenu() {
}

/* sets height of multiple html elements to the height of the highest/largest one */
function setColumnsHeight() {
	// alert("Hack: EqualColumnHeights active!");
	columnHeights = new Array((document.body.offsetHeight-document.getElementById("box_menu").offsetHeight),
	                          document.getElementById("logo_vertical").offsetHeight,
	                          document.getElementById("box_content_inner").offsetHeight,
	                          document.getElementById("box_submenu_inner").offsetHeight,
	                          document.getElementById("box_context_inner").offsetHeight
	);
	var maxHeight = 0;
	for (i = 0; i < columnHeights.length; i++) {
		if (columnHeights[i] > maxHeight) {
			maxHeight = columnHeights[i];
		}
	}
	document.getElementById("box_content_inner").style.height = maxHeight+"px";
	document.getElementById("box_submenu_inner").style.height = (maxHeight+document.getElementById("box_breadcrume").offsetHeight)+"px";
	document.getElementById("box_context_inner").style.height = (maxHeight+(document.getElementById("box_breadcrume").offsetHeight)*2)+"px";
}
