<!--


function initialize() {
	initNetfundiEditor();
	update_layout();
	//splashitem_rollover();
	}

function findPos(obj) {
	var curleft = curtop = 0;
	if (obj.offsetParent) {
		curleft = obj.offsetLeft;
		curtop = obj.offsetTop;
		while(obj=obj.offsetParent) {
			curleft += obj.offsetLeft;
			curtop += obj.offsetTop;
		}
	}
	return[curleft,curtop];
	}


function update_layout() {
	if (document.getElementById("content_body")) {
	var content_height = document.getElementById("content_body").offsetHeight;
	document.getElementById("graphic").style.height = content_height-1 + "px";
	document.getElementById("section_navigation").style.height = content_height-1 + "px";
	//alert(document.getElementById("section_navigation").style.height);
	}
	}
	
function splashitem_rollover() {
	var div_items = document.getElementsByTagName("div");
	for (var d=0; d<div_items.length; d++) {
		if (div_items[d].className=="splash_item") {
			//div_items[d].onMouseOver = "alert('Testing');";
		}
	}
	}

window.onresize = update_layout;

//-->
