_scrollAmount=5      // Used for Netscape 4 scrolling
_scrollDelay=10	     // Used for Netscape 4 scrolling

_menuCloseDelay=500  // The delay for menus to remain visible on mouse off
_menuOpenDelay=150   // The delay for opening menus on mouse over
_subOffsetTop=0;     // Sub menu offset Top position
_subOffsetLeft=0;  // Sub menu offset Left position

Goverfilter="Alpha(style=1,opacity=25,finishOpacity=100,startX=0,finishX=100,startY=100,finishY=0);Fade(duration=0.2);Shadow(color='#777777', Direction=135, Strength=5)"
Goverfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)"
Goutfilter="randomdissolve(duration=0.3)"
Goutfilter=""
Goverfilter=""

AllMargin=0

treeOffset=0;  // Used to set the offset of sub menus
singleMasterMenu=true // Informs the system to only have one menu open at a time

with(tstyle1=new mm_style()){
offcolor = "#000000";
onbgcolor = "";
oncolor = "#999999";
offbgcolor="" //±³¾°ÑÕÉ«
ondecoration="underline"
borderstyle = "solid";
subimage="http://www.holst.no/commonfiles/white_arrow.gif"
onsubimage="http://www.holst.no/commonfiles/white_arrow_down.gif"
bordercolor="black"
borderwidth=0
padding = 2
fontsize = "11px";
fontfamily = "arial, verdana, tahoma";    
subimageposition="top right" ;
separatorsize=1
separatorcolor="#ffffff";
image="http://www.holst.no/commonfiles/trans.gif"
subimagepadding=3
imagepadding=2
itemwidth=180
}


sub1Style=new copyOf(tstyle1)
sub1Style.offcolor = "#000000";
sub1Style.offbgcolor=""
sub1Style.separatorcolor="#ffffff"

sub2Style=new copyOf(tstyle1)
sub2Style.offcolor = "#000000";
sub2Style.offbgcolor=""
sub2Style.separatorcolor="#ffffff"


tstyle1.clickcolor="#666666"
tstyle1.clickbgcolor=""
tstyle1.clickimage="http://www.holst.no/commonfiles/red_blip.gif"
tstyle1.clicksubimage="http://www.holst.no/commonfiles/white_arrow_down.gif"


with(new menuname("main Tree Menu")){
top=160
left=10
style = tstyle1;
alwaysvisible = 1;
itemwidth=180
//margin=AllMargin
//position="relative"
aI("text=AHYP home;url=index.html");
aI("text=R & D;showmenu=research;type=tree;image=http://www.holst.no/commonfiles/blue_blip.gif;overimage=http://www.holst.no/commonfiles/red_blip.gif");
aI("text=consulting areas;showmenu=consulting;type=tree;image=http://www.holst.no/commonfiles/blue_blip.gif;overimage=http://www.holst.no/commonfiles/red_blip.gif;");
aI("text=publications;showmenu=publishing;type=tree;image=http://www.holst.no/commonfiles/blue_blip.gif;overimage=http://www.holst.no/commonfiles/red_blip.gif;");
}

	with(new menuname("Research")){
	style = sub1Style;
	margin=AllMargin
	aI("text=Ahlefeldt-Holst Center;url=http://www.holst.no/ahc.en/index.html");
	}

	with(new menuname("Consulting")){
	style = sub1Style;
	margin=AllMargin
	aI("text=- project management;url=project-management.html");
	aI("text=- real estate;url=real-estate.html");
	aI("text=- HR / OD;url=hr-od.html");
	aI("text=- ID and access control;url=id-access.html");
	aI("text=- DRD-proof email;url=drdpe.html");
	}

	with(new menuname("Publishing")){
	style = sub1Style;
	margin=AllMargin
	aI("text=Ingar Holst Publishing Co.;url=http://www.holst.no/ihpc.en/index.html");
}

drawMenus()

