

_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 = "#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 = 3;
      borderwidth = 1;
         onborder = "1px solid #000000";
       overfilter = "";
        outfilter = "";
         fontsize = "9pt"; //size of all text inside the menu's
       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 = 163; //size of the individual menus
}

horizStyle=new copyOf(vertStyle)
horizStyle.borderwidth=1
horizStyle.separatorpadding=0
horizStyle.onborder="";
horizStyle.separatorcolor = "#E5EDF4";
horizStyle.onbgcolor = "#00525C";
horizStyle.oncolor = "#ffffff";
horizStyle.offbgcolor = "#809DC9";
horizStyle.offcolor = "#333333";


with(milonic=new menuname("mainmenu2")){
//screenposition="top;center";
//menuwidth="100%";
//menualign="center";
style = horizStyle;
alwaysvisible = 1;
orientation="horizontal"
aI("text=Introduction;url=index.php;title=Introduction;showmenu=datapolicy;");
aI("text=Geography;showmenu=geography;url=geoabout.php;");
aI("text=Datasets;showmenu=datasets;url=dataset.php?show=searchfrm;");
aI("text=ERMS;showmenu=species;url=erms.php;");
aI("text=EurOBIS;showmenu=distribution;url=eurobis.php;");

}
	with(milonic=new menuname("datapolicy")){		
         style = vertStyle;
	 top="offset=2";
         margin=3;
	 aI("text=Data Policy;url=datapolicy.php");
	}



	with(milonic=new menuname("geography")){		
         style = vertStyle;
	 top="offset=2";
         margin=3;
         aI("text=About;url=geoabout.php");
         aI("text=Search gazetteer;url=gazetteer.php?p=search");
         aI("text=Browse gazetteer;url=gazetteer.php?p=browser");
         aI("text=Gazetteer login;url=gazetteer.php?p=login");
	 aI("text=Sites;url=sites.php");
	}


	with(milonic=new menuname("datasets")){		
	 style = vertStyle;
	 top="offset=2";
	 margin=3
	 aI("text=Search;url=imis.php?module=dataset&show=searchfrm");
         aI("text=Submit;url=submit.php");
	}	
	

	with(milonic=new menuname("species")){
	 style = vertStyle;
	 top="offset=2";
	 margin=3
	 aI("text=About;url=erms.php;");
	 aI("text=Search taxa;url=aphia.php?p=search;");
	 aI("text=Specimens;url=aphia.php?p=specimens;");
	 aI("text=Checklist;url=aphia.php?p=checklist;");
         aI("text=Taxonomic tree;url=aphia.php?p=browser;");
         aI("text=Sources;url=aphia.php?p=sources;showmenu=ermssources;");
	 aI("text=People & statistics;url=aphia.php?p=editors;");
         aI("text=Taxon match;url=aphia.php?p=match;");
	 aI("text=Log in;url=aphia.php?p=login;");
	}
	
	      with(milonic=new menuname("ermssources")){
	         style = vertStyle;
	         top="offset=0";
                 alwaysvisible = 0;
	         margin=3;
	         aI("text=Search;url=aphia.php?p=sources;");
	         aI("text=Add;url=aphia.php?p=sourceedit&add=1;");

	 }

	with(milonic=new menuname("distribution")){		
	 style = vertStyle;
	 top="offset=2";
	 margin=3;
	 aI("text=About;url=eurobis.php;");
	 aI("text=Search;url=eurobissearch.php");
	 aI("text=Providers;url=eurobisproviders.php");
	 aI("text=Help;url=eurobishelp.php");
	}	
	

drawMenus()

// Add this bit if you haven't finished building menus yet.
//clearTimeout(_mst)
//_mst=null
//_startM=1
