function EmbedFlash(name, src, width, height, bgcolor)
{
   if (AC_FL_RunContent == 0) {
      alert("Diese Seite erfordert die Datei \"AC_RunActiveContent.js\". Führen Sie in Flash im Menü \"Befehle\" den Befehl \"Aktualisierung für aktiven Inhalt anwenden\" aus, um \"AC_RunActiveContent.js\" in den HTML-Ausgabeordner zu kopieren.");
   } else {
      AC_FL_RunContent(
         'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
         'width', width,
         'height', height,
         'src', src,
         'quality', 'high',
         'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
         'align', 'left',
         'play', 'true',
         'loop', 'true',
         'scale', 'showall',
         'wmode', 'window',
         'devicefont', 'false',
         'id', name,
         'bgcolor', bgcolor,
         'name', name,
         'menu', 'true',
         'allowScriptAccess','sameDomain',
         'movie', src,
         'salign', ''
         );
   }
}

function mouseoversub(i)
{
   var src = document.getElementById("sub"+i).src.replace(/_1/, "_2");
   document.getElementById("sub"+i).src = src;
   return true;
}

function mouseoutsub(i)
{
   var src = document.getElementById("sub"+i).src.replace(/_2/, "_1");
   document.getElementById("sub"+i).src = src;
   return true;
}

function changeMenu(startMenu,endMenu)
{
  if (document.all)
  {
    for (i=0;i<document.all.length;i++)
    {
      if (document.all[i].className==startMenu)
      {
      document.all[i].className=endMenu;
      }
    }
  }

  if (document.getElementById && !document.all)
  {
    var elemente=document.getElementsByTagName("*");
    for (i=0;i<elemente.length;i++)
    {
      if (elemente[i].className==startMenu)
      {
      elemente[i].className=endMenu;
      }
    }
  }
}

var aySound = new Array();
// Below: source for sound files to be preloaded
aySound[0] = "stuff/rolloverSound.wav";

// DO NOT edit below this line
document.write('<BGSOUND ID="auIEContainer">')
IE = (navigator.appVersion.indexOf("MSIE")!=-1 && document.all)? 1:0;
NS = (navigator.appName=="Netscape" && navigator.plugins["LiveAudio"])? 1:0;
ver4 = IE||NS? 1:0;
onload=auPreload;

function auPreload() {
if (!ver4) return;
if (NS) auEmb = new Layer(0,window);
else {
Str = "<DIV ID='auEmb' STYLE='position:absolute;'></DIV>";
document.body.insertAdjacentHTML("BeforeEnd",Str);
}
var Str = '';
for (i=0;i<aySound.length;i++)
Str += "<EMBED SRC='"+aySound[i]+"' AUTOSTART='FALSE' HIDDEN='TRUE'>"
if (IE) auEmb.innerHTML = Str;
else {
auEmb.document.open();
auEmb.document.write(Str);
auEmb.document.close();
}
auCon = IE? document.all.auIEContainer:auEmb;
auCon.control = auCtrl;
}
function auCtrl(whSound,play) {
if (IE) this.src = play? aySound[whSound]:'';
else eval("this.document.embeds[whSound]." + (play? "play()":"stop()"))
}
function playSound(whSound) { if (window.auCon) auCon.control(whSound,true); }
function stopSound(whSound) { if (window.auCon) auCon.control(whSound,false); }
    