// JavaScript Document SemWeb

preLoadImageSet = new Array();
function preLoadImages(imgList,path)
{
	if(path==null)
	{
		var path = "";
	}
	for(var i=0; i<imgList.length; i++)
	{
		imgObj = new Image();
		imgObj.src = path+imgList[i];
		preLoadImageSet[preLoadImageSet.length]=imgObj;
	}
}
/* ================================================== */
selectedProv = new Image();
selectedProv.src = "images/normaal.jpg"
provinciePath = "images/"

provincieList = new Array(  "nedrijfs.jpg",
						  	"wijn.jpg",
							"informatie.jpg",
							"goede.jpg");

preLoadImages(provincieList,provinciePath);
							
function provOver(areaElm,index)
{
	beneImage = document.getElementById('Unik');
	beneImage.src = provinciePath+provincieList[index];
	areaElm.onmouseout = function()
	{
		beneImage.src = selectedProv.src;
		this.onmouseout=null;
	}
}		
				


