

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="#FFFFFF";
pagecolor="#FFFFFF";
offcolor="#FFFFFF";
pagebgcolor="#929292";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="";
separatorsize="0";
padding=0;
fontsize="12px";
fontstyle="normal";
fontweight="normal";
fontfamily="century gothic";
valign="middle";
itemheight=25;
rawcss="padding-left:10px; padding-right:10px;";
}


with(subStyle=new mm_style()){
itemwidth=140;
itemheight=17;
valign="middle";
onbgcolor="#8c7438";
oncolor="#ffffff";
pagecolor="#ffffff";
offbgcolor="#8c7438";
offcolor="#ffffff";
bordercolor="#8c7438";
borderstyle="solid";
borderwidth=1;
separatorcolor="#666666";
separatorsize="0";
padding=2;
fontsize="11px";
fontstyle="normal";
fontfamily="century gothic";
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=165;
left=-1000;
alwaysvisible=1;
orientation="horizontal";


aI("text=FORSIDE;url=/FORSIDE.html;showmenu=menu1;offbgcolor=transparent;onbgcolor=#929292");


aI("text=SMYKKER;url=/SMYKKER.html;showmenu=menu40;offbgcolor=transparent;onbgcolor=#929292");


aI("text=DESIGN-SELV;url=/DESIGN-SELV.html;showmenu=menu41;offbgcolor=transparent;onbgcolor=#929292");


aI("text=BUTIKKEN;url=/BUTIKKEN.html;showmenu=menu42;offbgcolor=transparent;onbgcolor=#929292");


aI("text=BETINGELSER;url=/BETINGELSER.html;showmenu=menu37;offbgcolor=transparent;onbgcolor=#929292");
}


with(milonic=new menuname("menu40")){
style=subStyle;

left="offset=0";
top="offset=8";


aI("text=VI FORHANDLER OGS&#197;...;url=/SMYKKER/VI%20FORHANDLER%20OGSÅ....html;showmenu=menu43");

}


with(milonic=new menuname("menu41")){
style=subStyle;

left="offset=0";
top="offset=8";


aI("text=LOVEDSIGN;url=/DESIGN-SELV/LOVEDSIGN.html;showmenu=menu44");



aI("text=SPINNING RING;url=/DESIGN-SELV/SPINNING%20RING.html;showmenu=menu45");

}


with(milonic=new menuname("menu42")){
style=subStyle;

left="offset=0";
top="offset=8";


aI("text=HER LIGGER VI;url=/BUTIKKEN/HER%20LIGGER%20VI.html;showmenu=menu46");



aI("text=KONTAKT OS;url=/BUTIKKEN/KONTAKT%20OS.html;showmenu=menu34");



aI("text=MEDARBEJDERE;url=/BUTIKKEN/MEDARBEJDERE.html;showmenu=menu93");



aI("text=SE BUTIKKEN;url=/BUTIKKEN/SE%20BUTIKKEN.html;showmenu=menu100");

}


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 + 183
	spos(gmobj("menu" + getMenuByName("Main Menu")),null,intLeftPos,null,null);
}

window.onload = setLeftPosOfTopMenu;
window.onresize = setLeftPosOfTopMenu;﻿

