

fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;


with(mainStyle=new mm_style()){
oncolor="#e6e6e6";
pagecolor="#e6e6e6";
offcolor="#3a3a3a";
pagebgcolor="transparent";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="transparent";
separatorsize="20";
padding=0;
fontsize="13px";
fontstyle="normal";
fontweight="bold";
fontfamily="trebuchet ms, arial, tahoma";
valign="middle";
itemheight=0;
rawcss="";
}


with(subStyle=new mm_style()){
itemwidth=140;
itemheight=17;
valign="middle";
onbgcolor="#3ca4b4";
oncolor="#e6e6e6";
pagecolor="#e6e6e6";
pagebgcolor="#3ca4b4";
offbgcolor="#3ca4b4";
offcolor="#3a3a3a";
bordercolor="#e6e6e6";
borderstyle="solid";
borderwidth=1;
separatorcolor="#666666";
separatorsize="0";
padding=2;
fontsize="13px";
fontstyle="normal";
fontfamily="trebuchet ms, arial, tahoma";
overfilter="Fade(duration=0.2);Alpha(opacity=80);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=122;
left=-1000;
alwaysvisible=1;
orientation="horizontal";

 
aI("text= VELKOMMEN;url=/VELKOMMEN.html;showmenu=menu38;offbgcolor=transparent;onbgcolor=transparent");

 
aI("text= OM OS;url=/OM%20OS.html;showmenu=menu45;offbgcolor=transparent;onbgcolor=transparent");

 
aI("text= BETINGELSER;url=/BETINGELSER.html;showmenu=menu41;offbgcolor=transparent;onbgcolor=transparent");

 
aI("text= KONTAKT;url=/KONTAKT.html;showmenu=menu40;offbgcolor=transparent;onbgcolor=transparent");

 
aI("text= SERVICEYDELSER;url=/OBH%20NORDICA%20YDELSER.html;showmenu=menu46;offbgcolor=transparent;onbgcolor=transparent");

 
aI("text= &#197;BNINGSTIDER;url=/ÅBNINGSTIDER.html;showmenu=menu47;offbgcolor=transparent;onbgcolor=transparent");

 
aI("text= KUNDERNE TALER;url=/KUNDERNE%20TALER.html;showmenu=menu48;offbgcolor=transparent;onbgcolor=transparent");
}


with(milonic=new menuname("menu46")){
style=subStyle;

left="offset=0";
top="offset=-5";


aI("text=FIRMAGAVER;url=/OBH%20NORDICA%20YDELSER/FIRMAGAVER.html;showmenu=menu149");

}


drawMenus();

function setLeftPosOfTopMenu() {
	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 + -18
	spos(gmobj("menu" + getMenuByName("Main Menu")),null,intLeftPos,null,null);
}

window.onload = setLeftPosOfTopMenu;
window.onresize = setLeftPosOfTopMenu;﻿

