<!--

// SCRIPT by Dominik Mohr
// Copyrights Reserved

function background() {
	bg = 1+3*(Math.random());
	bg = Math.round(bg);
	document.getElementById('Menu').style.backgroundImage = "url(img/menuline"+bg+".jpg)";
	document.getElementById('Heading').style.backgroundImage = "url(img/heading"+bg+".jpg)";

}

function menu_pic(element,status) {
	if (status=="on") { 		document.getElementById(element).style.border = "solid 1px #FFFFFF";
		document.getElementById(element).style.paddingLeft = "0px";
		document.getElementById(element).style.paddingRight = "0px";
	}
	else {
		document.getElementById(element).style.border = "solid 0px #000000";
		document.getElementById(element).style.paddingLeft = "1px";
		document.getElementById(element).style.paddingRight = "1px";	
	}}

function showTR(id) {
	var idclose=0;
	for (idclose=10;idclose<=70;idclose=idclose+5) {
		if (document.getElementById(idclose) && idclose!=id) {
			document.getElementById(idclose).style.display = "none";
		}
	}
	with (document.getElementById(id)) {
		if (style.display == "block")	{
			style.display = "none";
		}
		else {
			style.display = "block";
			window.scrollBy(0,200);
		}
	}
	
}

//Videofenster
function video_window() {
	var link = "video.htm";	var videowindow_open = window.open(link,'','scrollbars=no,menubar=no,height=500,width=640,resizable=yes,toolbar=no,location=no,status=no');
}
//Bandfenster
function band_window() {
	var link = "pu-band.htm";	var videowindow_open = window.open(link,'','scrollbars=no,menubar=no,height=600,width=370,resizable=yes,toolbar=no,location=no,status=no');
}

//Ing-Curlfenster
function ingcurl_window() {
	var link = "pu-ing-curl.htm";	var videowindow_open = window.open(link,'','scrollbars=no,menubar=no,height=305,width=400,resizable=yes,toolbar=no,location=no,status=no');
}

//kugelfahrzeugfenster
function kugelfahrzeug_window() {
	var link = "pu-kugelfahrzeug.htm";	var videowindow_open = window.open(link,'','scrollbars=no,menubar=no,height=321,width=400,resizable=yes,toolbar=no,location=no,status=no');
}

//lautsprecherfenster
function lautsprecher_window() {
	var link = "pu-lautsprecher.htm";	var videowindow_open = window.open(link,'','scrollbars=no,menubar=no,height=446,width=400,resizable=yes,toolbar=no,location=no,status=no');
}


//pianistfenster
function pianist_window() {
	var link = "pu-pianist.htm";	var videowindow_open = window.open(link,'','scrollbars=no,menubar=no,height=255,width=370,resizable=yes,toolbar=no,location=no,status=no');
}


//scuderiafenster
function scuderia_window() {
	var link = "pu-scuderia.htm";	var videowindow_open = window.open(link,'','scrollbars=no,menubar=no,height=288,width=400,resizable=yes,toolbar=no,location=no,status=no');
}

//segwayfenster
function segway_window() {
	var link = "pu-segway.htm";	var videowindow_open = window.open(link,'','scrollbars=no,menubar=no,height=560,width=400,resizable=yes,toolbar=no,location=no,status=no');
}

//wasserstoffmobilfenster
function wasserstoffmobil_window() {
	var link = "pu-wasserstoffmobil.htm";	var videowindow_open = window.open(link,'','scrollbars=no,menubar=no,height=287,width=400,resizable=yes,toolbar=no,location=no,status=no');
}
//-->