  function focusFirstField() {

    // Sets the focus on the first textfield
    for (var j=0; j<document.forms.length; j++ ) {
      with(document.forms[j]) {
        for (var i=0; i<elements.length; i++) {
          if (elements[i].type == 'text' || elements[i].type == 'file') {
            elements[i].focus();
            return true;
          }
        }
      }
    }

  }
  
  
  
  

 // t.b.v. pop-up voor virtueelrondkijkenlaag
function PopIt(theURL, w, h){
        ver = parseInt(navigator.appVersion.substring(0,1));       newWin=window.open(theURL,"bezig_met_laden","width="+w+",height="+h+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,");
	if ((!((navigator.appName == "Netscape")&&(ver==2))) && (!((navigator.appName == "Microsoft Internet Explorer")&&(ver<4)))){
          setTimeout("if (newWin) newWin.focus();",1000);
    }
}


 			   
nav1on = new Image;
nav1on.src = "vimages/pijltjetop.gif";               
nav1off = new Image;
nav1off.src = "vimages/pijltje.gif";	

function img_act(imgName) {
               imgOn = eval(imgName + "on.src");
               document [imgName].src = imgOn;
       }

function img_inact(imgName) {
               imgOff = eval(imgName + "off.src");
               document [imgName].src = imgOff;
       }


