
/*
Tabs Menu (mouseover)- By Dynamic Drive
For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
This credit MUST stay intact for use
*/

var submenu=new Array()

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.
 
submenu[0]=' '
submenu[1]='<img src="/gfx/leer.gif" width=30 height=1><a class="submenu" href="/profile_de.html"> &#160;&#160; Das Unternehmen &#160;&#160; </a> <a class="submenu" href="/profile_dvd_de.html"> &#160;&#160; DVD Produktion &#160;&#160; </a> <a class="submenu" href="/profile_post_de.html"> &#160;&#160; Postproduktion &#160;&#160; </a> <a class="submenu" href="/profile_media_de.html"> &#160;&#160; Media Design &#160;&#160; </a> <a class="submenu" href="/contact_team2_de.html"> &#160;&#160; Team &#160;&#160;  '
submenu[2]='<img src="/gfx/leer.gif" width=155 height=1><a class="submenu" href="/cgi-bin/dynamic.pl?f=reference_dvd_de.html"> &#160;&#160;&#160; DVD Produktion &#160;&#160;&#160; </a> <a class="submenu" href="/cgi-bin/dynamic.pl?f=reference_video_de.html"> &#160;&#160;&#160; Film &#160;&#160;&#160; </a> <a class="submenu" href="/cgi-bin/dynamic.pl?f=reference_audio_de.html"> &#160;&#160;&#160; Ton &#160;&#160;&#160; </a> <a class="submenu" href="/cgi-bin/dynamic.pl?f=reference_media_de.html"> &#160;&#160;&#160; Media Design &#160;&#160;&#160; </a> '
submenu[3]=' '
submenu[4]='<img src="/gfx/leer.gif" width=280 height=1><a class="submenu" href="/contact_address_de.html"> &#160;&#160;&#160; Adresse & Anfahrt &#160;&#160;&#160; </a> <a class="submenu" href="/contact_team_de.html"> &#160;&#160;&#160; Ansprechpartner &#160;&#160;&#160; </a> <a class="submenu" href="/cgi-bin/dynamic.pl?f=contact_newsletter_de.html"> &#160;&#160;&#160; Newsletter &#160;&#160;&#160; </a> '
submenu[5]=' '

//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=1000

/////No need to edit beyond here

var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""

var OldColor = new Array();
OldColor[0] = document.getElementsByName("menu1")[0].style.backgroundColor;
OldColor[1] = document.getElementsByName("menu2")[0].style.backgroundColor;
OldColor[2] = document.getElementsByName("menu3")[0].style.backgroundColor;
OldColor[3] = document.getElementsByName("menu4")[0].style.backgroundColor;
OldColor[4] = document.getElementsByName("menu5")[0].style.backgroundColor;
OldColor[5] = document.getElementsByName("menu6")[0].style.backgroundColor;


function showit(which, menuPos){

document.getElementsByName("menu1")[0].style.backgroundColor = OldColor[0];
document.getElementsByName("menu2")[0].style.backgroundColor = OldColor[1];
document.getElementsByName("menu3")[0].style.backgroundColor = OldColor[2];
document.getElementsByName("menu4")[0].style.backgroundColor = OldColor[3];
document.getElementsByName("menu5")[0].style.backgroundColor = OldColor[4];
document.getElementsByName("menu6")[0].style.backgroundColor = OldColor[5];

if (menuPos) {
	menuPos.style.backgroundColor = "#F7EBA7";
}

clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}

function resetit(e){

if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}