if (location.hostname=="wwwi.iws.fraunhofer.de")
 root="http://wwwi.iws.fraunhofer.de/";
else
 root="http://www.iws.fraunhofer.de/";

function BrowserSniffer()
{
 var agt=navigator.userAgent.toLowerCase();
 this.vi = parseInt(navigator.appVersion);
 this.vf = parseFloat(navigator.appVersion);
 this.b = ((agt.indexOf('mozilla') != -1) &&
           (agt.indexOf('spoofer') == -1) &&
           (agt.indexOf('compatible') == -1) &&
           (agt.indexOf('opera') == -1) &&
           (agt.indexOf('webtv') == -1))? "ns" :
           (agt.indexOf("msie") != -1)? "ie" :
           (agt.indexOf("aol") != -1)? "aol" :
           (agt.indexOf("opera") != -1)? "opera" :
           (agt.indexOf("webtv") != -1)? "webtv" : null;
 ie3mac = ((navigator.appVersion.indexOf("Mac") != -1) &&
           (navigator.userAgent.indexOf("MSIE") != -1) && (this.vi == 3));
 this.ns2 = ((this.b == "ns") && (this.vi == 2));
 this.ns3 = ((this.b == "ns") && (this.vi == 3));
 this.ns4 = ((this.b == "ns") && (this.vi == 4));
 this.ns5 = ((this.b == "ns") && (this.vi == 5));
 this.ns5up = ((this.b == "ns") && (this.vi >= 5));
 this.ie3 = ((this.b == "ie") && (this.vi < 4));
 this.ie4 = ((this.b == "ie") && (this.vi == 4) && (agt.indexOf("msie 5.0")==-1));
 this.ie5 = ((this.b == "ie") && (this.vi == 4) && (agt.indexOf("msie 5.0")!=-1));
 this.ie5up  = ((this.b == "ie") && !this.ie3 && !this.ie4);
 if (this.ie5 || (this.ie5up && (this.vi < 5))) this.vi = 5;
 this.aol3  = ((this.b == "aol") && this.ie3);
 this.aol4  = ((this.b == "aol") && this.ie4);
 this.js = (this.ns2 || this.ie3)? 1.0 :
           (this.ns3 || this.b == "opera")? 1.1 :
           ((this.ns4 && (this.vf <= 4.05)) || this.ie4)? 1.2 :
           ((this.ns4 && (this.vf > 4.05)) || this.ie5up)? 1.3 :
           (this.ns5up)? 1.4 : 0.0;
 this.ns = ((this.b == "ns") && (this.vi >= 4));
 this.ie = ((this.b == "ie") && (this.vi >= 4));
 this.min = (this.ns || this.ie)
}
is = new BrowserSniffer();

if (is.ns4)
{
 FensterBreite = window.innerWidth;
 FensterHoehe = window.innerHeight;
 window.onResize = new Function("if (FensterBreite != window.innerWidth || FensterHoehe != window.innerHeight) document.location.href = document.location.href");
}

function DynLayer(id, stamm, frame)
{
 if (!DynLayer.set && !frame) DynLayerInit();
 this.frame = (frame || self);
 if (is.ns)
 {
  if (is.ns4)
  {
   if (!stamm) var stamm = DynLayer.stammArray[id];
   if (!frame)
    this.css = (stamm)? eval("document."+stamm+".document."+id) : document.layers[id];
   else
    this.css = (stamm)? eval("frame.document."+stamm+".document."+id) : frame.document.layers[id];
   this.elm = this.event = this.css;
   this.doc = this.css.document;
  }
  else
  {
   this.elm = this.event = document.getElementById(id);
   this.css = this.elm.style;
   this.doc = document;
  }
  this.x = this.css.left;
  this.y = this.css.top;
  this.w = this.css.clip.width;
  this.h = this.css.clip.height;
 }
 else if (is.ie)
 {
  this.elm = this.event = this.frame.document.all[id];
  this.css = this.frame.document.all[id].style;
  this.doc = document;
  this.x = this.elm.offsetLeft;
  this.y = this.elm.offsetTop;
  this.w = (is.ie4)? this.css.pixelWidth : this.elm.offsetWidth;
  this.h = (is.ie4)? this.css.pixelHeight : this.elm.offsetHeight;
 }
 this.id = id;
 this.stamm = stamm;
 this.obj = id + "DynLayer";
 eval(this.obj + "=this");
}

