<!--


function createMenu(mnu) {
document.write("<div><map name=home_link><area shape=rect coords='765,5,958,75' href=home.html target=CONTENT alt=home></map></div>");

document.write("<div style='position:absolute; top:10; left:10; width:"+winWidth+"; height:"+mnuHeight+";border-left:"+frmBorder+";border-right:"+frmBorder+";border-top:"+frmBorder+"'><img src=header.png usemap=home_link style=border:0></div>");


document.write ("<div style='position:absolute; left:25; top:92'>");

document.write ("<table cellpadding='3' cellspacing='0'><tr>");


for(i=0;i<mnu.length;i++) {
document.write("<td cellspacing='0' style='border-left:"+mnuBorder+";border-right:"+mnuBorder+";border-top:"+mnuBorder+";border-bottom:0; padding-left:15; padding-right:15; width:"+mnuWidth+"' onMouseover='subMenu(this,OAGmnu["+i+"])' onMouseout='clearSubMenu()' bgcolor='"+offColor+"'><p align='center' onMouseover='subMenu(this,OAGmnu["+i+"])'><span class=MnuCaption>"+OAGmnuCaptionS[i]+"</span></td><td align=right>&nbsp;</td>");

}

document.write ("</tr></table>");


document.write ("</div><div id=anzeiger style='position:absolute;top:0;left:0;width:0;height:0;z-index:1000'></div>");


}

function posContent() {
with (document.getElementById("content").style) {
top=contentY;
left=contentX;

var x,y;
if (self.innerHeight) // all except Explorer
{
        x = self.innerWidth;
        y = self.innerHeight;
}
else if (document.documentElement && document.documentElement.clientHeight)
        // Explorer 6 Strict Mode
{
        x = document.documentElement.clientWidth;
        y = document.documentElement.clientHeight;
}
else if (document.body) // other Explorers
{
        x = document.body.clientWidth;
        y = document.body.clientHeight;
}

if(x<winWidth+space) {
width=x-2*space; }
else {
width=winWidth; }

height=y-contentY-space;
;
borderLeft=frmBorder;
borderRight=frmBorder;
borderBottom=frmBorder;
borderTop=0;

}


}

var subMenuParent=0;


function subMenu(which, titles){

   if(document.getElementById('subMenu')) {
      document.getElementById('anzeiger').innerHTML="";
      subMenuParent.setAttribute("bgcolor",offColor,"false"); }

   var top = 0;
   var left = 0;
   var Eltern = which.offsetParent;
   while (Eltern) {
   top = top + Eltern.offsetTop;
   left = left + Eltern.offsetLeft;
   Eltern=Eltern.offsetParent; }

   document.getElementById('content').style['z-index']=0;

   tag = "<div onMouseout='clearSubMenu()' style='width:250; height:150;position:absolute;z-index:1000;"
   tag += "top:"+(which.offsetTop+which.offsetHeight+top+1)+";"
   tag += "left:"+(which.offsetLeft+left)+";"
   tag += "' ";
   tag += "id=subMenu ";
   tag += "><table id=subMenuTBL cellpadding=0 cellspacing=0 onmouseout='clearSubMenu()' style='position:absolute;";
   tag += "top:0;left:0;z-index:1000;border-top:1px solid #AAAAAA;'>";
   //cellpadding => gr&ouml;&szlig;e des submenus

   var titles = titles.split("/#/");

   for(z=0;z<titles.length;z++) {
   tag += "<tr style='' onMouseout='clearSubMenu()'>";

   tag += "<td";
   tag += " onMouseout=changeColor(this,'"+offColor+"')";
   tag += " style='padding-left:10;padding-right:10;min-width:"+subMenuWidth+"; padding-top:2;padding-bottom:2;";
   tag += "border:1px solid #AAAAAA;border-top:0'";
   tag += " onMouseover=changeColor(this,'"+onColor+"') bgcolor="+offColor;
   tag += ">";
   tag += "<a class=Links target=CONTENT href='"+titles[z].split("|")[1]+"' onclick='clearSubMenu_onclick()'>";
   tag += titles[z].split("|")[0];
   tag += "</a></td></tr>";
   }

   tag += "</table></div>";

   //document.getElementById('content').innerHTML = "<code>"+tag+"</code>";
   document.getElementById('anzeiger').innerHTML += tag;

   subMenuParent = which;

   changeColor(which,onColor);
   changeColor(document.getElementById('subMenu'),offColor);

   if(!document.all) {
   window.captureEvents(Event.MOUSEMOVE);
   window.onmousemove=clearSubMenu;
   }

}

var x=0;
var y=0;



function changeColor(which, color) {
         which.setAttribute("bgcolor",color,"false");
}


function clearSubMenu(e) {

if(!document.all) {
  x = e.pageX;
  y = e.pageY;
}

   if(document.getElementById('subMenu')) {

   var top = 0;
   var left = 0;
   var Eltern = document.getElementById('subMenuTBL').offsetParent;
   while (Eltern) {
   top = top + Eltern.offsetTop;
   left = left + Eltern.offsetLeft;
   Eltern=Eltern.offsetParent; }

   top = top + document.getElementById('subMenuTBL').offsetTop;
   left = left + document.getElementById('subMenuTBL').offsetLeft;
   right = left + document.getElementById('subMenuTBL').offsetWidth;
   bottom = top + document.getElementById('subMenuTBL').offsetHeight;

   var mousex = 0;
   var mousey = 0;


   if(document.all) {
     var Eltern2 = window.event.offsetParent;
     while (Eltern2) {
     mousey = mousey + Eltern2.offsetTop;
     mousex = mousex + Eltern2.offsetLeft;
     Eltern2=Eltern2.offsetParent; }
     mousex += window.event.x;
     mousey += window.event.y;
   }
   else {
     mousex = x;
     mousey = y;
   }


   if(mousex<left+2 || mousex>right-2 || (mousey<top+2 && mousex>left+subMenuParent.offsetWidth) || (mousey<top-subMenuParent.offsetHeight+2 && mousex<left+subMenuParent.offsetWidth) || (mousex>left&&mousex<right&&mousey>bottom-2))
   {
   document.getElementById('anzeiger').innerHTML="";
   subMenuParent.setAttribute("bgcolor",offColor,"false");
   }


   }
}

function clearSubMenu_onclick(e) {
   document.getElementById('anzeiger').innerHTML="";
   subMenuParent.setAttribute("bgcolor",offColor,"false");
}

//-->