//<!--Kopf -->
//<!-- Kopf -------------------------------------------------------------------------------------------------------------------------------------------->
//document.write("<div id='menu'>");
document.write("<HTML><HEAD><TITLE>NAV</TITLE>");
document.write("<BODY topmargin='0' leftmargin='0' marginwidth='0' marginheight='0'>");
document.write("<table onChange='positionieren()' border='0' width='100%' cellspacing='0' cellpadding='0'>");
document.write("<tr width='100%'><a name='top'></a>");
document.write("<td width='650'><img border='0' src='/img/titel.jpg' height='65'></td>");
document.write("<td width='100%' bgcolor='#121119'>&nbsp;</td>");
document.write("</tr>");
document.write("</table>");
//document.write("</div>");
//<!-- Kopf end ----------------------------------------------------------------------------------------------------------------------------------------------->

//<!-- Menü start ----------------------------------------------------------------------------------------------------------------------------------------------->
document.write("<table border='0' width='100%' cellspacing='0' cellpadding='0' bgcolor='#000000'>");
document.write("<tr>");
document.write("<td width='430'>");
document.write("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' NAME='Taskbar2' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' WIDTH=490 HEIGHT=20>");
document.write("<PARAM NAME=movie VALUE='/taskbar/Taskbar2.swf'>");
document.write("<PARAM NAME=menu VALUE=false>");
document.write("<PARAM NAME=quality VALUE=high>");
document.write("<PARAM NAME=scale VALUE=noborder>");
document.write("<PARAM NAME=salign VALUE=L>");
document.write("<PARAM NAME=bgcolor VALUE=#000000>");
document.write("<EMBED NAME='Taskbar2' swliveconnect=true src='/taskbar/Taskbar2.swf' menu=false quality=high scale=noborder salign=L bgcolor=#000000  WIDTH=490 HEIGHT=20 TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>");
document.write("</EMBED>");
document.write("</OBJECT>");
document.write("</td>");
document.write("<td width='100%'>&nbsp;</td>");
document.write("</tr>");
document.write("</table>");
//<!-- Menü end ----------------------------------------------------------------------------------------------------------------------------------------------->

//<!-- Menuauswahl setzen start----------------------------------------------------------------------------------------------------------------------------------------------->
if (location.search.indexOf( "&" )>0){
startstring = location.search.indexOf( "&" ) + 1;
endstring = location.search.length;
menupos = location.search.substring(startstring, endstring);
}
else{
endstring = location.search.length;
menupos = location.search.substring(1, endstring);
}

if (menupos == ""){
  menupos = "home";
}
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
var path = InternetExplorer ? Taskbar2 : document.embeds["Taskbar2"];  //Taskbar2 ist der Objektname vom geladenen Film
path.SetVariable('menup', menupos);					//menup ist die Variable in Flash
//<!-- Menuauswahl setzen end ----------------------------------------------------------------------------------------------------------------------------------------------->

//<!-- Hintergrund IMG einfügen start ----------------------------------------------------------------------------------------------------------------------------------------------->
document.write("<div id='hintergr'>");
document.write("<table border='0' cellpadding='0' cellspacing='0'>");
document.write("  <tr>");
document.write("    <td align='left' valign='top'><img border='0' src='img/hintergrund.jpg'></td>");
document.write("  </tr>");
document.write("</table>");
document.write("</div>");
//<!-- Hintergrund IMG einfügen end ----------------------------------------------------------------------------------------------------------------------------------------------->

//<!-- Seiteninhalt zentrieren start----------------------------------------------------------------------------------------------------------------------------------------------->
//<!-- hide from old browsers
function positionieren(){
  widthX = 0;
  widthdivx = 0;
  leftpos = 0;
  widthdivhinterx = 0;
  leftpos2 = 0;
  NS = (document.layers) ? 1 : 0;
  IE = (document.all) ? 1: 0;
  if(IE) {
    widthX = document.body.offsetWidth;				//Breite vom Anzeigebereich ermitteln

    document.all.hintergr.style.pixelTop = 85;			//Fehlerhafter Import von CSS bei IE5.5 korrigieren
    document.all.hintergr.style.pixelWidth = 178;		//Fehlerhafter Import von CSS bei IE5.5 korrigieren    

    widthdivhinterx = document.all.hintergr.style.pixelWidth;	//Breite vom div-tag ermitteln
    leftpos2 = widthX - widthdivhinterx - 20			//Leftposition berechnen
    document.all.hintergr.style.pixelLeft = leftpos2;		//Leftposition setzen

    if(document.all.newsausgabe){
      widthdivx = document.all.newsausgabe.style.pixelWidth;	
      leftpos = (widthX - widthdivx) / 2 - 20			
      document.all.newsausgabe.style.pixelLeft = leftpos;		
    }
if(document.all.startseite){
      widthdivx = document.all.startseite.style.pixelWidth;	
      leftpos = (widthX - widthdivx) / 2 - 50			
      document.all.startseite.style.pixelLeft = leftpos;		
    }

  } else{
    widthX = window.innerWidth;
    
    document.hintergr.width = 178;
    widthdivhinterx = document.hintergr.width;
    leftpos2 = widthX - widthdivhinterx - 14
    document.hintergr.left = leftpos2;

    if(document.newsausgabe){
      document.newsausgabe.width = 681;				//Breite zuerst setzen weil auslesen sonst nicht funzt
      widthdivx = document.newsausgabe.width;
      leftpos = (widthX - widthdivx) / 2 - 20
      document.newsausgabe.left = leftpos;
    }
if(document.startseite){
      document.startseite.width = 681;				//Breite zuerst setzen weil auslesen sonst nicht funzt
      widthdivx = document.startseite.width;
      leftpos = (widthX - widthdivx) / 2 - 50
      document.startseite.left = leftpos;
    }

  }
}
// end hiding from old browsers -->

//<!-- Seiteninhalt zentrieren end----------------------------------------------------------------------------------------------------------------------------------------------->
