



_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="#8B0002";
offcolor="#282A1D";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="#000000";
separatorsize="0";
padding=1;
fontsize="10px";
fontstyle="normal";
fontweight="bold";
fontfamily="tahoma";
pagecolor="#8B0002";
valign="middle";
itemheight=20;
rawcss="padding-right:15px;";
}


with(subStyle=new mm_style()){
itemwidth=140;
itemheight=17;
valign="middle";
onbgcolor="#DADADA";
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=150;
left=-1000;
alwaysvisible=1;
orientation="horizontal";

aI("text=VELKOMMEN;url=/1/2/velkomst.html;showmenu=menu2");

aI("text=MEDARBEJDERNE;url=/1/10/medarbejderne.html;showmenu=menu10");

aI("text=REVISORPOSTEN;url=/1/11/revisorposten.html;showmenu=menu11");

aI("text=NYHEDSBREV;url=/1/12/nyhedsbrev.html;showmenu=menu12");

aI("text=LEDIGE JOBS;url=/1/13/ledige-jobs.html;showmenu=menu13");

aI("text=LINKS;url=/1/14/links.html;showmenu=menu14");

aI("text=KONTAKT OS;url=/1/15/kontakt-os.html;showmenu=menu15");

}





with(milonic=new menuname("menu2")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}









with(milonic=new menuname("menu10")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}









with(milonic=new menuname("menu11")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}









with(milonic=new menuname("menu12")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}









with(milonic=new menuname("menu13")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}









with(milonic=new menuname("menu14")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}









with(milonic=new menuname("menu15")){
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 + 157
	spos(gmobj("menu" + getMenuByName("Main Menu")),null,intLeftPos,null,null);
}

onload = setLeftPosOfMainMenu;
onresize = setLeftPosOfMainMenu;