/***********************************************
* MODIFIED
* Pop-it menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var defaultMenuWidth="150px"

var untermenu=new Array()

untermenu[0]='<TABLE BGCOLOR="#000000" CELLSPACING="0" CELLPADDING="0" BORDER="0"><TR><TD>'
untermenu[0]+='<TABLE WIDTH="150px" BGCOLOR="#000000" CELLSPACING="1" CELLPADDING="0" BORDER="0">'
untermenu[0]+='<TR BGCOLOR="#ffffff"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/about/">&nbsp;&Uuml;ber&nbsp;uns&nbsp;/&nbsp;Kontakt&nbsp;</A></TD></TR>'
untermenu[0]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/about/history/">&nbsp;Geschichte&nbsp;</A></TD></TR>'
untermenu[0]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/about/25years/">&nbsp;25&nbsp;Jahre&nbsp;</A></TD></TR>'
untermenu[0]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/about/profile/">&nbsp;Unternehmensprofil&nbsp;</A></TD></TR>'
untermenu[0]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/about/contact/">&nbsp;Kontakt&nbsp;</A></TD></TR>'
untermenu[0]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/about/impressum/">&nbsp;Impressum&nbsp;</A></TD></TR>'
untermenu[0]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/about/agents/">&nbsp;Unsere&nbsp;Vertreter&nbsp;</A></TD></TR>'
untermenu[0]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/about/coop/">&nbsp;Beteiligungen&nbsp;</A></TD></TR>'
untermenu[0]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/about/map/">&nbsp;Anfahrtskizze&nbsp;</A></TD></TR>'
untermenu[0]+='</TABLE></TD></TR></TABLE>'

untermenu[1]='<TABLE BGCOLOR="#000000" CELLSPACING="0" CELLPADDING="0" BORDER="0"><TR><TD>'
untermenu[1]+='<TABLE WIDTH="150px" BGCOLOR="#000000" CELLSPACING="1" CELLPADDING="0" BORDER="0">'
untermenu[1]+='<TR BGCOLOR="#ffffff"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/products/">&nbsp;Produktindex&nbsp;/&nbsp;Spezifikationen&nbsp;</A></TD></TR>'
untermenu[1]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/products/pharma/">&nbsp;Synthetische&nbsp;Substanzen&nbsp;</A></TD></TR>'
untermenu[1]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/products/biopharma/">&nbsp;Biochemische&nbsp;Substanzen&nbsp;</A></TD></TR>'
untermenu[1]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/products/bloodfraction/">&nbsp;Tierblutfraktionen&nbsp;</A></TD></TR>'
untermenu[1]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/products/uk/">&nbsp;Kraeber&nbsp;(UK)&nbsp;Ltd.&nbsp;</A></TD></TR>'
untermenu[1]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/products/seagarden/">&nbsp;Marine&nbsp;Proteine&nbsp;(Futtermittel)&nbsp;</A></TD></TR>'
untermenu[1]+='<TR BGCOLOR="#f0f0f0"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/products/protein/">&nbsp;Marine&nbsp;Proteine&nbsp;(Lebensmittel)&nbsp;</A></TD></TR>'
untermenu[1]+='</TABLE></TD></TR></TABLE>'

untermenu[2]='<TABLE BGCOLOR="#000000" CELLSPACING="0" CELLPADDING="0" BORDER="0"><TR><TD>'
untermenu[2]+='<TABLE WIDTH="150px" BGCOLOR="#000000" CELLSPACING="1" CELLPADDING="0" BORDER="0">'
untermenu[2]+='<TR BGCOLOR="#ffffff"><TD CLASS="menu" WIDTH="100%" HEIGHT="19"><A CLASS="menu" HREF="/manufacture/">&nbsp;Lohnherstellung&nbsp;</A></TD></TR>'
untermenu[2]+='</TABLE></TD></TR></TABLE>'

var ie5=document.all && !window.opera
var ns6=document.getElementById

if (ie5||ns6)
	document.write('<div id="jmenu" onMouseover="clearhidemenu();" onMouseout="dynamichide(event)"></div>')

function iecompattest(){
	return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}

function showmenu(e, untermenu, optTop){
	if (!document.all&&!document.getElementById)
	return
	clearhidemenu()
	menuobj=ie5? document.all.jmenu : document.getElementById("jmenu")
	menuobj.innerHTML=untermenu
	menuobj.style.width=(typeof optWidth!="undefined")? optWidth : defaultMenuWidth
	menuobj.style.top=(typeof optTop!="undefined")? optTop : defaultMenuTop
	menuobj.contentwidth=menuobj.offsetWidth
	menuobj.contentheight=menuobj.offsetHeight
	menuobj.style.visibility="visible"
	return false
}

function contains_ns6(a, b) {
	//Determines if 1 element in contained in another- by Brainjar.com
	while (b.parentNode)
	if ((b = b.parentNode) == a)
	return true;
	return false;
}

function hidemenu(){
	if (window.menuobj)
		menuobj.style.visibility="hidden"
}

function dynamichide(e){
	if (ie5&&!menuobj.contains(e.toElement))
		hidemenu()
	else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
		hidemenu()
}

function delayhidemenu(){
	delayhide=setTimeout("hidemenu()",500)
}

function clearhidemenu(){
	if (window.delayhide)
	clearTimeout(delayhide)
}

if (ie5||ns6)
	document.onclick=hidemenu
