	function doPopUpInvoerfout(Url) {
		window.open(Url,"FrontEnd","height=350,width=350,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,z-lock=0,screenX=0,screenY=0,left=350,top=150")
		 }

	// Popup print routebeschrijving

	function printPopUp(Url) {
		window.open(Url,"FrontEnd","height=400,width=615,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=0,toolbar=0,z-lock=0,screenX=0,screenY=0,left=50,top=50")
		 }

	// Popup Logi-Search Print vacature

	function doPopUp(Url) {
		window.open(Url,"FrontEnd","height=400,width=690,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=0,toolbar=0,z-lock=0,screenX=0,screenY=0,left=50,top=50")
		 }
		 
	// Popup Logi-Search Beheerscherm preview vacature

	function doPopUpBeheer(Url) {
		window.open(Url,"FrontEnd","height=600,width=650,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=0,toolbar=0,z-lock=0,screenX=0,screenY=0,left=50,top=50")
		 }
		 
	// Popup met foutmelding

	function doPopUpInvoerfout(Url) {
		window.open(Url,"FrontEnd","height=350,width=350,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,z-lock=0,screenX=0,screenY=0,left=350,top=150")
	 }


	
	
	// Validatie van de invoervelden

	function NotSelected(elm) {
      	if (elm.selectedIndex < 1) return true; else return false;
    }

    function NotSelectedWithEmpty(elm) {
	  	if (elm.selectedIndex < 1) return true; else return false;
    }

    function NotFilled(elm) {
      	if (elm.value == "" || elm.value == null) return true; else return false;
    }

    function isFilled(elm) {
      	if (elm.value == "" || elm.value == null) return false; else return true;
    }

    // Check for @ and a point after the @

    function BadEmail(invoer) {
      	str=invoer.value;
      	re = /^.+@.+\..+$/i;
      	if (str.match(re)) {
        	return false
      	} else {
        	return true;
      	}
    }

    // Check for 10 digits

    function BadPhone(invoer) {
      	str=invoer.value;
      	re = /^\d{10}$/i;
      	if (str.match(re)) {
        	return false
      	} else {
        	return true;
      	}
    }

    function BadZipCode(invoer) {
      	str=invoer.value;
	  	var returnwaarde=true;
      	re = /\d{4}\w{2}/i;
      	if (str.match(re)) { 
       		if((str.substring(4,5)>='a' && str.substring(4,5)<='z' || str.substring(4,5)>='A' && str.substring(4,5)<='Z') &&
	   (str.substring(5,6)>='a' && str.substring(5,6)<='z' || str.substring(5,6)>='A' && str.substring(5,6)<='Z')) { 
	   			returnwaarde=false;
			}
	  	} 
	  	return returnwaarde;
    }
	
	
	

	// Verkleurende buttons

	function tdOvr(src,clrOver) {
		if (!src.contains(event.fromElement)) { 
			src.bgColor = clrOver;
		}
	}

	function tdOut(src,clrIn) {
		if (!src.contains(event.toElement)) {
			src.style.cursor = 'default'; src.bgColor = clrIn;
		}
	}

	// Verkleurende images

	function imageOvr(src,clrOver){
		if (!src.contains(event.fromElement)) { 
			src.src = clrOver;
		}
	}

	function imageOut(src,clrIn) {
		if (!src.contains(event.toElement)) {
			src.style.cursor = 'default'; src.src = clrIn;
		}
	}

	// Laden van frames

	function loadFrames(frame1,page1) {
		eval("parent."+frame1+".location='"+page1+"'");
	}

	
	
	// Execute a function depending on the type of the used browser
	
	function getBrowserName()   {
		var brows = navigator.appName;          
  
  		if ( brows == "Microsoft Internet Explorer") {
			ie();
	   	} else {
  			net();
  		}
	}
