// mouseover

var base= "/images/2008/"
var nrm = new Array();
var omo = new Array();
var stuff = new Array('nav_home','nav_over','nav_regio','nav_nieuws','nav_werken','nav_contact','print','mail');

// Pre-load part.

if (document.images)
{
for (i=0;i<stuff.length;i++)
{
nrm[i] = new Image;
nrm[i].src = base + stuff[i] + ".gif"
omo[i] = new Image;
omo[i].src = base + stuff[i] + "_mo.gif";
}
}

// The functions: first mouseover, then mouseout

function over(no)
{
if (document.images)
{
document.images[stuff[no]].src = omo[no].src
}
}

function out(no)
{
if (document.images)
{
document.images[stuff[no]].src = nrm[no].src
}
}

// select navigation

function go()
{
	box = document.forms[0].gadirectnaar;
	destination = box.options[box.selectedIndex].value;
	if (destination) location.href = destination;
}

/*== HideEmptyImages ==*/
function HideEmptyImages()
{	
	var regex_1 = new RegExp("(shownoimg)\.gif$");
	var regex_2 = new RegExp("(spacer)\.gif$");
	var regex_3 = new RegExp("(dot)\.gif$");
	
	for (var i=0; i < document.images.length; i++)
	{
		if (regex_1.test(document.images[i].src) || regex_2.test(document.images[i].src) || regex_3.test(document.images[i].src))
		{
			document.images[i].style.display = "none";
		}
	}
}
/*== ==*/