var update = "26-02-2008"

if (go == 1){ 
	var im = new Array()
       	im[0] = new Image();
		im[0].src = path+"computers0.gif";
        im[1] = new Image(); 
        im[1].src = path+"computers2.gif"; 
        im[2] = new Image(); 
        im[2].src = path+"computers1.gif";
        im[3] = new Image();
        im[3].src = path+"software0.gif";
        im[4] = new Image(); 
        im[4].src = path+"software2.gif"; 
        im[5] = new Image(); 
        im[5].src = path+"software1.gif";
        im[6] = new Image();
        im[6].src = path+"Internet0.gif";
        im[7] = new Image(); 
        im[7].src = path+"Internet2.gif"; 
        im[8] = new Image(); 
        im[8].src = path+"Internet1.gif";
        im[9] = new Image();
        im[9].src = path+"printers0.gif";
        im[10] = new Image(); 
        im[10].src = path+"printers2.gif"; 
        im[11] = new Image(); 
        im[11].src = path+"printers1.gif";
        im[12] = new Image();
        im[12].src = path+"kassa0.gif";
        im[13] = new Image(); 
        im[13].src = path+"kassa2.gif"; 
        im[14] = new Image(); 
        im[14].src = path+"kassa1.gif";
        im[15] = new Image();
        im[15].src = path+"linux0.gif";
        im[16] = new Image(); 
        im[16].src = path+"linux2.gif"; 
        im[17] = new Image(); 
        im[17].src = path+"linux1.gif";
        im[18] = new Image();
        im[18].src = path+"home0.gif";
        im[19] = new Image(); 
        im[19].src = path+"home2.gif"; 
        im[20] = new Image(); 
        im[20].src = path+"home1.gif";
}

function swtcht(num, imgname) {
	if (go == 1) {
		document.images[imgname].src = im[num].src
	}
}

function doStatus(stat) {
	window.status = 'Van der Heijden Automatisering '+stat;
}

var nStep = 10;
var nDelay =10;
var nChunk;

function HideErrors(){
	return true;
}

function doMenu(id, x, y) {
	if (go == 1) {
		var thisMenu = document.all(id);

		if (thisMenu == AnimatedMenu) {
			window.event.cancelBubble = true;
			return false;
		}

		if (AnimatedMenu != null) AnimatedMenu.style.display = "none";

		window.event.cancelBubble = true;

		if( x < 0) {
			x = document.body.clientWidth + x;
		}

		thisMenu.style.left = x;
		thisMenu.style.top = y;
		AnimatedMenu = thisMenu;
		thisMenu.style.clip = "rect(0 0 0 0)";
		thisMenu.style.display = "block";
		nChunk = nStep;
		window.setTimeout("showMenu()", nDelay);
	}
}

function showMenu() {
	if (go == 1) {
		AnimatedMenu.style.clip = "rect(0 "+ nChunk + "% " + nChunk + "% 0)"
		nChunk += nStep;
		nChunk<=100?window.setTimeout("showMenu()",nDelay):null	
	}
}

function hideMenu(){
	AnimatedMenu.style.display = "none";
	AnimatedMenu = StarTextMenu;
	window.event.cancelBubble = true;
}

function keepMenu(){
	window.event.cancelBubble = true;
}

function hideMH()	{
	makehome.style.display='none';
}
	
document.onclick = hideMenu;

