

function showorhide(id) 
	{ 
	if (document.getElementById(id).style.display == "none") 
		{
		document.getElementById(id).style.display = "block";
		} 
	else 
		{
		document.getElementById(id).style.display = "none";
		}
	}

function show(id) 
	{ 
	document.getElementById(id).style.display = "block";
	}

function hide(id) 
	{ 
	document.getElementById(id).style.display = "none";
	}

sfHover = function() 
	{
	var sfEls = document.getElementById("nav1").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) 
		{
		sfEls[i].onmouseover=function() 
			{
			this.className+=" ie_does_hover";
			}
		sfEls[i].onmouseout=function() 
			{
			this.className=this.className.replace(new RegExp(" ie_does_hover\\b"), "");
			}
		}
		
	var sfEls = document.getElementById("nav2").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) 
		{
		sfEls[i].onmouseover=function() 
			{
			this.className+=" ie_does_hover";
			}
		sfEls[i].onmouseout=function() 
			{
			this.className=this.className.replace(new RegExp(" ie_does_hover\\b"), "");
			}
		}
		
	var sfEls = document.getElementById("nav3").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) 
		{
		sfEls[i].onmouseover=function() 
			{
			this.className+=" ie_does_hover";
			}
		sfEls[i].onmouseout=function() 
			{
			this.className=this.className.replace(new RegExp(" ie_does_hover\\b"), "");
			}
		}
	var sfEls = document.getElementById("nav4").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) 
		{
		sfEls[i].onmouseover=function() 
			{
			this.className+=" ie_does_hover";
			}
		sfEls[i].onmouseout=function() 
			{
			this.className=this.className.replace(new RegExp(" ie_does_hover\\b"), "");
			}
		}
	var sfEls = document.getElementById("nav5").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) 
		{
		sfEls[i].onmouseover=function() 
			{
			this.className+=" ie_does_hover";
			}
		sfEls[i].onmouseout=function() 
			{
			this.className=this.className.replace(new RegExp(" ie_does_hover\\b"), "");
			}
		}
	var sfEls = document.getElementById("nav6").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) 
		{
		sfEls[i].onmouseover=function() 
			{
			this.className+=" ie_does_hover";
			}
		sfEls[i].onmouseout=function() 
			{
			this.className=this.className.replace(new RegExp(" ie_does_hover\\b"), "");
			}
		}
	}

	
	
	
// banner homepage	
var x=0; //iniatialises the variable globally
var speed=2; //sets the time between steps in milliseconds oftewel de snelheid waarmee het bord verschuift
function run()
	{
	index=-1000; // the initial left position
	var hpos = window.screen.width / 2 -150;
	for (i=0;i<=hpos;i++) // set a loop of 100 steps
 			{
			time1=setTimeout('moveBox()',speed*i); // sets up 100 future events
			}
 			clearTimeout(time1); // and then cancels the timer
	}
function moveBox()
	{
	if (document.getElementById)
			{
			var bx=document.getElementById("banner"); // make bx an object
			bx.style.left=x; // set its left attribute to the variable x
			x++;
			}
	}//-->

function setCookie(c_name,value,expiredays)
	{var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);
	document.cookie=c_name+ "=" +escape(value)+
	((expiredays==null) ? "" : ";expires="+exdate.toGMTString());
	}

function getCookie(c_name)
	{
	if (document.cookie.length>0)
	{
	c_start=document.cookie.indexOf(c_name + "=");
	if (c_start!=-1)
		{ 
		c_start=c_start + c_name.length+1; 
		c_end=document.cookie.indexOf(";",c_start);
		if (c_end==-1) c_end=document.cookie.length;
		return unescape(document.cookie.substring(c_start,c_end));
		} 
	}
	return "";
	}
