
/* PopUp ______________________________________________*/

	function openWin( windowURL, windowName, windowFeatures ) {
		return window.open(windowURL, windowName, windowFeatures); 
	}

	function openImage(windowURL) {
		newWindow = window.open(windowURL , 'Picture', 'width=200,height=200,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=0,resizable=0'); 
	}


/* PopUp Resize _______________________________________*/

	function resize() { 
		
		var x, y;
		
		window.moveTo(0, 0);

		x = document.bild.width;
		y = document.bild.height;

		window.resizeTo(x+10,y+56);
	}

	function checksize() {

		if (document.bild.complete == true)	{
			resize();
		}
		else {
			window.setTimeout("checksize()", 200);
		}
	}


/* Image Change _______________________________________*/

	function wechseln(ort,bild) {

		if (document.images) {
			document.images[ort].src = bild;
		}
	}


/* Submenu Visibility _________________________________*/

	var aktiv, letztes = 0;

	function nurzu() {

		if (letztes != 0) {
			document.getElementById(letztes).style.display = 'none';
			clearTimeout(aktiv);
			letztes = 0;
		}
		return false;
	}

	function nurauf() {

		var aktuelles = nurauf.arguments[0];
		
		if (letztes != 0) {
			clearTimeout(aktiv);
			document.getElementById(letztes).style.display = 'none';
		}
		
		document.getElementById(nurauf.arguments[0]).style.display = 'block';
		letztes = nurauf.arguments[0];
		return false;
	}
	  
	function nurzutimer() {
		aktiv = setTimeout('verzoegern()',2000);
	}

	function verzoegern() {

		if (letztes != 0) {
			document.getElementById(letztes).style.display = 'none';
			letztes = 0;
		}
		
		return false;
	}

	function stop() {
		clearTimeout(aktiv);
	}