function showHide(e)
{
	if (this.className == '')
	{
		this.className += ' expand';
	}
	else
	{
		this.className = this.className.replace(/\s?expand/g,'');
	}
	return false;
}

function blur(e)
{
	this.blur();
}

function expandalizer()
{
	bureaus = document.getElementsByTagName('LI');
	for (var i=0; i < bureaus.length; i++)
	{
		addEvent(bureaus[i],"click",showHide);
	}
	anchors = document.getElementsByTagName('A');
	for (var i=0; i < anchors.length; i++)
	{
		addEvent(anchors[i],"focus",blur);
	}
}

function highlightStart(provincie)
{
	var pos = 0;
	switch(provincie)
	{
		case 'zh': pos = -165; break;
		case 'nh': pos = -330; break;
		case 'fr': pos = -495; break;
		case 'gr': pos = -660; break;
		case 'dr': pos = -825; break;
		case 'ov': pos = -990; break;
		case 'fl': pos = -1155; break;
		case 'gl': pos = -1320; break;
		case 'ut': pos = -1485; break;
		case 'nb': pos = -1650; break;
		case 'zl': pos = -1815; break;
		case 'lb': pos = -1980; break;
	}
	document.getElementById('kaart-nederland').style.backgroundPosition = pos + 'px 0px';
}

function highlightStop()
{
	document.getElementById('kaart-nederland').style.backgroundPosition = '';
}

function initialize () {
	if (self.init) self.init();
}

window.onload = function(e) {
  initialize();
//  expandalizer();
}