function DynLayerInit(stamm)
{
 if (!DynLayer.set) DynLayer.set = true;
 if (is.ns4)
 {
  if (!stamm)
  {
   var stamm = "";
   var ref = document;
  }
  else ref = eval('document.'+stamm+'.document');
  for (var i=0; i<ref.layers.length; i++)
  {
   var divname = ref.layers[i].name;
   DynLayer.stammArray[divname] = stamm;
   var index = divname.indexOf("Div");
   if (index > 0) eval(divname.substr(0,index)+' = new DynLayer("'+divname+'","'+stamm+'")');
   if (ref.layers[i].document.layers.length > 0)
    DynLayer.refArray[DynLayer.refArray.length] = (stamm == "")? ref.layers[i].name : stamm+'.document.'+ref.layers[i].name;
  }
  if (DynLayer.refArray.i < DynLayer.refArray.length)
   DynLayerInit(DynLayer.refArray[DynLayer.refArray.i++]);
 }
 else if (is.ns)
  for (var i=0; i<document.getElementsByTagName("DIV").length; i++)
  {
   var divname = document.getElementsByTagName("DIV")[i].id;
   var index = divname.indexOf("Div");
   if (index > 0) eval(divname.substr(0,index)+' = new DynLayer("'+divname+'")');
  }
 else if (is.ie)
  for (var i=0; i<document.all.tags("DIV").length; i++)
  {
   var divname = document.all.tags("DIV")[i].id;
   var index = divname.indexOf("Div");
   if (index > 0) eval(divname.substr(0,index)+' = new DynLayer("'+divname+'")');
  }
 return true;
}

DynLayer.stammArray = new Array();
DynLayer.refArray = new Array();
DynLayer.refArray.i = 0;
DynLayer.set = false;

function DynLayerMoveTo(x,y)
{
 if (x != null)
 {
  this.x = x;
  (is.ns)? this.css.left = this.x : this.css.pixelLeft = this.x;
 }
 if (y != null)
 {
  this.y = y;
  (is.ns)? this.css.top = this.y : this.css.pixelTop = this.y;
 }
}

function DynLayerClipInit(clipTop, clipRight, clipBottom, clipLeft)
{
 if (is.ie)
 {
  if (arguments.length == 4) this.clipTo(clipTop, clipRight, clipBottom, clipLeft);
  else if (is.ie4) this.clipTo(0,this.css.pixelWidth,this.css.pixelHeight,0);
 }
}

function DynLayerClipTo(t,r,b,l)
{
 if (t==null) t = this.clipValues('t');
 if (r==null) r = this.clipValues('r');
 if (b==null) b = this.clipValues('b');
 if (l==null) l = this.clipValues('l');
 if (is.ns)
 {
  this.css.clip.top = t;
  this.css.clip.right = r;
  this.css.clip.bottom = b;
  this.css.clip.left = l;
 }
 else if (is.ie) this.css.clip = "rect("+t+"px "+r+"px "+b+"px "+l+"px)";
}

function DynLayerClipValues(which)
{
 if (is.ie) var clipv = this.css.clip.split("rect(")[1].split(")")[0].split("px");
 if (which=="t") return (is.ns)? this.css.clip.top : Number(clipv[0]);
 if (which=="r") return (is.ns)? this.css.clip.right : Number(clipv[1]);
 if (which=="b") return (is.ns)? this.css.clip.bottom : Number(clipv[2]);
 if (which=="l") return (is.ns)? this.css.clip.left : Number(clipv[3]);
}

function DynLayerWrite(html)
{
 if (is.ns4)
 {
  this.doc.open();
  this.doc.write(html);
  this.doc.close();
 }
 else if ((is.ie)||(is.ns)) this.event.innerHTML = html;
}

if (is.min)
{
 DynLayer.prototype.moveTo = DynLayerMoveTo;
 DynLayer.prototype.moveBy = new Function("x", "y", "this.moveTo(this.x+x,this.y+y)");
 DynLayer.prototype.show = new Function("this.css.visibility = (is.ns4)? 'show' : 'visible'");
 DynLayer.prototype.hide = new Function("this.css.visibility = (is.ns4)? 'hide' : 'hidden'");
 DynLayer.prototype.clipInit = DynLayerClipInit;
 DynLayer.prototype.clipTo = DynLayerClipTo;
 DynLayer.prototype.clipBy = new Function("t", "r", "b", "l", "this.clipTo(this.clipValues('t')+t,this.clipValues('r')+r,this.clipValues('b')+b,this.clipValues('l')+l)");
 DynLayer.prototype.clipValues = DynLayerClipValues;
 DynLayer.prototype.write = DynLayerWrite;
}

