<!-- Begin van JavaScript -



if(document.images){

   // laden van inactive menu items

		homeoff      = new Image(1,1);
		homeoff.src  = "gfx/nav_home_off.gif";
		dienstenoff      = new Image(1,1);
		dienstenoff.src  = "gfx/nav_diensten_off.gif";
		cultuuroff      = new Image(1,1);
		cultuuroff.src  = "gfx/nav_profiel_off.gif";
		vacaturesoff      = new Image(1,1);
		vacaturesoff.src  = "gfx/nav_vacatures_off.gif";
		contactoff      = new Image(1,1);
		contactoff.src  = "gfx/nav_contact_off.gif";
								


		homeon      = new Image(1,1);
		homeon.src  = "gfx/nav_home_on.gif";	
		dienstenon      = new Image(1,1);
		dienstenon.src  = "gfx/nav_diensten_on.gif";
		cultuuron      = new Image(1,1);
		cultuuron.src  = "gfx/nav_profiel_on.gif";
		vacatureson      = new Image(1,1);
		vacatureson.src  = "gfx/nav_vacatures_on.gif";
		contacton      = new Image(1,1);
		contacton.src  = "gfx/nav_contact_on.gif";		
									

		CurrOn = 'img';
}



function LowLight(theImage) {

	 if (!(CurrOn == theImage)) {

						imgOff = eval(theImage + "off.src");
						document.images[theImage].src = imgOff;
						
								}
	 }

function HighLight(theImage) {
		if(document.images){

			document.images[theImage].src = eval(theImage + 'on.src')
			 }
	   }

function img_click(theImage) {
				if (document.images) {

				CurrOn = theImage;
			
				LowLight("home");
				LowLight("diensten");
				LowLight("cultuur");
				LowLight("vacatures");
				LowLight("contact");								
														

				HighLight(theImage);
		}
	   else
		return;
}

function getUrl() {
	var fullURL = location.href;
	var URLArray = fullURL.split("/");
	var image = URLArray[3].split(".");
	//alert(image[0]);
	if ((image[0] == "index") || (image[0] == ""))
	{
		image[0] = "home";
	}
	
	var active_image = "nav_" + image[0] + "_on.gif";
	
	HighLight(image[0]);
	
}


// - End of JavaScript - -->
