_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="../commonfiles/white_arrow.gif"
onsubimage="../commonfiles/white_arrow_down.gif"
bordercolor="black"
borderwidth=0
padding = 2
fontsize = "11px";
fontfamily = "helvetica";    
subimageposition="top right" ;
separatorsize=1
separatorcolor="#ffffff";
image="../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="../commonfiles/red_blip.gif"
tstyle1.clicksubimage="../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=IHF home;url=index.html");
aI("text=R & D;showmenu=Research;type=tree;image=../commonfiles/blue_blip.gif;overimage=../commonfiles/red_blip.gif");
aI("text=rådgivende tjenester;showmenu=Consulting;type=tree;image=../commonfiles/blue_blip.gif;overimage=../commonfiles/red_blip.gif;");
aI("text=publikasjoner;showmenu=Publishing;type=tree;image=../commonfiles/blue_blip.gif;overimage=../commonfiles/red_blip.gif;");
}
 			
	with(new menuname("Research")){
	style = sub1Style;
	margin=AllMargin
	aI("text=Ahlefeldt-Holst-Senteret;url=../ahc.no/index.html");
	}

	with(new menuname("Consulting")){
	style = sub1Style;
	margin=AllMargin
	aI("text=Ahlefeldt Holst<br>Young & Pan, Ltd.;url=../ahyp.no/index.html");
	}

	with(new menuname("Publishing")){
	style = sub1Style;
	margin=AllMargin
    aI("text=ordbøker;showmenu=Ordboker;type=tree;image=../commonfiles/blue_blip.gif;overimage=../commonfiles/red_blip.gif");
    aI("text=andre internettpublikasjoner;showmenu=Internettpublikasjoner;type=tree;image=../commonfiles/blue_blip.gif;overimage=../commonfiles/red_blip.gif");

}

		with(new menuname("Ordboker")){
		style = sub2Style;
		margin=AllMargin
		aI("text=- kinesisk-norsk;url=chi-nor.html;");
		aI("text=- norsk-kinesisk;url=nor-chi.html;");
		}

		with(new menuname("Internettpublikasjoner")){
		style = sub2Style;
		margin=AllMargin
		aI("text=Petter Feen:<br><i>Narr søker prinsesse</i>;url=feen.html;");
		aI("text=Jarle Aase:<br><i>Skjønnheten, Loven og Sannheten</i>;url=aase.html;");
		aI("text=Ingar Holst (red.):<br><i>Irregular Papers</i>;url=irrcont.html;");
		}



drawMenus()
