//Mouseover navvar selectedImage = -1;var imagesSupport = document.images;menuImage = new Array();function imageObj(inName, inNormalSrc, inHiliteSrc, inSelectedSrc){    if(imagesSupport){        this.normal = new Image();        this.hilite = new Image();        this.selected = new Image();        this.name = inName;        this.normal.src = inNormalSrc;        this.hilite.src = inHiliteSrc;        this.selected.src = inHiliteSrc;    }}function Selected(inImgArrayNum){    if(imagesSupport){            if(selectedImage != -1)    {                prevSelected = menuImage[selectedImage].name;                document.images[prevSelected].src =menuImage[selectedImage].normal.src;                            }                }                   document.images[menuImage[inImgArrayNum].name].src = menuImage[inImgArrayNum].selected.src;            selectedImage = inImgArrayNum;        }function Normal(inImgArrayNum){    if(imagesSupport){        if(inImgArrayNum != selectedImage){            document.images[menuImage[inImgArrayNum].name].src =menuImage[inImgArrayNum].normal.src;        }    }}function Hilite(inImgArrayNum){    if(imagesSupport){        if (inImgArrayNum != selectedImage){            document.images[menuImage[inImgArrayNum].name].src =menuImage[inImgArrayNum].hilite.src;        }    }}menuImage[1] = new imageObj("home", "/media/nav/home.png", "/media/nav/home_over.png");menuImage[2] = new imageObj("product", "/media/nav/products.png", "/media/nav/products_over.png");menuImage[3] = new imageObj("filters", "/media/nav/filters.png", "/media/nav/filters_over.png");menuImage[4] = new imageObj("gebruik", "/media/nav/gebruik.png", "/media/nav/gebruik_over.png");menuImage[5] = new imageObj("verkoop", "/media/nav/verkoop.png", "/media/nav/verkoop_over.png");menuImage[6] = new imageObj("faq", "/media/nav/faq.png", "/media/nav/faq_over.png");menuImage[7] = new imageObj("contact", "/media/nav/contact.png", "/media/nav/contact_over.png");menuImage[8] = new imageObj("links", "/media/nav/links.png", "/media/nav/links_over.png");menuImage[9] = new imageObj("foto", "/media/nav/foto.png", "/media/nav/foto_over.png");menuImage[10] = new imageObj("nieuws", "/media/nav/nieuws.png", "/media/nav/nieuws_over.png");ie4 = false;ns4 = false;if (document.layers) {ns4 = true;}if (document.all) {ie4 = true;}/************************************************ Switch Menu script- by Martial B of http://getElementById.com/* Modified by Dynamic Drive for format & NS4/IE4 compatibility* Visit http://www.dynamicdrive.com/ for full source code***********************************************/if (document.getElementById){ document.write('<style type="text/css">\n')document.write('.snav{display: none;}\n')document.write('</style>\n')}function SwitchMenu(obj){		if(document.getElementById){	var el = document.getElementById(obj);	var ar = document.getElementById("nav").getElementsByTagName("div"); 		if(el.style.display != "block"){ 			for (var i=0; i< ar.length; i++){				if (ar[i].className=="snav") 				ar[i].style.display = "none";			}			el.style.display = "block";		}else{			el.style.display = "none";		}	}}
