function popUp(URL) {
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=460,height=360,left = 282,top = 204');");
		}

		function findPosX(obj)
		{
			var curleft = 0;
			if (obj.offsetParent)
			{
				while (obj.offsetParent)
				{
					curleft += obj.offsetLeft
					obj = obj.offsetParent;
				}
			}
			else if (obj.x)
				curleft += obj.x;
			return curleft;
		}

		function findPosY(obj)
		{
			var curtop = 0;
			if (obj.offsetParent)
			{
				while (obj.offsetParent)
				{
					curtop += obj.offsetTop
					obj = obj.offsetParent;
				}
			}
			else if (obj.y)
				curtop += obj.y;
			return curtop;
		}


		var activeName;
		var activeImg;
		var timerID;

		function mouseover (image, name) {

		if (activeName)
			hideObj();

		clearTimeout(timerID);

		activeName = name;
		activeImg = image;

		image.src = 'http://www.martinkok.nl/images/menu/'+ name +'-over.jpg';

		obj = document.getElementById(name);
		obj.style.left = findPosX(image) - 110
		obj.style.top = findPosY(image);
		obj.style.visibility = 'visible';

		obj.onmouseover = function () {
			clearTimeout(timerID);
		}
		obj.onmouseout = function () {
			timerID = setTimeout(hideObj, 500);
		}

		image.onmouseout = function () {
			timerID = setTimeout(hideObj, 1000);
		}
	}

	function hideObj () {
		document.getElementById(activeName).style.visibility = 'hidden';

		if(activeName) {
			activeImg.src = 'http://www.martinkok.nl/images/menu/'+ activeName +'.jpg';
		}
	}
