/*****************************************************************************
Default browsercheck - Leave this one
******************************************************************************/
function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion; this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}

var bw=new lib_bwcheck() //Making browsercheck object

var mDebugging=0 

oCMenu=new makeCoolMenu("oCMenu") 
oCMenu.useframes=0 
oCMenu.frame="frmMain"
oCMenu.useNS4links=0 
oCMenu.checkselect=0
oCMenu.offlineUrl=""
oCMenu.onlineUrl="http://www.modular-engineering.com"


oCMenu.pagecheck=1
oCMenu.checkscroll=0
oCMenu.resizecheck=1 
oCMenu.wait=500 

oCMenu.usebar=0 
oCMenu.barcolor="#336666" 
oCMenu.barwidth="100%" 
oCMenu.barheight="menu" 
oCMenu.barx=0 
oCMenu.bary="menu"
oCMenu.barinheritborder=0 

oCMenu.rows=1
oCMenu.fromleft=300 
oCMenu.fromtop=10 
oCMenu.pxbetween=5

oCMenu.menuplacement=new Array(280,380,480,580,680)

oCMenu.level[0]=new Array() 
oCMenu.level[0].width=88 
oCMenu.level[0].height=65 
oCMenu.level[0].bgcoloroff="#336666"
oCMenu.level[0].bgcoloron="#336666" 
oCMenu.level[0].textcolor="#000000"
oCMenu.level[0].hovercolor="#4A79A5" 
oCMenu.level[0].style="padding:0px; font-family:arial,helvetica; font-size:12px; font-weight:bold"
oCMenu.level[0].border=1 
oCMenu.level[0].bordercolor="#336699" 
oCMenu.level[0].offsetX=0 
oCMenu.level[0].offsetY=-1 
oCMenu.level[0].NS4font="arial,helvetica"
oCMenu.level[0].NS4fontSize="2"
oCMenu.level[0].NS4fontColor="#FDBA50"
oCMenu.level[0].align="bottom" 

oCMenu.level[1]=new Array() 
oCMenu.level[1].width=88
oCMenu.level[1].height=20
oCMenu.level[1].bgcoloroff="#336666"
oCMenu.level[1].bgcoloron="#000000"
oCMenu.level[1].textcolor="#FFFFFF"
oCMenu.level[1].hovercolor="#4A79A5"
oCMenu.level[1].style="padding:2px; font-family:arial,helvetica; font-size:11px;"
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=1 
oCMenu.level[1].bordercolor="#f3f3f3"
oCMenu.level[1].NS4font="arial,helvetica"
oCMenu.level[1].NS4fontSize="1"
oCMenu.level[1].NS4fontColor="#000000"

oCMenu.level[2]=new Array() 
oCMenu.level[2].width=88
oCMenu.level[2].height=20 
oCMenu.level[2].bgcoloroff="#336666"
oCMenu.level[2].bgcoloron="#000000" 
oCMenu.level[2].textcolor="#FFFFFF"
oCMenu.level[2].hovercolor="#4A79A5" 
oCMenu.level[2].style="padding:2px; font-family:arial,helvetica; font-size:11px;"
oCMenu.level[2].border=1 
oCMenu.level[2].bordercolor="#f3f3f3" 
oCMenu.level[2].offsetX=0 
oCMenu.level[2].offsetY=-1 
oCMenu.level[2].NS4font="arial,helvetica"
oCMenu.level[2].NS4fontSize="1"
oCMenu.level[2].NS4fontColor="#FDBA50"
oCMenu.level[2].align="bottom" 

oCMenu.makeMenu('top0','','&nbsp;Home','/index_heb.html','','','','/data/deutsch/home.gif')
	
oCMenu.makeMenu('top1','','&nbsp;Angebot','','','','','/data/deutsch/angebot.gif')
oCMenu.makeMenu('sub10','top1','Mobilfunk','','')
oCMenu.makeMenu('sub11','top1','Stahlhochbau','/deutsch/angebot/stahl/')
oCMenu.makeMenu('sub12','top1','Rohrleitungsbau','/deutsch/angebot/rohr/')
oCMenu.makeMenu('sub13','top1','Visualisierung','/deutsch/angebot/visual/')

