

_scrollAmount=5                  // Only Used for Netscape 4 scrolling
_scrollDelay=10	                 // Only Used for Netscape 4 scrolling
_scrollUpImage=""     // Only Used for Netscape 4 scrolling
_scrollDownImage="" // Only Used for Netscape 4 scrolling


_menuCloseDelay=300              // 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 = "Fade(duration=0);Shadow(color='#777777', Direction=135, Strength=3)"
Goutfilter = "randomdissolve(duration=0.4)"


with(vertStyle=new mm_style()){
   //onbgcolor = "#4F8EB6";
     onbgcolor = "#00525C"; //color of the background when the mouse is ON the item
       oncolor = "#ffffff"; //color of the text when the mouse moves over a item
    offbgcolor = "#ffffff"; //color of the background when the mouse is NOT on the item
      offcolor = "#333333"; //color of the text when the mouse is NOT on the item
  visitedcolor = ""; // same as above, but visited
   bordercolor = "#999999";
   borderstyle = "solid";
separatorcolor = "#dddddd";
 separatorsize = 1;
 separatorpadding=1
       padding = 4
   borderwidth = 1
   onborder="1px solid #000000";
    //overfilter = "Fade(duration=0.2);Alpha(opacity=95);Shadow(color='#777777', Direction=135, Strength=3)"
    //outfilter = "randomdissolve(duration=0.4)"
      fontsize = "10pt"; //size of all text inside the menu's
     //fontstyle = "bold";
    fontweight = "bold"
    fontfamily = "Verdana,Arial,Helvetia";
     pagebgcolor = "#ECF4F9"; //color of the background when a menu-item is active
     pageimage="";
       pagecolor = "#333333"; //color of the text when a menu-item is active
      subimage = "";
      onsubimage=""
      headercolor = "#000000";
     headerbgcolor = "#000000";
headerborder="1px solid #000000";
itemwidth = 147; //size of the individual menus
}

horizStyle=new copyOf(vertStyle)
horizStyle.overfilter=""
horizStyle.outfilter=""
horizStyle.borderwidth=1
horizStyle.separatorpadding=0
horizStyle.onborder="";
horizStyle.separatorcolor = "#E5EDF4";
horizStyle.subimage="";
horizStyle.onsubimage="";
horizStyle.onbgcolor = "#00525C";
horizStyle.oncolor = "#ffffff";
horizStyle.offbgcolor = "#809DC9";
horizStyle.offcolor = "#333333";


with(milonic=new menuname("mainmenu2")){
 style = horizStyle;
 alwaysvisible = 1;
 orientation="horizontal"
 aI("text=Home;url=index.php;title=Introduction;showmenu=introduction;");
 aI("text=What's happening;showmenu=contacts;");
 aI("text=Marine biodiversity;showmenu=general public;");
 aI("text=Education;showmenu=students;");
 aI("text=Kids;url=kids/index.php;");
}

	   with(milonic=new menuname("introduction")){
	         style = vertStyle;
	         top="offset=2";
	         margin=3;
	        aI("text=Resources;;showmenu=resources;")
			aI("text=What is MarBEF;;url=whatis.php;")
			aI("text=Our mission;;url=mission.php;")
			aI("text=Contact us;url=contact.php");
			//aI("text=Coastal Pilot programme;url=pilot/index.php;");

			with(milonic=new menuname("newsletter")){
	         style = vertStyle;
	         top="offset=2";
                margin=3;
	        aI("text=Summer 2004;url=news_index1.php");
	        aI("text=Spring 2005;url=news_index2.php");
	        aI("text=Autumn 2005;url=news_index3.php");
}
with(milonic=new menuname("resources")){
	         style = vertStyle;
	         top="offset=2";
                 margin=3;
	      aI("text=Newsletter;url=newsletter.php;")
		  aI("text=Posters and presentations;url=posters.php");
          aI("text=Press office;url=press.php");
          aI("text=Media gallery;url=http://www.marbef.org/modules.php?name=Photogallery");
}
	}


	with(milonic=new menuname("general public")){
	 style = vertStyle;
	 top="offset=2"
         margin=3
	aI("text=Frequently asked questions;;showmenu=faq;");
	aI("text=In Europe;;showmenu=general;");

		with(milonic=new menuname("faq")){
	         style = vertStyle;
	         top="offset=0";
                 alwaysvisible = 0;
	         margin=3;
	        aI("text=What is marine biodiversity?;url=whatismb.php");
			aI("text=What is ecosystem functioning?;url=whatisef.php");
			aI("text=Why is marine biodiversity important?;url=whyis.php");
			aI("text=Threats to marine biodiversity;url=threats.php");

		with(milonic=new menuname("general")){
	         style = vertStyle;
	         top="offset=0";
                 alwaysvisible = 0;
	         margin=3;
			aI("text=Issues;url=general.php");
			aI("text=Variation;url=marbioeur.php;showmenu=marbioeur;");
			aI("text=Sites;url=marbiosite.php");

		}



		 with(milonic=new menuname("marbioeur")){
	         style = vertStyle;
	         top="offset=0";
                  alwaysvisible = 0;
	          margin=3;
	         aI("text=Geographic variation;url=geography.php");
	         aI("text=Ecosystem variation;url=ecosystem2.php");
}
}
}

	with(milonic=new menuname("students")){
	 style = vertStyle;
	 top="offset=2"
	 margin=3

	 aI("text=Primary;;showmenu=primary;");
	 aI("text=Secondary;url=second.php");
    //aI("text=University;url=uni.php");
	// aI("text=Curricular;url=curricular.php");
	 aI("text=Careers;url=careers.php");
	 aI("text=Teachers;url=teachers.php");


			with(milonic=new menuname("primary")){
	         style = vertStyle;
	         top="offset=0";
                 alwaysvisible = 0;
	         margin=3;
			aI("text=English;url=primary_en.php;");
			aI("text=Estonian;url=primary_ee.php");
			aI("text=Finnish;url=primary_fi.php;");
			aI("text=Polish;url=primary_pl.php");
			aI("text=Spanish;url=primary_es.php");
	 }



	}


	with(milonic=new menuname("kids")){
	 style = vertStyle;
	 top="offset=2"
	 margin=3
	 aI("text=Fun;url=fun.php;");
	}



	with(milonic=new menuname("contacts")){
	 style = vertStyle;
	 top="offset=2"
	 margin=3
	 aI("text=What's new;url=news.php;")
	 aI("text=Getting involved;url=public.php;");
	 aI("text=Outreach events;url=events.php;");
	 aI("text=Pilot educational study;url=pilot.php;");
	 }



drawMenus()

// Add this bit if you haven't finished building menus yet.
//clearTimeout(_mst)
//_mst=null
//_startM=1