



_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="#B90D0D";
offcolor="#2F2C27";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="#000000";
separatorsize="0";
padding=1;
fontsize="11px";
fontstyle="normal";
fontweight="normal";
fontfamily="tahoma";
pagecolor="#B90D0D";
valign="middle";
itemheight=20;
rawcss="padding-right:15px;";
}


with(subStyle=new mm_style()){
itemwidth=140;
itemheight=17;
valign="middle";
onbgcolor="#F5EFD9";
oncolor="#000309";
offbgcolor="#ffffff";
offcolor="#000000";
bordercolor="#AFAFAF";
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=139;
left=-1000;
alwaysvisible=1;
orientation="horizontal";

aI("text=VELKOMMEN;url=/1/12/velkommen.html;showmenu=menu12");

aI("text=FIND BEHANDLER;url=/1/44/find-behandler.html;showmenu=menu44");

aI("text=OPSLAGSTAVLE;url=/1/22/opslagstavle.html;showmenu=menu22");

aI("text=AFSTEMNING;url=/1/23/afstemning.html;showmenu=menu23");

aI("text=KONTAKT OS;url=/1/21/kontakt-os.html;showmenu=menu21");

aI("text=BESTYRELSES LOGIN;url=/1/34/bestyrelseslogin.html;showmenu=menu34");

}





with(milonic=new menuname("menu12")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}









with(milonic=new menuname("menu44")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}









with(milonic=new menuname("menu22")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}









with(milonic=new menuname("menu23")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}









with(milonic=new menuname("menu21")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}









with(milonic=new menuname("menu34")){
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-380
	intLeftPos = intLeftPos + 177
	spos(gmobj("menu" + getMenuByName("Main Menu")),null,intLeftPos,null,null);
}

onload = setLeftPosOfMainMenu;
onresize = setLeftPosOfMainMenu;