<!--start script om mouseover-commentaar te tonen als muis beweegt-->


/***********************************************
* Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var offsetxpoint=-60 //Customize x offset of tooltip
var offsetypoint=20 //Customize y offset of tooltip
var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
//maak het tipobj (gelinkt met de div helemaal vooraan in de code)
if (ie||ns6)
	var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

function ietruebody(){
	return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function ddrivetip(thetext, thecolor, thewidth){
	if (ns6||ie){
		if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
		if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
		//tipobj.innerHTML=thetext
		tipobj.innerHTML="<SPAN STYLE=\"font-family:'arial,helvetica';font-size:10px;\">"+thetext+"</SPAN>"
		enabletip=true
		return false
	}
}

function positiontip(e){
	if (enabletip){
		var curX=(ns6)?e.pageX : event.x+ietruebody().scrollLeft;
		var curY=(ns6)?e.pageY : event.y+ietruebody().scrollTop;
		//Find out how close the mouse is to the corner of the window
		var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
		var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
		
		var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
		
		//if the horizontal distance isn't enough to accomodate the width of the context menu
		if (rightedge<tipobj.offsetWidth)
			//move the horizontal position of the menu to the left by it's width
			tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
		else if (curX<leftedge)
			tipobj.style.left="5px"
		else
			//position the horizontal position of the menu where the mouse is positioned
			tipobj.style.left=curX+offsetxpoint+"px"
		
		//same concept with the vertical position
		if (bottomedge<tipobj.offsetHeight)
			tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
		else
			tipobj.style.top=curY+offsetypoint+"px"
		tipobj.style.visibility="visible"
	}
}

function hideddrivetip(){
	if (ns6||ie){
		enabletip=false
		tipobj.style.visibility="hidden"
		tipobj.style.left="-1000px"
		tipobj.style.backgroundColor=''
		tipobj.style.width=''
	}
}

document.onmousemove=positiontip






<!--start script om blokken en links te tonen-->

//cookies??
var windowtype = "0";
if(getCookie("input") != '*') windowtype=getCookie('input');
//if(getCookie("blokken") != '*')
//	blokkenString = getCookie("blokken");
//else blokkenString = ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;";
//if (navigator.appName!="Microsoft Internet Explorer" || parseInt(navigator.appVersion) >= 4)
//	var blokArray = blokkenString.split(";");
d=document;

var kolom = new Array();
var kolAant;
var bgKleur;
var blKleur;
var tipKleur;
var kopKleur=new Array();

function windowWidth(method)
{//bereken werkelijke windowbreedte
	if (parseInt(navigator.appVersion) < 4) return (600);
	else
	{       
		if (windowtype==0) return(screen.width*0.8);
		if (windowtype==2) return(screen.width*0.99);
	}
}
function windowHeight(method)
{//bereken werkelijke windowhoogte
	if (parseInt(navigator.appVersion) < 4) return (280);
	else
	{       
		if (windowtype==0) return((screen.height*0.85)-200);
		if (windowtype==2) return(screen.height*0.80);
	}
}
/*
function c(naam)
{//popup window -- naam=pageurl -- wordt geblokkeerd door sommige browsers!
	startDate= new Date();
	tmpWin = window.open(naam, startDate.getTime(),'toolbar=no,location=no,resizable=yes,status=no,scrollbars=yes,menubar=no,width=600,height=360');
}
*/
function go(kolnum,bloknum,linknum,site)
{//open een geklikte link
	scrText1="toolbar=yes,location=yes,resizable=yes,status=yes,scrollbars=yes,menubar=yes,width=";
	scrText2="toolbar=no,location=no,resizable=no,status=no,scrollbars=no,menubar=no,width="
	naamDate= new Date();
	naam= naamDate.getTime();
	with (kolom[kolnum].blok[bloknum].hlinks[linknum])
	{
	   if ((openMethod=='n' || openMethod=='s') && parseInt(navigator.appVersion) >= 4)
	   {
		fromTop=(screen.height/100)* 14;
		fromLeft=(screen.width/100)* 9;
	   }
	   else
	   {
		fromTop=0;
		fromLeft=0;
	   }
	   if (site!=null) adres=site;
	   if (openMethod=='n')
	   {    
	   		if (windowtype==1) top.location.href=adres;
			else
				tmpWin2=window.open(adres,naam,scrText1 +
					(windowWidth('n')+",height="+windowHeight('n')+
					",left=" +fromLeft+",top="+fromTop));
	   }
	   else
			if (openMethod=='r') top.location.href=adres;
			else
				tmpWin2=window.open(adres,naam,scrText2 +
					(scrWidth + ",height="+scrHeight+",left="+fromLeft+",top="+fromTop));
	}
}
function n(naam)
{//een popup functie -- naam=url -- wordt geblokkeerd door sommige browsers!
	startDate= new Date();
	if (windowtype==0){
		if (parseInt(navigator.appVersion)>=4){
			tmpWin2=window.open(naam,startDate.getTime(),"toolbar=yes,location=yes,resizable=yes,status=yes,scrollbars=yes,menubar=yes,width="+
				((screen.width/100)*80)+",height="+(((screen.height/100)*85)-200)+",left="+((screen.width/100)*9)+",top="+((screen.height/100)*14));
		}
		else {
			tmpWin2=window.open(naam,startDate.getTime(),"toolbar=yes,location=yes,resizable=yes,status=yes,scrollbars=yes,menubar=yes,width=600,height=280");
		}
	}
	if (windowtype==1)top.location.href=naam;
	if (windowtype==2){ 
		if(parseInt(navigator.appVersion)>=4){
			tmpWin2=window.open(naam,startDate.getTime(),"toolbar=yes,location=yes,resizable=yes,status=yes,scrollbars=yes,menubar=yes,width="+
				((screen.width/100)*99)+",height="+(((screen.height/100)*107)-200)+",left=0,top=0");
		}
		else{
			tmpWin2=window.open(naam,startDate.getTime(),"toolbar=yes,location=yes,resizable=yes,status=yes,scrollbars=yes,menubar=yes,width=600,height=280");
		}
	}
}
/*
function r()
{//geeft een onnutige alert
	window.alert('.')
}
*/
function mo(a,b,c)
{//print commentaar over link als mouseover in statusbar
	//window.status=kolom[a].blok[b].hlinks[c].oms;
}
function co()
{//maakt statusbaar weer leeg als mouseout (na mousein door functie mo)
	//window.status="";
}
function doSearch(kolNum,blokNum)
{//zoek een bepaald item
   var words;
   words = document.searchforit.query.value;
   var searchitems=addplus(words);
   var index = document.searchforit.service.selectedIndex;
   var site = document.searchforit.service.options[index].value;
   site+=searchitems;
   if (notEmpty(searchitems))
   {
	   go(kolNum,blokNum,index,site);
   }
}
function notEmpty(word)
{//is er een zoekwoord ingevuld of niet?
   if (word==""||word==null)
   {
      self.status="ENTER SEARCH searchitems";
      alert("\n vul een zoekwoord in ...");
      document.searchforit.query.focus();
      return false;
   }
   else
   {
	self.status="SEARCHING FOR:  "+word;
	return true;
   }
}
function addplus(items)
{//doe plussen tussen de chars in de string
   var plussed ="";
   for (var t =1 ; t <= items.length ;  t++)
      {
		if (items.substring(t-1,t)=="")
		  plussed+="+";
		else
		{
			 if (items.substring(t-1,t)=="+")
			plussed+="%2B";
			 else
			plussed+=items.substring(t-1,t);
		}
      }
   return plussed;
}
function addLink(adres,oms,opties,special,scrW,scrH)
{//roept hlink functie om nieuwe link te maken
	this.hlinks[this.nextLink]=new hlink(adres,oms,opties,special,scrW,scrH);
	this.nextLink++;
}
function addBlok(bloknaam,hideNum,kopKleur,blokType,kolNum,blokNum)
{//roept bloktype functie om nieuw blok te maken
	this.blok[this.nextBlok]= new bloktype(bloknaam,hideNum,kopKleur,blokType,kolNum,blokNum);
	this.nextBlok++;
}
function hlink(adres,oms,opties,special,scrW,scrH)
{//maak link
	//if (opties.substring(1,2)!='2') this.adres='HTTP://';
	//else 
//voeg http:// bij als niet in adres
	if (adres.indexOf("HTTP://")==-1 & adres.indexOf("http://")==-1 & adres.indexOf("@")==-1) this.adres="http://";
	else this.adres='';
	//if (opties.substring(1,2)=='1')
	//	this.adres+='www.'+adres;
	//else
	this.adres+=adres;
	this.oms=oms; this.meerRegel=false
	this.openMethod=opties.substring(0,1);
	if (this.openMethod=='s')
	   { this.scrWidth=scrW; this.scrHeight=scrH;}
	this.extra='';
	optie3=opties.substring(2,3);
	if (optie3=='0')
		this.extra='</A><BR>'
	if (optie3=='1')
		this.extra='</A><FONT SIZE="1" COLOR="'+tipKleur+'"> (tip)</FONT><BR>'
	else
	if (optie3=='2')
		this.extra='</A><FONT SIZE="1" COLOR="'+tipKleur+'"> (nieuw)</FONT><BR>'	
	else
	if (optie3=='m')
		{this.meerRegel=true;this.linkCol=special;}
	else
	if (optie3=='8')
		this.extra=' </A>, ';
	else
	if (optie3=='9')
		this.extra='</A><FONT SIZE="1" COLOR="'+tipKleur+'"> '+special+'</FONT><BR>'
}
function bloktype(kop,hideNum,color,btype,kolNum,blokNum)
{//maak blok
	this.kop=kop;
	this.color=color;
	this.hlinks= new Array();
	this.hideNum=parseInt(hideNum);
	//if (blokArray[this.hideNum]!='Y') this.show=true; else this.show=false;
	//if(checkShowCookieBlokken(kolNum,blokNum)) this.show=false;
	//else 
	//if(checkShowCookieBlokken(kolNum,blokNum)) this.show=false;
	this.show=checkShowCookieBlokken(kolNum,blokNum);
	
	this.nextLink=0;
	this.addLink=addLink;
	if (btype=='S') this.btype='Search';
	else this.btype='Norm';
}
function kolomtype(num)
{//nieuwe kolom initialiseren
	this.kolomnum=num;
	this.blok= new Array();
	this.nextBlok=0;
	this.addBlok=addBlok;
}
function vulObjecten()
{//verwerk lay-out.js
  kolAant = -1; 
  kolNum=kolAant;
  for (i=0; i < lijst.length; i++)
  {
    record=lijst[i].split("¶");
    if (record[0]=='P')
    {
    //paginavariabelen
      document.bgColor=record[1];//paginakleur
      blKleur=record[2];//linkblokkleur
      tipKleur=record[3];//tipkleur
      for (tel=0; tel < (record.length-4); tel++)
      {
		kopKleur[tel]=record[tel+4];//kopkleuren
      }
    }
    else
    {      
	  if (record[0]=='K')
      {
		// Het gaat om een nieuwe kolom
		kolAant++; kolNum=kolAant;
		kolom[kolNum] = new kolomtype(kolNum);
		var blokNum = -1;
      }
      else
      {
		 if (record[0]=='B'||record[0]=='S')
		 {
			// Het gaat dus om een kop
			blokNum++;
			kolom[kolNum].addBlok(record[1],record[2],kopKleur[record[3]],record[0],kolNum,blokNum); 
			//	    {
	//		for (p=0; p < UrlLijst.length;p++)
	//		{
	//		   kolom[kolNum].blok[blokNum].addLink(UrlLijst[p].Url,UrlLijst[p].Bijschrift,'n00');
	//		}
	//	    }
		 }
		 else
		 {
			// Het gaat om een hyperlink
			with (kolom[kolNum])
			{
			blok[blokNum].addLink(record[0],record[1],record[2],record[3],record[4],record[5]);
			}
		 }
      }
    }
  }
  
}
function writeKop(kolNum,blokNum)
{//schrijf de blokkop naar html
   with (kolom[kolNum].blok[blokNum])
   {
     if (show==true)
	 {
		d.write('<div style="margin-bottom:16px;"><div style="background-color:'+color+';padding:1px;"><table width="198" cellpadding="0" cellspacing="0" border="0"><tr><td align="left" width="178" style="font-size:13px;font-family:Arial;color:#FFFFFF;font-weight:bold;">'+kop+'</td><td align="center" width="20"><a href="" onclick="hidelinks('+kolNum+','+blokNum+');return false;"><img id="img'+kolNum+'_'+blokNum+'" src="images/front/pijl_up.gif" border="0"></a></td></tr></table></div>');
	 	d.write('<div id="child'+kolNum+'_'+blokNum+'" style="background-color:'+blKleur+';padding:1px;font-size:13px;font-family:Arial;display:block;">');
		if (btype=='Search')
		{
		   document.writeln('<FORM NAME=searchforit ACTION=javascript:doSearch('+kolNum+','+blokNum+');void(0)//method=GET>');
		   document.writeln('<SELECT NAME="service">');
		}
     }
     else
     {
		d.write('<div style="margin-bottom:16px;"><div style="background-color:'+color+';padding:1px;"><table width="198" cellpadding="0" cellspacing="0" border="0"><tr><td align="left" width="178" style="font-size:13px;font-family:Arial;color:#FFFFFF;font-weight:bold;">'+kop+'</td><td align="center" width="20"><a onclick="hidelinks('+kolNum+','+blokNum+');return false;"><img id="img'+kolNum+'_'+blokNum+'" src="images/front/pijl_down.gif" border="0"></a></td></tr></table></div>');
	 	d.write('<div id="child'+kolNum+'_'+blokNum+'" style="background-color:'+blKleur+';padding:1px;font-size:13px;font-family:Arial;display:none;">');
	 }
   }
}

