

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

	
	
	
	
	
// 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 -20;
	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++;
			}
	}//-->


