



_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="#515151";
offcolor="#939393";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="#000000";
separatorsize="0";
padding=1;
fontsize="11px";
fontstyle="normal";
fontweight="bold";
fontfamily="tahoma";
pagecolor="#515151";
valign="middle";
itemheight=20;
rawcss="padding-right:15px;";
}


with(subStyle=new mm_style()){
itemwidth=140;
itemheight=17;
valign="middle";
onbgcolor="#DEDCDC";
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=156;
left=-1000;
alwaysvisible=1;
orientation="horizontal";

aI("text=Kommune;url=/1-50-kommune.html;showmenu=menu50");

aI("text=Landbrug;url=/1-68-landbrug.html;showmenu=menu68");

aI("text=Rådgiver;url=/1-69-raadgiver.html;showmenu=menu69");

aI("text=Ledningsejer;url=/1-70-ledningsejer.html;showmenu=menu70");

aI("text=Entreprenør;url=/1-71-entreprenoer.html;showmenu=menu71");

aI("text=Grundejer;url=/1-72-grundejer.html;showmenu=menu72");

}





with(milonic=new menuname("menu50")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";



}









with(milonic=new menuname("menu68")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";



}









with(milonic=new menuname("menu69")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";



}









with(milonic=new menuname("menu70")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";



}









with(milonic=new menuname("menu71")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";



}









with(milonic=new menuname("menu72")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=7";



}










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 + 259
	spos(gmobj("menu" + getMenuByName("Main Menu")),null,intLeftPos,null,null);
}

onload = setLeftPosOfMainMenu;
onresize = setLeftPosOfMainMenu;