function createLayer(id, stamm, left, top, width, height, content, bgColor, visibility, zIndex)
{
 if (is.ns4)
 {
  if (stamm)
   var lyr = eval("document."+stamm+".document."+id+" = new Layer(width, document."+stamm+")");
  else
  {
   var lyr = document.layers[id] = new Layer(width);
   eval("document."+id+" = lyr");
  }
  lyr.name = id;
  lyr.left = left;
  lyr.top = top;
  if (height != null) lyr.clip.height = height;
  if (bgColor != null) lyr.bgColor = bgColor;
  lyr.visibility = (visibility=='hidden')? 'hide' : 'show';
  if (zIndex != null) lyr.zIndex = zIndex;
  if (content)
  {
   lyr.document.open();
   lyr.document.write(content);
   lyr.document.close();
  }
 }
 else if (is.ns)
 {
  var str = 'position:absolute; left:'+left+'; top:'+top+'; width:'+width;
  if (height != null) str += "; height:"+height+"; clip:rect(0,"+width+","+height+",0)";
  if (bgColor != null) str += "; background-color:"+bgColor;
  if (zIndex != null) str += "; z-index:"+zIndex;
  if (visibility) str += "; visibility:"+visibility;
 	var lyr = document.createElement("div");
 	lyr.setAttribute("id", id);
 	lyr.setAttribute("style", str);
  lyr.appendChild(document.createTextNode((content)?content:''));

  if (stamm)
  {
   index = stamm.lastIndexOf(".");
   var stammlyr = (index != -1)? stamm.substr(index+1) : stamm;
   document.getElementById(stammlyr).appendChild(lyr);
  }
  else document.getElementsByTagName("body")[0].appendChild(lyr);
 }
 else if (is.ie)
 {
  var str = '\n<DIV id='+id+' style="position:absolute; left:'+left+'; top:'+top+'; width:'+width;
  if (height != null) str += "; height:"+height+"; clip:rect(0,"+width+","+height+",0)";
  if (bgColor != null) str += "; background-color:"+bgColor;
  if (zIndex != null) str += "; z-index:"+zIndex;
  if (visibility) str += "; visibility:"+visibility;
  str += ';">'+((content)?content:'')+'</DIV>';
  if (stamm)
  {
   index = stamm.lastIndexOf(".");
   var stammlyr = (index != -1)? stamm.substr(index+1) : stamm;
   document.all[stammlyr].insertAdjacentHTML("BeforeEnd",str);
  }
  else document.body.insertAdjacentHTML("BeforeEnd",str);
 }
}

LinksM = new Function("this.p = new Array(); this.add = M_add; this.show = M1_show");
ServiceM = new Function("this.p = new Array(); this.add = M_add; this.show = M2_show");
SubM = new Function("this.p = new Array(); this.add = M_add; this.show = M3_show");
SubM4 = new Function("this.p = new Array(); this.add = M_add; this.show = M4_show");
SubM5 = new Function("this.p = new Array(); this.add = M_add; this.show = M5_show");
KopfZ = new Function("fhg", "this.fhg = fhg");
FussZ = new Function("fhg", "this.fhg = fhg");

function M_add(RangBild, Text, Verweis)
{
 this.p[Text] = new Array();
 this.p[Text]['Verweis'] = Verweis;
 this.p[Text]['RangBild'] = RangBild;
}

if (is.min)
 LinksM.prototype.add = ServiceM.prototype.add = SubM.prototype.add = M_add;

