// JavaScript Document

function menuOver(obj)
	{
		//document.getElementById(obj).style.border="1px Solid #667ab3"
	}
function menuOut(obj,color)
	{
		//document.getElementById(obj).style.border="1px Solid #000000"
	}
function subMenuOver(submenuItem)
	{
		submenuItem.style.background="#e8eef4"
	}
function subMenuOut(submenuItem)
	{
		submenuItem.style.background="url(image/subMenuBG.jpg)"
	}
function nav(url)
	{
		document.location.href=url
	}
function showError()
	{
		document.getElementById("errorBox").style.display="inline"	
	}
function hideError()
	{
		document.getElementById("errorBox").style.display="none"	
	}
	
function mainOver(id)
	{
		id.style.filter="alpha(opacity=50)"
		id.style.opacity=".50"		
	}
function mainOut(id)
	{
		id.style.filter="alpha(opacity=100)"
		id.style.opacity="1"		
	}
function showHideText(obj)
		{
		if (obj.style.display=="none")
			{
				obj.style.display="inline"
			}
		else
			{
				obj.style.display="none"
			}
		}
function checkForm(formObj,objStr)
	{
		var x;
		var submitForm =true;
		var objArray=objStr.split(",");
		
		for (x in objArray)
			{
				if (document.getElementById(objArray[x]).value=="")
					{
						submitForm=false
						document.getElementById(objArray[x]).style.border="1px solid #FF0000"
						document.getElementById(objArray[x]).style.background="#ffebeb"						
					}
			}
	
		if (submitForm==true)
			{
				document.getElementById(formObj).style.display='none';
				document.getElementById("progressbar").style.display='inline';				
				document.getElementById(formObj).submit();
			}
		else
			{alert("Vul a.u.b. deze velden in")}
	}
function disclaimer()
	{
		window.open("copyright.asp","","width=800,height=600,toolbar=no,scrolling")
	}	
