var myNavBar1 = new NavBar(0);
var dhtmlMenu;

//define menu items (first parameter of NavBarMenu specifies main category width, second specifies sub category width //in pixels)
//add more menus simply by adding more "blocks" of same code below

dhtmlMenu = new NavBarMenu(70, 0);
dhtmlMenu.addItem(new NavBarMenuItem("<center>Home</center>", "http://coral.aoml.noaa.gov/index.html"));
myNavBar1.addMenu(dhtmlMenu);



dhtmlMenu = new NavBarMenu(100, 170);
dhtmlMenu.addItem(new NavBarMenuItem("<center>NOAA/Coral</center>", ""));
dhtmlMenu.addItem(new NavBarMenuItem("OAR", "javascript:window.open('http://coral.aoml.noaa.gov/oar/')"));
dhtmlMenu.addItem(new NavBarMenuItem("NESDIS", "javascript:window.open('http://orbit-net.nesdis.noaa.gov/orad/sub/sst_hl_2m.html')"));
dhtmlMenu.addItem(new NavBarMenuItem("NOS", "javascript:window.open('http://www.nos.noaa.gov/')"));
dhtmlMenu.addItem(new NavBarMenuItem("NMFS", "javascript:window.open('http://www.nmfs.noaa.gov/')"));
dhtmlMenu.addItem(new NavBarMenuItem("NODC", "javascript:window.open('http://www.nodc.noaa.gov/col/projects/coral/Coralhome.html')"));
dhtmlMenu.addItem(new NavBarMenuItem("NOAA's Coral Reef Online", "javascript:window.open('http://www.coralreef.noaa.gov/')"));
dhtmlMenu.addItem(new NavBarMenuItem("Coral Reef Task Force", "javascript:window.open('http://www.coralreef.gov/')"));
//dhtmlMenu.addItem(new NavBarMenuItem("Coral Reef Watch", "http://www.coral.noaa.gov/crw/"));
dhtmlMenu.addItem(new NavBarMenuItem("Coral Reef Information System (CoRIS)", "http://www.coris.noaa.gov"));
dhtmlMenu.addItem(new NavBarMenuItem("NOAA/GBRMPA/AIMS International Collaborative (CoRViL)", "http://coral.aoml.noaa.gov/corvil/index.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Marine Protected Areas", "http://coral.aoml.noaa.gov/mpa/"));
myNavBar1.addMenu(dhtmlMenu);



dhtmlMenu = new NavBarMenu(75, 150);
dhtmlMenu.addItem(new NavBarMenuItem("<center>Popular</center>", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Bulletins", "http://coral.aoml.noaa.gov/bulls/bulls.html"));
dhtmlMenu.addItem(new NavBarMenuItem("SEAKEYS Program", "http://coral.aoml.noaa.gov/cman/cman_menu.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Coral-List Listserver", "http://coral.aoml.noaa.gov/lists/coral-list.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Coral Assessment Methods and Protocols", "http://coral.aoml.noaa.gov/methods.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Coral Related Links", "http://coral.aoml.noaa.gov/coral_links.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Coral Reef Maps of the World", "http://coral.aoml.noaa.gov/reef_maps/index.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(115, 220);
dhtmlMenu.addItem(new NavBarMenuItem("<center>Research/Data</center>", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Online Coral Researcher's Directory", "http://coral.aoml.noaa.gov/lists/directory.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Literature ", "http://coral.aoml.noaa.gov/bib/lit.abstracts.html"));
dhtmlMenu.addItem(new NavBarMenuItem("ICRI and Other Related Documents", "http://coral.aoml.noaa.gov/icri/icri.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Satellite Imagery", "http://coral.aoml.noaa.gov/images/images.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Marine Sanctuary Regulations", "http://coral.aoml.noaa.gov/laws/laws.html"));
dhtmlMenu.addItem(new NavBarMenuItem("NODC Historical Data", "http://coral.aoml.noaa.gov/nodc.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Miscellaneous Themes and Studies", "http://coral.aoml.noaa.gov/themes/themes.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Submit a coral bleaching report (NOAA/NESDIS)", "javascript:window.open('http://psbsgi1.nesdis.noaa.gov/PSB/EPS/icg/newform.html')"));
dhtmlMenu.addItem(new NavBarMenuItem("Global Coral Reef Monitoring Network", "http://coral.aoml.noaa.gov/gcrmn/"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(80, 130);
dhtmlMenu.addItem(new NavBarMenuItem("<center>Archives</center>", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Coral Bleaching (FTP Site)", "javascript:window.open('ftp://coral.aoml.noaa.gov/pub/champ/bleach/')"));
dhtmlMenu.addItem(new NavBarMenuItem("Coral Spawning (FTP Site)", "javascript:window.open('ftp://coral.aoml.noaa.gov/pub/champ/spawns/')"));
dhtmlMenu.addItem(new NavBarMenuItem("Coral-List Discussions", "http://coral.aoml.noaa.gov/lists/list-archives.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(70, 125);
dhtmlMenu.addItem(new NavBarMenuItem("<center>About</center>", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Mission Statements", "http://coral.aoml.noaa.gov/missions.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Location", "http://coral.aoml.noaa.gov/location.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Statistics", "javascript:window.open('http://coral.aoml.noaa.gov/stats.html')"));
dhtmlMenu.addItem(new NavBarMenuItem("Credits", "http://coral.aoml.noaa.gov/credits.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Contact Us", "http://coral.aoml.noaa.gov/comment-form.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Privacy Notice", "javascript:window.open('http://www.aoml.noaa.gov/privacy.html')"));
dhtmlMenu.addItem(new NavBarMenuItem("Disclaimer", "javascript:window.open('http://www.aoml.noaa.gov/disclaimer.html')"));

myNavBar1.addMenu(dhtmlMenu);




myNavBar1.moveTo(200,37)

//set menu colors
myNavBar1.setColors("#000000", "#000000", "#B0CBD5", "#000000", "#57CAFF", "#000000", "#57CAFF", "#ffffff", "#000000")

myNavBar1.setFonts("Verdana, Helvetica, Arial, sans-serif", "plain", "bold", "8pt", "Verdana, Helvetica, Arial, sans-serif", "plain", "normal", "8pt")

//uncomment below line to center the menu (valid values are "left", "center", and "right")
//myNavBar1.setAlign("center")


function init() {

myNavBar1.create();
myNavBar1.setzIndex(5);
}