function M1_show(x,y,b)
{
if (is.min)
{
 createLayer('LinksMenueDiv',null,x,y,b,null,null,null,null,null);
 LinksMenue = new DynLayer('LinksMenueDiv');
 var s;
 var BildName;
 var titletext = window.document.title;
 var tp = titletext.indexOf(" - ");
 if (tp > -1) tp = titletext.indexOf(" - ", tp + 1);
 if (tp > -1) titeltext = titletext.substring(0, tp);
 if (titletext=="Fraunhofer IWS - Home") titletext = "Fraunhofer IWS - IWS Dresden";
 s="<table border=0 cellspacing=0 cellpadding=0>\n";
 for (var Text in this.p)
 {
  var stufe=this.p[Text]['RangBild'];
  var verweis=this.p[Text]['Verweis'];
  if ("Fraunhofer IWS - " + Text == titletext)
   BildName = "qrt";
  else
   BildName = "tr1";
  s+="<tr valign=top align=left background=\"\">\n";
  if (stufe < 0)
   s+="<td colspan=3><img src=\""+pic.b[BildName]+"\" width=1 height="+Text+"></td>\n";
  else if (stufe == 0)
  {
   s+="<td><img src=\""+pic.b[BildName]+"\" width=14 height=18 align=top name=\""+Text+"\"></td>\n";
   s+="<td colspan=2 class=\"Navig\">"+Text+"</td>\n";
  }
  else if (stufe > 0)
  {
   s+=(stufe==2)? "<td width=14>&nbsp;</td>" : "";
   s+="<td><a href=\""+verweis+"\"";
   s+=(BildName == "tr1") ? " onMouseOver=\"pic.change('LinksMenueDiv','"+Text+"','qor')\" onMouseOut=\"pic.change('LinksMenueDiv','"+Text+"','"+BildName+"')\">" : ">";
//   s+="<td><a href=\""+verweis+"\" onMouseOver=\"pic.change('LinksMenueDiv','"+Text+"','";
//   s+=(BildName == "tr1") ? "qor" : BildName;
//   s+="')\" onMouseOut=\"pic.change('LinksMenueDiv','"+Text+"','"+BildName+"')\">";
   s+="<img src=\""+pic.b[BildName]+"\" width=14 height=18 align=top border=0 name=\""+Text+"\"></td>";
   s+="<td width=\"80%\" colspan="+(3-stufe)+" class=\"Navig\"><a href=\""+verweis+"\"";
   s+=(BildName == "tr1") ? " onMouseOver=\"pic.change('LinksMenueDiv','"+Text+"','qor')\" onMouseOut=\"pic.change('LinksMenueDiv','"+Text+"','"+BildName+"')\">" : ">";
//   s+="<td colspan="+(3-stufe)+" class=\"Navig\"><a href=\""+verweis+"\" onMouseOver=\"pic.change('LinksMenueDiv','"+Text+"','";
//   s+=(BildName == "tr1") ? "qor" : BildName;
//   s+="')\" onMouseOut=\"pic.change('LinksMenueDiv','"+Text+"','"+BildName+"')\">";
   s+=(stufe==2)? "<b>"+Text+"</b></a></td>" : Text+"</a></td>";
  }
  s+="\n</tr>\n";
 }
 s+="</table>\n";
 LinksMenue.write(s);
}
}

function M2_show(x,y,b)
{
if (is.min)
{
 if (is.ie) y = document.body.clientHeight - y;
 if (is.ns) y = window.innerHeight - y;
 createLayer('ServiceMenueDiv',null,x,y,b,null,null,null,null,null);
 ServiceMenue = new DynLayer('ServiceMenueDiv');
 var titletext = window.document.title;
 var tp = titletext.indexOf(" - ");
 if (tp > -1) tp = titletext.indexOf(" - ", tp + 1);
 if (tp > -1) titeltext = titletext.substring(0, tp);
 var s="";
 var BildName;
 for (var Text in this.p)
 {
  BildName=("Fraunhofer IWS - " + Text == titletext)? "qrt":"psror";
  s+="<a href=\"";
  if ((Text=="Englisch")||(Text=="Deutsch")) s+=root;
  s+=this.p[Text]['Verweis']+"\" onmouseover=\"pic.change('ServiceMenueDiv','"+Text+"','"+BildName+"')\" onmouseout=\"pic.change('ServiceMenueDiv','"+Text+"','";
  BildName=("Fraunhofer IWS - " + Text == titletext)? "qrt":"psrrt";
  s+=BildName+"')\"><nobr><img src=\"";
  s+=((Text=="Englisch")||(Text=="Deutsch"))? root+"layout/eng.php?../"+this.p[Text]['Verweis']+"+"+(pic.b[BildName]).substr((pic.b[BildName]).lastIndexOf("/")+1,(pic.b[BildName]).length-(pic.b[BildName]).lastIndexOf("/")-1) : pic.b[BildName];
  s+="\" border=0 name=\""+Text+"\"><img src=\"";
  if ((Text=="Englisch")||(Text=="Deutsch")) s+=root+"layout/eng.php?../"+this.p[Text]['Verweis']+"+";
  s+=this.p[Text]['RangBild']+"\" alt=\""+Text+"\" border=0></nobr></a><br>\n";
 }
 ServiceMenue.write(s);
}
}

