function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

baseURI = location.href;testet = ''; testc = 0;
function KnooppuntScanPage() {
	$$(document.links).filter(function(el) {
/*
//if (testet.length == 0 ) { testet+=baseURI+"\n" }  testet+=el.href+"\n";
if (el.href == 'http://magnum/www.lerarenweb.nl/lerarenweb-leraar_zoekt.html') {
//  for (var i in el.style) {	tempet = 'key is: ' + i + ', value is: ' +  el[i]; testet+= tempet.replace(/[\n\t ]+/g," ")+"\n"; }
  alert(el.getStyle('background-image'));
  testet = '';
  for (var i in el) {	tempet = 'key is: ' + i + ', value is: ' +  el[i]; testet+= tempet.replace(/[\n\t ]+/g," ")+"\n"; }
//  alert(el.style);
  alert(testet);
  testet = '';
}
*/
  if (baseURI == el.href) {
    el.className = 'active';
  }
  else if (el.getStyle('background-image').indexOf('nav-rechts.png') > 0
   && baseURI.indexOf(el.href) == 0 ) {
    el.className = 'active'; 
  }
	});

//alert(testet);

}
