



_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=-5              // Sub menu top offset
_subOffsetLeft=5            // Sub menu left offset

with(mainStyle=new mm_style()){
oncolor="#FFFFFD";
offcolor="#2F6581";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="#000000";
separatorsize="0";
padding=1;
fontsize="11px";
fontstyle="normal";
fontweight="normal";
fontfamily="tahoma";
pagecolor="#FFFFFD";
valign="middle";
itemheight=20;
rawcss="padding-right:15px;";
}


with(subStyle=new mm_style()){
itemwidth=140;
itemheight=17;
valign="middle";
onbgcolor="#C2CCD6";
oncolor="#000309";
offbgcolor="#ffffff";
offcolor="#000000";
bordercolor="#8B959F";
borderstyle="solid";
borderwidth=1;
separatorcolor="#666666";
separatorsize="0";
padding=2;
fontsize="11";
fontstyle="normal";
fontfamily="tahoma";
pagecolor="#000309";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
rawcss="padding-left:2px;";
}




with(milonic=new menuname("Main Menu")){
style=mainStyle;
top=147;
left=-1000;
alwaysvisible=1;
orientation="horizontal";

aI("text=Velkommen;url=/1-44-velkommen.html;showmenu=menu44");

aI("text=Bestilling/Levering;url=/1-54-handelsbetingelser.html;showmenu=menu54");

aI("text=Nyhedsbrev;url=/1-55-nyhedsbrev.html;showmenu=menu55");

aI("text=Ledige jobs;url=/1-160-ledige-jobs.html;showmenu=menu160");

aI("text=Ris/ros;url=/1-161-ris_ros.html;showmenu=menu161");

aI("text=Kontakt os;url=/1-45-kontakt-os.html;showmenu=menu45");

aI("text=Kundelogin;url=/1-47-kundelogin.html;showmenu=menu47");

}





with(milonic=new menuname("menu44")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";


aI("text=Profil;url=/1-148-historie.html;showmenu=menu148");

aI("text=Medarbejdere;url=/1-149-medarbejdere.html;showmenu=menu149");


}









with(milonic=new menuname("menu148")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu149")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";


aI("text=Ledelse;url=/1-150-ledelse.html;showmenu=menu150");

aI("text=Kontor;url=/1-151-kontor.html;showmenu=menu151");

aI("text=Salg;url=/1-159-salg.html;showmenu=menu159");


}


with(milonic=new menuname("menu54")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";



}









with(milonic=new menuname("menu55")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";


aI("text=Nyhedsbrev August 2010;url=/1-203-nyhedsbrev-august-2010.html;showmenu=menu203");

aI("text=Nyhedsbrev Juli 2010;url=/1-201-nyhedsbrev-juli-2010.html;showmenu=menu201");

aI("text=Nyhedsbrev Juni 2010;url=/1-202-nyhedsbrev-juni-2010.html;showmenu=menu202");


}









with(milonic=new menuname("menu203")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu201")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu202")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu160")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";



}









with(milonic=new menuname("menu161")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";



}









with(milonic=new menuname("menu45")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";



}









with(milonic=new menuname("menu47")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";



}










drawMenus();

function setLeftPosOfMainMenu() {
	var ie4_check = (document.all && !document.getElementById) ? 	true : false;
	var ie5_check = (document.all && document.getElementById) ? 	true : false;
	if (ie4_check || ie5_check) {
		width = document.body.clientWidth;
		} 
	else {
		width = window.innerWidth;
	}
	intLeftPos = width/2-450
	intLeftPos = intLeftPos + 253
	spos(gmobj("menu" + getMenuByName("Main Menu")),null,intLeftPos,null,null);
}

onload = setLeftPosOfMainMenu;
onresize = setLeftPosOfMainMenu;