function M3_show(lname,b)
{
if (is.min)
{
 var Dokument = (document.layers)? "document.layers[lname].document.InhaltDiv.document" : "document";
 eval(Dokument+'.write("<table width="+'+b+'+" border=0 cellspacing=0 cellpadding=0>");');
 eval(Dokument+'.write("<tr><td><img src=\\""+root+"layout/glas.gif\\" width=14 height=1></td><td><img src=\\""+root+"layout/glas.gif\\" width="+'+b+'+"-14 height=1></td></tr>");');
 for (var Text in this.p)
 {
  var stufe=this.p[Text]['RangBild'];
  var verweis=this.p[Text]['Verweis'];

  if (stufe < -1)
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/grey.gif\\" width="+'+b+'+" height=1></td></tr>");');
  else if (stufe == -1)
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/glas.gif\\" width="+'+b+'+" height="+'+verweis+'+"></td></tr>");');
  else if (stufe == 0)
  {
   eval(Dokument+'.write("<tr><td class=\\"Inhalt2\\" colspan=2><b>"+"'+Text+'"+"</b></td></tr>");');
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/glas.gif\\" width="+'+b+'+" height="+'+verweis+'+"></td></tr>");');
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/grey.gif\\" width="+'+b+'+" height=1></td></tr>");');
  }
  else if (stufe == 1)
  {
   eval(Dokument+'.write("<tr valign=top>");');
   eval(Dokument+'.write("<td><a href=\\""+"'+verweis+'"+"\\" onMouseOver=\\"pic.change(\'InhaltDiv\',\'bildjs3_"+"'+Text+'"+"\',\'plror\')\\" onMouseOut=\\"pic.change(\'InhaltDiv\',\'bildjs3_"+"'+Text+'"+"\',\'plrrt\')\\"><img src=\\""+root+"layout/pfeilr.gif\\" width=14 height=11 border=0 name=\\"bildjs3_"+"'+Text+'"+"\\"></a></td>");');
   eval(Dokument+'.write("<td><a class=\\"Inhalt2\\" href=\\""+"'+verweis+'"+"\\" onMouseOver=\\"pic.change(\'InhaltDiv\',\'bildjs3_"+"'+Text+'"+"\',\'plror\')\\" onMouseOut=\\"pic.change(\'InhaltDiv\',\'bildjs3_"+"'+Text+'"+"\',\'plrrt\')\\">"+"'+Text+'"+"</a></td>");');
   eval(Dokument+'.write("</tr>");');
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/grey.gif\\" width="+'+b+'+" height=1></td></tr>");');
  }
 }
 eval(Dokument+'.write("</table>");');
}
}

function M4_show(lname,b)
{
if (is.min)
{
 var Dokument = (document.layers)? "document.layers[lname].document.InhaltDiv.document" : "document";
 eval(Dokument+'.write("<table width="+'+b+'+" border=0 cellspacing=0 cellpadding=0>");');
 eval(Dokument+'.write("<tr><td><img src=\\""+root+"layout/glas.gif\\" width=14 height=1></td><td><img src=\\""+root+"layout/glas.gif\\" width="+'+b+'+"-14 height=1></td></tr>");');
 eval(Dokument+'.write("<tr><td><img src=\\""+root+"layout/glas.gif\\" width=14 height=1></td><td><img src=\\""+root+"layout/glas.gif\\" width="+'+b+'+"-14 height=1></td></tr>");');
 for (var Text in this.p)
 {
  var stufe=this.p[Text]['RangBild'];
  var verweis=this.p[Text]['Verweis'];

  if (stufe < -1)
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/grey.gif\\" width="+'+b+'+" height=1></td></tr>");');
  else if (stufe == -1)
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/glas.gif\\" width="+'+b+'+" height="+'+verweis+'+"></td></tr>");');
  else if (stufe == 0)
  {
   eval(Dokument+'.write("<tr><td class=\\"Inhalt2\\" colspan=2><b>"+"'+Text+'"+"</b></td></tr>");');
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/glas.gif\\" width="+'+b+'+" height="+'+verweis+'+"></td></tr>");');
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/grey.gif\\" width="+'+b+'+" height=1></td></tr>");');
  }
  else if (stufe == 1)
  {
   eval(Dokument+'.write("<tr valign=top>");');
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/grey.gif\\" width="+'+b+'+" height=1></td></tr>");');
   eval(Dokument+'.write("<td><a href=\\""+"'+verweis+'"+"\\" onMouseOver=\\"pic.change(\'InhaltDiv\',\'bildjs3_"+"'+Text+'"+"\',\'plror\')\\" onMouseOut=\\"pic.change(\'InhaltDiv\',\'bildjs3_"+"'+Text+'"+"\',\'plrrt\')\\"><img src=\\""+root+"layout/pfeilb.gif\\" width=14 height=11 border=0 name=\\"bildjs3_"+"'+Text+'"+"\\"></a></td>");');
   eval(Dokument+'.write("<td><b><a class=\\"Inhalt2\\" href=\\""+"'+verweis+'"+"\\" onMouseOver=\\"pic.change(\'InhaltDiv\',\'bildjs3_"+"'+Text+'"+"\',\'pluor\')\\" onMouseOut=\\"pic.change(\'InhaltDiv\',\'bildjs3_"+"'+Text+'"+"\',\'plurt\')\\">"+"'+Text+'"+"</a></b></td>");');
   eval(Dokument+'.write("</tr>");');
   }
 }

 eval(Dokument+'.write("</table>");');
}
}

