sfHover = function() {
	var sfEls = document.getElementById("left").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
function showClip (clipId) {
	var so = new SWFObject('/images/mediaplayer.swf','mpl','450','250','8');
	so.addParam('allowscriptaccess','always');
	so.addParam('allowfullscreen','true');
	so.addVariable('width','450');
	so.addVariable('height','250');
	so.addVariable('file','http://79.170.90.102/data/'+clipId+'.flv');
	so.addVariable('backcolor','0x000000');
	so.addVariable('frontcolor','0xffffff');
	so.addVariable('lightcolor','0xe13189');
	so.addVariable('image','http://www.hierdus.nl/images/bedrijven/b-'+clipId+'.jpg');
	so.addVariable('logo','http://www.hierdus.nl/images/video-logo.png');
	so.addVariable('link','http://www.hierdus.nl');
	so.addVariable('searchbar','false');
	so.addVariable('overstretch','true');
	so.write('player');
}

function showLayer(Layer1) {
	hideLayer('contact');
	hideLayer('doorsturen');
	hideLayer('kaart');
	if ((document.getElementsByTagName("body")[0] != null || document.body != null) && document.getElementById(Layer1) != null) {
		document.getElementById(Layer1).style.visibility = 'visible';
		document.getElementById(Layer1).style.display = 'block';
	}
}

function hideLayer(Layer1) {
	if ((document.getElementsByTagName("body")[0] != null || document.body != null) && document.getElementById(Layer1) != null) {
		document.getElementById(Layer1).style.visibility = 'hidden';
		document.getElementById(Layer1).style.display = 'none';
	}
}
function showLaden() {
	showLayer('laden');
	hideLayer('formN');
}
if (window.attachEvent) window.attachEvent("onload", sfHover);