<!--

function Zoek () {
	var searchTerm = GetElementById('search-field');
	window.location.href = 'zoek.php?s='+searchTerm;
}

function EmptiedSearch (obj) {
	if (obj.value=="Zoeken...")
		obj.value="";
}

function GoTo (url) {
	//alert(url);
	window.location.href = url;
}

function BlockOver (obj) {
	obj.style.backgroundColor = "#e3d9e6";
}

function BlockOut (obj) {
	obj.style.backgroundColor = "#f4f3ba";
}

function CalculateBgHeight()
{

	var obj = document.getElementById('ctlImg');

	var curtop = 0;
	if(obj.offsetParent)
		while(1)
		{
		  curtop += obj.offsetTop;
		  if(!obj.offsetParent)
			break;
		  obj = obj.offsetParent;
		}
	else if(obj.y)
		curtop += obj.y;

	var bgObj = document.getElementById('main');
	
	bgObj.style.height = curtop-340 + "px";

}

// Preload
if (document.images) {
	var flipped = new Array();

	flipped[0] = new Image();
	flipped[0].src = "menu/contact_1.jpg";

	flipped[1] = new Image();
	flipped[1].src = "menu/over_northwest_1.jpg";

	flipped[2] = new Image();
	flipped[2].src = "menu/servicecentrum_1.jpg";

	flipped[3] = new Image();
	flipped[3].src = "menu/uitvaartverzekeringen_1.jpg";

}

function rollOver(img_name, img_src)
{
	//alert(img_src);
	document[img_name].src = 'images/menu/'+img_src;
}


-->