function M5_show(lname,b)
{
if (is.min)
{
 var Dokument = (document.layers)? "document.layers[lname].document.InhaltDiv.document" : "document";
 eval(Dokument+'.write("<table width="+'+b+'+" border=0 cellspacing=0 cellpadding=0>");');
 eval(Dokument+'.write("<tr><td><img src=\\""+root+"layout/glas.gif\\" width=14 height=1></td><td><img src=\\""+root+"layout/glas.gif\\" width="+'+b+'+"-14 height=1></td></tr>");');
 for (var Text in this.p)
 {
  var stufe=this.p[Text]['RangBild'];
  var verweis=this.p[Text]['Verweis'];

  if (stufe < -1)
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/grey.gif\\" width="+'+b+'+" height=1></td></tr>");');
  else if (stufe == -1)
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/glas.gif\\" width="+'+b+'+" height="+'+verweis+'+"></td></tr>");');
  else if (stufe == 0)
  {
   eval(Dokument+'.write("<tr><td class=\\"Inhalt2\\" colspan=2><b>"+"'+Text+'"+"</b></td></tr>");');
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/glas.gif\\" width="+'+b+'+" height="+'+verweis+'+"></td></tr>");');
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/grey.gif\\" width="+'+b+'+" height=1></td></tr>");');
  }
  else if (stufe == 1)
  {
   eval(Dokument+'.write("<tr valign=top>");');
   eval(Dokument+'.write("<tr><td colspan=2><img src=\\""+root+"layout/grey.gif\\" width="+'+b+'+" height=1></td></tr>");');
   eval(Dokument+'.write("<td><a href=\\""+"'+verweis+'"+"\\" onMouseOver=\\"pic.change(\'InhaltDiv\',\'bildjs3_"+"'+Text+'"+"\',\'plror\')\\" onMouseOut=\\"pic.change(\'InhaltDiv\',\'bildjs3_"+"'+Text+'"+"\',\'plrrt\')\\"><img src=\\""+root+"layout/pfeilr.gif\\" width=14 height=11 border=0 name=\\"bildjs3_"+"'+Text+'"+"\\"></a></td>");');
   eval(Dokument+'.write("<td><b><a class=\\"Inhalt2\\" href=\\""+"'+verweis+'"+"\\" onMouseOver=\\"pic.change(\'InhaltDiv\',\'bildjs3_"+"'+Text+'"+"\',\'plror\')\\" onMouseOut=\\"pic.change(\'InhaltDiv\',\'bildjs3_"+"'+Text+'"+"\',\'plrrt\')\\">"+"'+Text+'"+"</a></b></td>");');
   eval(Dokument+'.write("</tr>");');
    }
 }
 eval(Dokument+'.write("</table>");');
}
}

