

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=0;
_subOffsetLeft=0;


with(mainStyle=new mm_style()){
oncolor="#ffffff";
pagecolor="#ffffff";

offcolor="#ffffff";
onbgcolor="";
pagebgcolor="";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="transparent";
separatorsize="10";
padding=0;
fontsize="12px";
fontstyle="normal";
fontweight="bold";
fontfamily="tahoma";
valign="bottom";
itemheight=25;
rawcss="padding-right: 7px; width: 129px;  height: 31px; text-align: center; border: 0px solid #000;";
}


with(subStyle=new mm_style()){
itemwidth=140;
itemheight=17;
valign="middle";
onbgcolor="transparent";
oncolor="#148bda";
pagecolor="#148bda";
offbgcolor="transparent";
offcolor="#ffffff";
bordercolor="transparent";
borderstyle="solid";
borderwidth=1;
separatorcolor="#666666";
separatorsize="0";
padding=2;
fontsize="12px";
fontstyle="normal";
fontfamily="tahoma";
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=44;
left=-1000;
alwaysvisible=1;
orientation="vertical";

aI("text=Forside;url=/page133.html;showmenu=menu133;offbgcolor=");

aI("text=Hjelp til m&#229;l;url=/page153.html;showmenu=menu153;offbgcolor=");

aI("text=Hjelp til montering;url=/page154.html;showmenu=menu154;offbgcolor=");

aI("text=Nettbutikk;url=/page130.html;showmenu=menu130;offbgcolor=");

aI("text=Restlager;url=/page155.html;showmenu=menu155;offbgcolor=");
}


with(milonic=new menuname("menu342")){
style=subStyle;
left="offset=0";
top="offset=0";


aI("text=Start;url=/page344.html;showmenu=menu344");

aI("text=Kontor;url=/page345.html;showmenu=menu345");

aI("text=Hjem;url=/page346.html;showmenu=menu346");

aI("text=Nettbutikk;url=/page347.html;showmenu=menu347");

aI("text=Service;url=/page349.html;showmenu=menu349");
}


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 + 235
	spos(gmobj("menu" + getMenuByName("Main Menu")),null,intLeftPos,null,null);
}

window.onload = setLeftPosOfTopMenu;
window.onresize = setLeftPosOfTopMenu;﻿


