// JavaScript Document


// mouseover in der horizontalen Navigation
var highalt = ''
function wxlBgCol(id,farbe,art) {

   if(art == 'click') {
     if(highalt != '') {
       ersetze(highalt,'#00746B')
     }
     highalt = id
   }
   if(art != 'mouseout' || (art == 'mouseout' && id != highalt)) {
     ersetze(id,farbe)
   }
}

function ersetze(id,farbe) {
   if (document.all)
      document.all[id].style.backgroundColor=farbe;
   else
      if (document.getElementById)
         document.getElementById(id).style.backgroundColor=farbe;
      else
         if (document.layers)
            document.layers[id].bgColor=farbe;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

