window.onerror=handleErr; //Foutmelding door Urchin-script(?) afvangen

function handleErr()
{
	return true;
}

_uacct = "UA-2096970-1";
urchinTracker();

var geladen=false;

function klapdiv()
{
divs=klapdiv.arguments;
	if (bestaat(divs[0]) && document.getElementById(divs[0]).style.display!="none" && geladen==true)
	{
		for (x=0; x<divs.length;x++)
		{
		if (bestaat(divs[x]))sluitDiv(divs[x]);
		}
	}
	else
	{
		for (x=0; x<divs.length;x++)
		{
		if (bestaat(divs[x]))openDiv(divs[x]);
		}
		geladen=true;
	}
}

function openDiv(div)
{
	if(bestaat(div))document.getElementById(div).style.display="block";
}

function sluitDiv(div)
{
	if(bestaat(div))document.getElementById(div).style.display="none";
}

function bestaat(div)
{
	if (document.getElementById(div) && document.getElementById(div)!=undefined && document.getElementById(div)!='undefined' && document.getElementById(div)!=null && document.getElementById(div)!='null'){return true;} else {return false;}
}

document.write("<style type='text/css'>\n<!--\n#menu ul {display:none;}\n-->\n</style>");

