// SOS IE6

sfHover = function() {
	var sfEls = document.getElementById("nav").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"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


// pop id

function popUpId(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=240');");
}


// pop img

function PopupPic(sPicURL) {
     window.open("popup.php?"+sPicURL, "",  
     "resizable=0,HEIGHT=200,WIDTH=200");
} 



// show hide fact

function showFact(){
	if (document.leverfrm.adresverschilt.checked){
		document.getElementById("contacttr2").style.display = "table-row";	
		document.leverfrm.frm_factstraat.focus();
	}else{
		document.getElementById("contacttr2").style.display = "none";	
	}
}
