/*CSS Weiche
var MSIE=navigator.userAgent.indexOf("MSIE"); 
var NETS=navigator.userAgent.indexOf("Netscape"); 
var OPER=navigator.userAgent.indexOf("Opera"); 
if((MSIE>-1) || (OPER>-1)) { 
document.write("<link href='/typomotion_ms.css' type='text/css' rel='stylesheet'>"); 
} else { 
document.write("<link href='/typomotion.css' type='text/css' rel='stylesheet'>"); 
}*/

//Versteckten Text aufklappen
function toggledisplay (id, indicator){ 
	if (document.getElementById) { 
		var obj = document.getElementById(id);
		var pic = document.getElementsByName(indicator);
		obj.style.display = (obj.style.display=='block'?'none':'block');
		pic[0].src = (obj.style.display=='block'?'/images/hide.gif':'/images/show.gif');
	} else if(document.all) { // IE
		id.style.display = (id.style.display=='block'?'none':'block');
		indicator.src = (id.style.display=='block'?'/images/hide.gif':'/images/show.gif');
	} else if (document.layers) { // Netscape 4.x
		document.id.style.display = (document.id.style.display=='block'?'none':'block');
		document.indicator.src = (document.id.style.display=='block'?'/images/hide.gif':'/images/show.gif');
	}
}

function displayMovie(Movie,Titel,movieB,movieH) {
	xsize = movieB+66
	ysize = movieH+66
	ScreenWidth = screen.width;
	ScreenHeight = screen.height;
	xpos = (ScreenWidth/2)-(xsize/2);
	ypos = (ScreenHeight/2)-(ysize/2);
	ypos = (ypos/5)*3;
	NewWindow=window.open("","Movie","height="+ysize+",width="+xsize+",scrollbars=auto,resizable=yes,status=yes,top="+ypos+",left="+xpos+"");
	NewWindow.document.write ("<html><head><title>");
	NewWindow.document.write (Titel);
	NewWindow.document.write ("</title></head>");
	NewWindow.document.write ("<body bgcolor='#000000' onload='focus()'>");
	NewWindow.document.write ("<table border='0' bgcolor='#000000' cellpadding='0' cellspacing='0' width='100%' height='100%'><tr><td align='center' valign='middle'>");
	NewWindow.document.write ("<embed src='");
	NewWindow.document.write (Movie);
	NewWindow.document.write ("'");
	NewWindow.document.write ("' height='");
	NewWindow.document.write (movieH);
	NewWindow.document.write ("' width='");
	NewWindow.document.write (movieB);
	NewWindow.document.write ("'");
	NewWindow.document.write ("autoplay='true' loop='false' controller='true' pluginspage='http://www.apple.com/de/quicktime/download/'></td>");
	NewWindow.document.write ("</tr></table>");
	NewWindow.document.write ("</body></html>");
	NewWindow.document.close();
}

function displayPic(Pic,Titel,picX,picY) {
	xsize = picX+12
	ysize = picY+18
	ScreenWidth = screen.width;
	ScreenHeight = screen.height;
	xpos = (ScreenWidth/2)-(xsize/2);
	ypos = (ScreenHeight/2)-(ysize/2);
	ypos = (ypos/5)*3;
	NewWindow=window.open("","Movie","height="+ysize+",width="+xsize+",scrollbars=auto,resizable=yes,status=yes,top="+ypos+",left="+xpos+"");
	NewWindow.document.write ("<html><head><title>");
	NewWindow.document.write (Titel);
	NewWindow.document.write ("</title></head>");
	NewWindow.document.write ("<body bgcolor='#ffffff' onload='focus()' leftmargin='0' marginheight='0' marginwidth='0' topmargin='0'>");
	NewWindow.document.write ("<table border='0' bgcolor='#ffffff' cellpadding='0' cellspacing='0' width='100%' height='100%'><tr><td align='center' valign='middle'>");
	NewWindow.document.write ("<img src='");
	NewWindow.document.write (Pic);
	NewWindow.document.write ("'");
	NewWindow.document.write ("</td>");
	NewWindow.document.write ("</tr></table>");
	NewWindow.document.write ("</body></html>");
	NewWindow.document.close();
}

function popup(url,width,height) {
	options = "scrollbars=no"+",status=yes"+",width="+width+",height="+height;
	Win = window.open(url,"Popup", options);
	Win.focus();
}

function changePage(newLoc) {
   nextPage = newLoc.options[newLoc.selectedIndex].value
   if (nextPage != "") {
      document.location.href = nextPage
   }
}