oCMenu.makeMenu('sub101','sub10','Know How','/deutsch/angebot/mobil/')
oCMenu.makeMenu('sub102','sub10','Leistungen','/deutsch/angebot/mobil/leistungen.html')
oCMenu.makeMenu('sub103','sub10','Beispiele','/deutsch/angebot/mobil/beispiele.html')
oCMenu.makeMenu('sub104','sub10','ABC','','','','','','','','','','','javascript:IMWINDOW()')
oCMenu.makeMenu('sub105','sub10','Links','','','','','','','','','','','javascript:LIWINDOW()')


oCMenu.makeMenu('top2','','&nbsp;intern','','','','','/data/deutsch/intern.gif')

oCMenu.makeMenu('sub20','top2','Mitarbeiter','/deutsch/intern/')
oCMenu.makeMenu('sub21','top2','Anfahrt','/deutsch/intern/standort/hilden.html')
oCMenu.makeMenu('sub22','top2','-----------------------','')
oCMenu.makeMenu('sub23','top2','Prospekt','','','','','','','','','','','javascript:PIWINDOW()')
oCMenu.makeMenu('sub24','top2','Kundenbereich','','','','','','','','','','','javascript:FIWINDOW()')
oCMenu.makeMenu('sub25','top2','Terminkalender','/calender/')
oCMenu.makeMenu('top3','','&nbsp;Kontakt','/deutsch/kontakt/','','','','/data/deutsch/kontakt.gif')

oCMenu.makeMenu('top4','','&nbsp;Referenzen','','','','','/data/deutsch/referenzen.gif')

oCMenu.makeMenu('sbu40','top4','Pfleiderer','/deutsch/referenzen/pfleiderer.html')
oCMenu.makeMenu('sbu41','top4','ABB','/deutsch/referenzen/abb.html')
oCMenu.makeMenu('sbu42','top4','Alstom','/deutsch/referenzen/alstom.html')
oCMenu.makeMenu('sbu43','top4','Thomcast','/deutsch/referenzen/thomcast.html')
oCMenu.makeMenu('sbu44','top4','Ga-Com','/deutsch/referenzen/ga-com.html')
oCMenu.makeMenu('sbu45','top4','Weitere','/deutsch/referenzen/weitere.html')

oCMenu.makeStyle(); oCMenu.construct();

	
/*
Variables for each menu item: (** means that they have to be spesified!)
name: The name of the item. This must be unique for each item. Do not use spaces or strange charachters in this one! **
parent: The name of the menuitem you want this to "connect" to. This will be a submenu of the item that have the name you place in here. ** for all other then the topitems
text: The text you want in the item. ** (except if you use images) 
link: The page you want this item to link to.
target: The target window or frame you want the link to go to (Default is same window if you're not using frames, and the mainframe if you're using frames)
width: The width of the element. If not spesified it will get the default width spesified above.
height: The height of the element. If not spesified it will get the default height spesified above.
img1: The "off" image for element if you want to use images.
img2: The image that appears onmouseover if using images.
bgcoloroff: The background color for this item. If not spesified it will get the default background color spesified above.
bgcoloron: The "on" background color for this item. If not spesified it will get the default "on" background color spesified above.
textcolor: The text color for this item. If not spesified it will get the default text color spesified above.
hovercolor: The "on" text color for this item. If not spesified it will get the default "on" text color spesified above. Netscape4 ignores this
onclick: If you want something to happen when the element is clicked (different from going to a link) spesifiy it here.
onmouseover: This will happen when you mouseover the element. Could be status text, another imageswap or whatever.
onmouseout: This will happen when you mouseout the element.

Remember you can have as many levels/sublevels as you want. Just make sure you spesify the correct "parent" for each item.
To set styles for each level see above.
*/