		var popwin;
		function popup(popurl,popwidth,popheight) {
			popwin=window.open(popurl,null,"scrollbars=1,toolbar=0,location=0,directory=0,status=0,menubar=0,resizable=1,left=0,top=0,width="+popwidth+",height="+popheight);
			popwin.focus();
		}
		function AddBookMark(bkmtext){
			var address = eval("'" + top.location.href + "'");
			if(document.all)
				window.external.AddFavorite(address, bkmtext);
			else if(document.layers){
				alert("You are using a browser incapable of adding a bookmark dynamically. " + "\nPress ctrl+D to Add a Bookmark or go to BOOKMARK=>ADD A BOOKMARK " + "in the option bar of your browser. The correct address will be recorded " + "to your bookmark file automatically.");
			}
		}
		function normaaltext() {
			document.all.BIGTEXT.innerHTML="<table width='125' border='0' cellspacing='0' cellpadding='0' class='small2big'><tr><td title='Klik voor grotere letters, indien moeilijk leesbaar'><a href='javascript:biggertext()' class='noformat'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></td></tr></table>";
		}		
		function biggertext() {
			document.all.BIGTEXT.innerHTML="<table width='28' border='0' cellspacing='0' cellpadding='0' class='big2small'><tr><td title='Klik voor normale letters'><a href='javascript:normaaltext()' class='noformat'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></td></tr></table><style>BODY{FONT-SIZE: 12pt;} P{FONT-SIZE: 12pt;} B{FONT-SIZE: 12pt;} FONT{FONT-SIZE: 12pt;} TD{FONT-SIZE: 12pt;} LI{FONT-SIZE: 12pt;} A{FONT-SIZE: 12pt;} A:hover{FONT-SIZE: 12pt;} H1{FONT-SIZE: 12pt;} H2{FONT-SIZE: 14pt;} H3{FONT-SIZE: 13pt;}</style>";
		}
		function checkframe() {
			var txttopbar="";
			if (parent.frames.length == 0) {
				try {
					topspacer.style.height=75;
				} catch(CException) {}
				txttopbar="<TABLE width='100%' border=0 bgColor=#ffc47a cellspacing=0 cellpadding=0>";
				txttopbar+="<TR><TD width='169' height='57' rowspan='2' vAlign=top><a href='http://www.eurolab.nl' target='_top'><IMG src='http://www.eurolab.nl/images/webcontent/logo.gif' width='169' height='57' border=0 align=center></a></TD>";
				txttopbar+="<td width='595' height='30' align='center' valign='top'><font color='#990000' size='3' face='Arial, Helvetica, sans-serif'><b>Laboratorium voor routine onderzoek in en rond de bodem</b><br><font size='1'>(<a href='http://www.eurolab.nl/krant.htm'>vraag gratis bodemkrant aan</a>)</font></font>";
				txttopbar+="<td width='14' align='left' valign='top'><a href='http://www.eurolab.nl/'><img src='http://www.eurolab.nl/images/icons/home.gif' width='14' height='14' border='0'></a></TR>";
				txttopbar+="</TR></TABLE>";
			}
			document.all.FRMTEXT.innerHTML+=txttopbar;
		}
		
		var cm=null;
		var menu_timer;
		var menu_cnt=0;
		document.onclick = new Function("show_menu(null)");
		
		function getPos(el,sProp) {
			var iPos = 0;
			while (el!=null) {
				iPos+=el["offset" + sProp];
				el = el.offsetParent;
			}
			//alert(iPos);
			return iPos;
		}
	
		function show_menu(el,m, tst) {
			stop_mtimer();
			if (m) {
				try {
					selQuestion.style.display="none";
				} catch(CException) {}
				if (tst>0) {
					m.style.left = getPos(el,"Left")-2-tst;
				} else {
					m.style.left = getPos(el,"Left")-2;
				}
				//m.style.left = getPos(el,"Left")-2;//+el.offsetWidth;
				m.style.top = getPos(el,"Top")+17;// + el.offsetHeight;
				m.style.display='';
			}
			if ((m!=cm) && (cm)) cm.style.display='none';
			cm=m;
		}
	
		function hide_menu() {
			menu_timer=setTimeout("hide_menu()",400);
			if (menu_cnt>0) {
				show_menu(null);
				stop_mtimer();
				try {
					selQuestion.style.display="";
				}
				catch(CException) {
				}
			}
			else {
				menu_cnt+=1;
			}
		}

		function stop_mtimer() {
			clearTimeout(menu_timer);
			menu_cnt=0;
		}
		
		var toptimer;
		function scrolltop() {
			scrollmenu.style.pixelTop=document.body.scrollTop
			toptimer=setTimeout("scrolltop()",1)
		}

		function stoptimer() {
			clearTimeout(toptimer)
		}