function Kopf_show(x,y,b)
{
 createLayer('KopfZeileDiv',null,x,y,b,null,null,null,null,null);
 KopfZeile = new DynLayer('KopfZeileDiv');
 var s="<table border=0 cellspacing=0 cellpadding=0><tr valign=top>";
 s+="<td><img src=\""+pic.b['fhg']+"\" alt=\"Fraunhofer "+(this.fhg).toUpperCase()+"\" width=68 height=51></td>";
 s+="<td><img src=\""+pic.b[this.fhg]+"\" alt=\"Fraunhofer "+(this.fhg).toUpperCase()+"\" height=75></td>";
 s+="</tr></table>\n";
 KopfZeile.write(s);
}

function Fuss_show(x,y,b)
{
 if (is.ie) y = document.body.clientHeight - y;
 if (is.ns) y = window.innerHeight - y;
 createLayer('FussZeileDiv',null,x,y,b,null,null,null,null,null);
 FussZeile = new DynLayer('FussZeileDiv');
 var s;
 var d = new Date();
 s="<table border=0 cellspacing=0 cellpadding=0>";
 s+="<tr valign=bottom>";
 s+="<td><hr width=172 size=1 noshade></td>";
 s+="<td><hr width=22 size=1 noshade></td>";
 s+="<td><hr width=172 size=1 noshade></td>";
 s+="<td><hr width=22 size=1 noshade></td>";
 s+="<td><hr width=172 size=1 noshade></td>";
 s+="</tr><tr valign=top>";
 s+="<td>";
 s+="<a class=\"Inhalt3\" href=\"javascript: history.back()\" onMouseOver=\"pic.change('FussZeileDiv','back','pllor')\" onMouseOut=\"pic.change('FussZeileDiv','back','pllrt')\"><img src=\""+pic.b['pllrt']+"\" width=14 height=11 border=0 alt=\"Back\" name=\"back\">Back&nbsp;&nbsp;&nbsp;</a>";
 s+="<a class=\"Inhalt3\" href=\""+root+"\" onMouseOver=\"pic.change('FussZeileDiv','home','qlor')\" onMouseOut=\"pic.change('FussZeileDiv','home','qlrt')\">Home&nbsp;<img src=\""+pic.b['qlrt']+"\" width=14 height=11 border=0 alt=\"Home\" name=\"home\"></a>";
 s+="</td><td>&nbsp;</td>";
 s+="<td class=\"Inhalt4\">&copy; ";
 s+=(d.getYear()<1000)? d.getYear()+1900 : d.getYear();
 s+=" Fraunhofer "+(this.fhg).toUpperCase()+" Dresden<br><a class=\"Inhalt3\" href=\"mailto:info@"+this.fhg+".fraunhofer.de\"><b>info@"+this.fhg+".fraunhofer.de</b></a><br><br></td>";
 s+="<td>&nbsp;</td>";
 s+="<td align=right>";
 s+="<a class=\"Inhalt3\" href=\"";
 s+= (is.ie)? location.href : "#top";
 s+="\" onMouseOver=\"pic.change('FussZeileDiv','top','ploor')\" onMouseOut=\"pic.change('FussZeileDiv','top','plort')\">Top&nbsp;<img src=\""+pic.b['plort']+"\" width=14 height=11 border=0 alt=\"Top\" name=\"top\"></a>";
 s+="</td>";
 s+="</tr></table>\n";
 FussZeile.write(s);
}

if (is.min)
{
 LinksM.prototype.show = M1_show;
 ServiceM.prototype.show = M2_show;
 SubM.prototype.show = M3_show;
 KopfZ.prototype.show = Kopf_show;
 FussZ.prototype.show = Fuss_show;
}

function Grafiken()
{
 this.b = new Array();
 this.load = Grafiken_load;
 this.change = Grafiken_change;
}

function Grafiken_load()
{
 var Grafik = new Image(); for (var Bild in this.b)
  Grafik.src = this.b[Bild];
}

function Grafiken_change(layer, RubrikName, BildName)
{
 if ((layer=="InhaltDiv")&&(is.ns))
 {
  if (document.MitteDiv) layer = "MitteDiv.document.InhaltDiv";
  else if (document.FolgeDiv) layer = "FolgeDiv.document.InhaltDiv";
 }
 if (document.images)
 {
  if (document.layers && layer!=null)
   eval('document.'+layer+'.document.images["'+RubrikName+'"].src = "'+this.b[BildName]+'"');
  else if (is.ie)
   document.images[RubrikName].src = eval("\""+this.b[BildName]+"\"");
  else
   document.getElementsByName(RubrikName)[0].src = eval("\""+this.b[BildName]+"\"");
 }
}
