/*
created 08-2005 js
last edited 
*/

// for the beans hands
var hand;
/*function hide () {
	hand = document.getElementById("hand01");
	hand.style.visibility = "hidden";
}*/
function showHand (i) {
	window.scrollTo(0,0);
	hand = document.getElementById("hand"+i);
	hand.style.visibility="visible";
}

// for the meta navigation
function showInfo(id) {
	var numberInfos = 4;
	if (document.getElementById(id).style.display == "none") {
		for (i=1;i<=numberInfos;i++) {
			document.getElementById("info_"+i).style.display = "none";
		} 
		document.getElementById(id).style.display = "block";
	} else {
		document.getElementById(id).style.display = "none";
	}
}


//popups
function open_popup(path, width, height) {	
	target="_blank";
	prefs = "resizable=no,scrollbars=no,menubar=no,toolbar=no,directories=no,location=no,status=yes,width="+width+",height="+height;
		thWin = window.open(path,target,prefs);
		thWin.focus();
}

//change images
function changeImage(name, filename) {
	document.images[name].src=filename;
}

//preloader popnutten
prelString="";
prelString+="<div style=\"position:absolute;visibility:hidden\">";
prelString+="<img src=\"img/popnutten2.gif\">";
prelString+="</div>";

document.write(prelString);
