



_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="#8B0100";
offcolor="#454E5D";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="#000000";
separatorsize="0";
padding=1;
fontsize="11";
fontstyle="normal";
fontweight="normal";
fontfamily="tahoma";
pagecolor="#8B0100";
valign="middle";
itemheight=20;
rawcss="padding-right:15px;";
}


with(subStyle=new mm_style()){
itemwidth=140;
itemheight=17;
valign="middle";
onbgcolor="#E2E9EF";
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=149;
left=-1000;
alwaysvisible=1;
orientation="horizontal";

aI("text=Velkommen;url=/1/10/psykolog.html;showmenu=menu10");

aI("text=Artikler;url=/1/35/artikler.html;showmenu=menu35");

aI("text=Nyheder;url=/1/24/nyheder.html;showmenu=menu24");

aI("text=Kontakt os;url=/1/14/kontakt-os.html;showmenu=menu14");

aI("text=Medarbejdere;url=/1/25/medarbejdere.html;showmenu=menu25");

aI("text=Nyhedsbrev;url=/1/11/nyhedsbrev.html;showmenu=menu11");

aI("text=Netværkspartnere;url=/1/48/netvaerkspartnere.html;showmenu=menu48");

}





with(milonic=new menuname("menu10")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}









with(milonic=new menuname("menu35")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}









with(milonic=new menuname("menu24")){
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("menu25")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";


aI("text=Axel Lumholt;url=/1/26/psykolog-axel-lumholt.html;showmenu=menu26");

aI("text=Kirsten Lumholt;url=/1/27/kirsten-lumholt.html;showmenu=menu27");

aI("text=Johannes Lumholt;url=/1/54/johannes-lumholt.html;showmenu=menu54");

aI("text=Thomas Lumholt;url=/1/57/thomas-lumholt.html;showmenu=menu57");


}









with(milonic=new menuname("menu26")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu27")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu54")){
style=subStyle;
overflow="scroll";
left="offset=0";
top="offset=5";



}


with(milonic=new menuname("menu57")){
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("menu48")){
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 + 170
	spos(gmobj("menu" + getMenuByName("Main Menu")),null,intLeftPos,null,null);
}

onload = setLeftPosOfMainMenu;
onresize = setLeftPosOfMainMenu;