var tellerke = 1;

function writeLinks(kolNum,blokNum)
{//schrijf de links in een blok
    for (k=0; k<kolom[kolNum].blok[blokNum].nextLink; k++) {
		with (kolom[kolNum].blok[blokNum].hlinks[k]) {
			if (kolom[kolNum].blok[blokNum].btype=='Norm') {//btype=norm
				goWord=i+','+j+','+k;
				//put in the onmouseover info from moreinfotest.js
				if(info[tellerke] == '') {
						if (meerRegel) {
						   document.writeln('<A HREF="javascript:go('+goWord+');"' +
						   ' onMouseOver="mo('+goWord+'); return(true);">'+
						   '<font color="'+linkCol+'"><I>'+oms+'</A></I></FONT><BR>');
						} else {
							document.writeln('<A HREF="javascript:go('+goWord+');"'+
							   ' onMouseOver="mo('+goWord+'); return(true);">'+
							   oms + extra);
							tellerke++
						}
				} else {
					if (meerRegel) {
					   document.writeln('<A HREF="javascript:go('+goWord+');"' +
					   ' onMouseOver="ddrivetip(\'' + info[tellerke] + '\'); mo('+goWord+'); return(true);" onMouseOut="co(); hideddrivetip();">'+
					   '<font color="'+linkCol+'"><I>'+oms+'</A></I></FONT><BR>');
					} else {
						document.writeln('<A HREF="javascript:go('+goWord+');"' +
						   ' onMouseOver="ddrivetip(\'' + info[tellerke] + '\'); mo('+goWord+'); return(true);" onMouseOut="co(); hideddrivetip();">'+
						   oms + extra);
						tellerke++
					}
				}
			} else { //btype=search
		   		document.writeln('<option value="'+adres+'">'+oms);
	   		}
		}
     }
}
//cookie functions
function getCookie(cookieNaam) {
  var cname = cookieNaam + "=";
  var i = 0;
  while (i < document.cookie.length) {
    var j = i + cname.length;
    if (document.cookie.substring(i, j) == cname){
    var leng = document.cookie.indexOf (";", j);
    if (leng == -1) leng = document.cookie.length;
    return unescape(document.cookie.substring(j, leng));
    }
    i = document.cookie.indexOf(" ", i) + 1;
    if (i == 0) break;
 }
  return "*";
}
function delCookie(cookieNaam)
{
  document.cookie = cookieNaam + "=; expires= Thu, 01-Jan-70 00:00:01 GMT";
  document.cookie = cookieNaam + "=; expires= Thu, 01-Jan-70 00:00:01 GMT; path=/";
  return true;
}
function setCookie(cookieNaam, cookieInhoud)
{
  var futdate = new Date()		//Get the current time and date
  var expdate = futdate.getTime()  //Get the milliseconds since Jan 1, 1970
  expdate += 1000*24*3600*1000  //expires in 1000 days(milliseconds)
  futdate.setTime(expdate)
  document.cookie = cookieNaam + "= " + escape (cookieInhoud) +
	"; expires=" + futdate.toGMTString() + "; path=/"
}
//cookie functies voor hiden van blokken
function checkShowCookieBlokken(kolNum,blokNum)
{
	var blok=';'+kolNum+'/'+blokNum+';';
	var r=false;
	if(getCookie("blokken") != '*')
	{
		var cookieWaarde=getCookie("blokken");
		var position;
		position=cookieWaarde.indexOf(blok);
		if(position != -1)
		{
			r= false;
		}
		else r=true;
	}
	else r=true;
	if(r==false)
	{
		r = true;
	}
	else r=false;
	return r;
}
function changeCookieBlokken(kolNum,blokNum)
{
	var blok=';'+kolNum+'/'+blokNum+';';
	var cookieWaarde="";
	if(getCookie("blokken") != '*')
	{
		cookieWaarde=getCookie("blokken");
		var position;
		position=cookieWaarde.indexOf(blok);
		if(position != -1)
		{
			cookieWaarde=cookieWaarde.substring(0,position+1)+cookieWaarde.substring(position+blok.length,cookieWaarde.length);
		}
		else cookieWaarde=cookieWaarde+blok.substring(1,blok.length);
	}
	else cookieWaarde=blok;
	if (cookieWaarde.length>1) setCookie("blokken",cookieWaarde);
	else delCookie("blokken");
	return true;
}
var UrlLijst= new Array();
function Link(Url,Bijschrift)
{
    this.Url=Url;
    this.Bijschrift=Bijschrift;
}
//function getPersLinks()
//{
//   cookieWaarde= getCookie('PERSLINK');
//    if (cookieWaarde=='*')
//    {
//       return false
//    }
//    else
//    {
//       UrlGegevens = cookieWaarde.split("¶¶");
//       for (p=0; p < UrlGegevens.length; p++)
//       {
//	    kruimel = UrlGegevens[p].split("  ");
//	    UrlLijst[p]= new persLink(kruimel[0], kruimel[1]);
//       }
//       return true;
//    }
//}
function hidelinks(kolnr,bloknr)
{
	var child='child'+kolnr+'_'+bloknr;
	var image='img'+kolnr+'_'+bloknr;
	
	if(document.layer)
	{	
		child=document.layer[child];
		image=document.layer[image];
	}
	else if(document.all)
	{	
		child=document.all[child];
		image=document.all[image];
	}
	else if(document.getElementById)
	{	
		child=document.getElementById(child);
		image=document.getElementById(image);
	}
	if(child.style.display!="none")
	{
		child.style.display="none";
		image.src="images/front/pijl_down.gif";
	}
	else
	{	
		child.style.display="block";
		image.src="images/front/pijl_up.gif";
	}
	changeCookieBlokken(kolnr,bloknr);
}
function writebody()
{
vulObjecten();

for (i=0; i <= kolAant; i++)
{
  with(kolom[i])
  {
	d.writeln('<TD width="200" valign="top">');
	if (i==2){
		d.writeln('<div style="margin-bottom:16px;"><div style="background-color:'+kopKleur+';padding:1px;"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="left" style="font-size:13px;font-family:Arial;color:#FFFFFF;font-weight:bold;">Persoonlijke links</td></tr></table></div>');
		d.writeln('<div style="background-color:'+blKleur+';padding:1px;font-size:13px;font-family:Arial;display:block;">');
		
				if(getCookie("PERSLINK") != '*'){
				   var UrlGegevens=getCookie("PERSLINK").split("¶¶");
	    	   	   for (z=0; z < UrlGegevens.length; z++){
						pr = UrlGegevens[z].split("  ");
						d.write('<a href=JavaScript:n("'+pr[0]+'")>'+pr[1]+'</a><BR>');
				   }
				}
		d.write('<A href="wijziglinks.htm">Toevoegen/Wijzigen</A><FONT SIZE="1" COLOR="'+tipKleur+'"> (nieuw)</FONT><BR>');
		d.writeln('</div></div>');
	}
	for (j=0; j < nextBlok; j++)
	{
	  with(blok[j])
	  {
	     //if (show==true)
	     //{
			writeKop(i,j);
			writeLinks(i,j);
			if (btype=='Search')
			{
				document.writeln('</SELECT><BR>');
				document.writeln('<input name="query" VALUE="" size=15>');
				document.writeln('<INPUT TYPE="button" VALUE="Zoek" onClick="doSearch('+i+','+j+')">');
			}
			document.writeln('</div></div>');
	     //}
/*		 
	  }
	}
	for (j=0; j < nextBlok; j++)
	{
	  with(blok[j])
	  {
	     if (show!=true)

		 else
	     {
			writeKop(i,j);
			writeLinks(i,j);
			document.writeln('</div></div>');//
	     }*/
	  }
	}
	document.writeln('</TD>');
  }

}

d.write('</tr><tr><td colspan="5">');
d.write('<!-- Begin Motigo Webstats counter code <a id="mws743744" href="http://webstats.motigo.com/"><img width="80" height="15" border="0" alt="Free counter and web stats" src="http://m1.webstats.motigo.com/n80x15.gif?id=AAtZQA5axt1/TkLyu/pDFhJ3i7VQ" /></a><script src="http://m1.webstats.motigo.com/c.js?id=743744&amp;lang=NL&amp;i=3" type="text/javascript"></script><!-- End Motigo Webstats counter code -->');

/* old nedstat counter 
d.write('<a href="http://nl.nedstatbasic.net/cgi-bin/viewstat?name=internetguide"><img src="http://nl.nedstatbasic.net/cgi-bin/nedstat.gif?name=internetguide" border=0 alt="" nosave width=15 height=15 ALIGN="right"></A>');
*/
document.writeln('</TABLE>');//</table>');

}
writebody();
