



_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="#113F56";
offcolor="#6F8EA0";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="#000000";
separatorsize="0";
padding=1;
fontsize="11px";
fontstyle="normal";
fontweight="bold";
fontfamily="tahoma";
pagecolor="#113F56";
valign="middle";
itemheight=20;
rawcss="padding-right:15px;";
}


with(subStyle=new mm_style()){
itemwidth=140;
itemheight=17;
valign="middle";
onbgcolor="#A4B8C3";
oncolor="#FFFEFF";
offbgcolor="#E6EEF1";
offcolor="#114155";
bordercolor="#AFAFAF";
borderstyle="solid";
borderwidth=1;
separatorcolor="#666666";
separatorsize="0";
padding=2;
fontsize="11";
fontstyle="normal";
fontfamily="tahoma";
pagecolor="#114155";
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=131;
left=-1000;
alwaysvisible=1;
orientation="horizontal";

aI("text=Start;url=/1-42-start.html;showmenu=menu42");

aI("text=Søg Beretta installatør;url=;showmenu=menu44");

aI("text=Installatør-sider;url=;showmenu=menu46");

aI("text=Kontakt os;url=;showmenu=menu47");

}





with(milonic=new menuname("menu42")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";



}









with(milonic=new menuname("menu44")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";


aI("text=Find installatør;url=/1-81-find-installatoer.html;showmenu=menu81");


}









with(milonic=new menuname("menu81")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu46")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";


aI("text=Aftræk mm;url=/1-55-aftraek-mm.html;showmenu=menu55");

aI("text=Kaskade;url=/1-56-kaskade.html;showmenu=menu56");

aI("text=Manualer;url=/1-59-manualer.html;showmenu=menu59");

aI("text=Aftrækssystemer;url=/1-88-aftraekssystemer.html;showmenu=menu88");

aI("text=Splittegninger;url=/1-95-splittegninger.html;showmenu=menu95");

aI("text=Legoland 2009;url=/1-96-legoland-2009.html;showmenu=menu96");

aI("text=Fabriksbesøg Italien 2009;url=/1-99-fabriksbesoeg-italien-2009.html;showmenu=menu99");

aI("text=Prisliste 2010;url=/1-101-prisliste-2010.html;showmenu=menu101");


}









with(milonic=new menuname("menu55")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu56")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu59")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu88")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu95")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu96")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu99")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu101")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu47")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";


aI("text=Formular;url=/1-63-formular.html;showmenu=menu63");


}









with(milonic=new menuname("menu63")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}



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 + 198
	spos(gmobj("menu" + getMenuByName("Main Menu")),null,intLeftPos,null,null);
}

onload = setLeftPosOfMainMenu;
onresize = setLeftPosOfMainMenu;