function createjsDOMenu() {

// item list shown when a main menu item is clicked
// About Us ------------------------------------------------------------------------------------------------
  mainMenu1 = new jsDOMenu(180);
  with (mainMenu1) {
    addMenuItem(new menuItem("What is WASSAN?", "item1", ""));
    addMenuItem(new menuItem("Board of Trustees", "", "http://www.wassan.org/about_wassan/bot.htm"));
    addMenuItem(new menuItem("Team", "", "http://www.wassan.org/about_wassan/team.htm"));
    addMenuItem(new menuItem("Institutional Systems", "", "http://www.wassan.org/about_wassan/institutional_systems.htm"));
    addMenuItem(new menuItem("Collaborations", "", "http://www.wassan.org/about_wassan/collaborations.htm"));
    addMenuItem(new menuItem("Funding Partners", "", "http://www.wassan.org/about_wassan/funding_partners.htm"));
    addMenuItem(new menuItem("How to reach us?", "item7", ""));
    addMenuItem(new menuItem("Annual Reports", "", "http://www.wassan.org/about_wassan/annual_report.htm"));
    addMenuItem(new menuItem("Financial Statement", "", "http://www.wassan.org/about_wassan/financial_statement.htm"));
  }

  mainMenu1_1 = new jsDOMenu(180);
  with (mainMenu1_1) {
    addMenuItem(new menuItem("Emergence", "", "http://www.wassan.org/about_wassan/emergence.htm"));
    addMenuItem(new menuItem("Institutional and Functional Frame", "", "http://www.wassan.org/about_wassan/institutional_frame.htm"));
  }

  mainMenu1_2= new jsDOMenu(180);
  with (mainMenu1_2) {
    addMenuItem(new menuItem("Communication", "", "http://www.wassan.org/about_wassan/communication.htm"));
    addMenuItem(new menuItem("Route Map", "", "http://www.wassan.org/about_wassan/route_map.htm"));
  }


mainMenu1.items.item1.setSubMenu(mainMenu1_1); //ASSOCIATE SUB MENU WITH MAIN
mainMenu1.items.item7.setSubMenu(mainMenu1_2);

// Fields of Action-------------------------------------------------------------------------------------------
  mainMenu2 = new jsDOMenu(180);
  with (mainMenu2) {
    addMenuItem(new menuItem("Training", "", "http://www.wassan.org/foa/training/default.htm"));
    addMenuItem(new menuItem("Support Services", "", "http://www.wassan.org/foa/support_services/default.htm"));
    addMenuItem(new menuItem("Resource Centre", "", "http://www.wassan.org/foa/resource_centre/default.htm"));
    addMenuItem(new menuItem("Research & Policy Advocacy", "", "http://www.wassan.org/foa/policy_advocacy/default.htm"));
    addMenuItem(new menuItem("Networking", "", "http://www.wassan.org/foa/networking/default.htm"));
}


//  Partnerships   ------------------------------------------------------------------------------------------------
  mainMenu3 = new jsDOMenu(180);
  with (mainMenu3) {
    addMenuItem(new menuItem("AP Govts", "", "http://www.wassan.org/partnerships/AP_State_Govts/default.htm"));
    addMenuItem(new menuItem("NGOs", "", "http://www.wassan.org/partnerships/NGOs/default.htm"));
    addMenuItem(new menuItem("CBOs", "", "http://www.wassan.org/partnerships/CBOs/default.htm"));
    addMenuItem(new menuItem("DWMA and DPIP", "", "http://www.wassan.org/partnerships/DWMA_DPIP/default.htm"));
    addMenuItem(new menuItem("Networks", "", "http://www.wassan.org/partnerships/Networks/default.htm"));
    addMenuItem(new menuItem("Solidarity Institutions", "", "http://www.wassan.org/partnerships/Solidarity_Institutions/default.htm"));
    addMenuItem(new menuItem("Others", "", "http://www.wassan.org/partnerships/Others/default.htm"));
}


//  Information   ------------------------------------------------------------------------------------------------
  mainMenu4 = new jsDOMenu(180);
  with (mainMenu4) {
    addMenuItem(new menuItem("OTELP", "", "http://www.wassan.org/information/watersheds/default.htm"));  
    addMenuItem(new menuItem("WASHCost", "", "http://www.wassan.org/information/addresses/default.htm"));
    addMenuItem(new menuItem("Utilities", "", "http://www.wassan.org/information/utilities/default.htm"));
    addMenuItem(new menuItem("Training Info", "", "http://www.wassan.org/information/training_info/default.htm"));
}


//  Resource material   ------------------------------------------------------------------------------------------------
  mainMenu5 = new jsDOMenu(180);
  with (mainMenu5) {
    addMenuItem(new menuItem("Books", "", "http://www.wassan.org/resource_material/books/default.htm"));
    addMenuItem(new menuItem("Poster and Flexicharts", "", "http://www.wassan.org/resource_material/posters_flexicharts/default.htm"));
    addMenuItem(new menuItem("Study Reports", "", "http://www.wassan.org/resource_material/study_reports/default.htm"));
    addMenuItem(new menuItem("Brochures", "", "http://www.wassan.org/resource_material/Brochure/default.htm"));
    addMenuItem(new menuItem("Bulletins", "", "http://www.wassan.org/resource_material/bulletins/default.htm"));
    addMenuItem(new menuItem("Visual and Audio", "", "http://www.wassan.org/resource_material/audio_visuals/default.htm"));
    addMenuItem(new menuItem("ANM", "", "http://www.wassan.org/resource_material/ANM/default.htm"));
    addMenuItem(new menuItem("ANUBHAVALA SARAM", "", "http://www.wassan.org/resource_material/ANUBHAVALA SARAM/default.htm"));
    addMenuItem(new menuItem("Guideines, Reports and Studies", "", "http://www.wassan.org/resource_material/guidelines/default.htm"));
    addMenuItem(new menuItem("Newsletters", "", "http://www.wassan.org/resource_material/newsletters/default.htm"));
    addMenuItem(new menuItem("GOs and Circulars", "", "http://www.wassan.org/resource_material/gos_circulars/default.htm"));
    addMenuItem(new menuItem("Policy Papers", "", "http://www.wassan.org/resource_material/policy_papers/default.htm"));
}

//  Technology   ------------------------------------------------------------------------------------------------
  mainMenu6 = new jsDOMenu(180);
  with (mainMenu6) {
    addMenuItem(new menuItem("Reference Material", "", "http://www.wassan.org/technology/reference_material/default.htm"));
    addMenuItem(new menuItem("ITK", "", "http://www.wassan.org/technology/itk/default.htm"));
    addMenuItem(new menuItem("Innovations", "", "http://www.wassan.org/technology/innovations/default.htm"));
    addMenuItem(new menuItem("Software", "", "http://www.wassan.org/technology/software/default.htm"));
}

//  More   ------------------------------------------------------------------------------------------------
  mainMenu7 = new jsDOMenu(180);
  with (mainMenu7) {
    addMenuItem(new menuItem("Downloads", "", "http://www.wassan.org/downloads/default.htm"));
    addMenuItem(new menuItem("Archives", "", "http://www.wassan.org/Archives/default.htm"));
}



//Customize the Menu Bar Here

  menuBar = new jsDOMenuBar("static", "staticMenuBar", "", "", 750); //CREATE MAIN MENU ITEMS
  with (menuBar) {
    addMenuBarItem(new menuBarItem("About Us", mainMenu1, "menu1id"));
    addMenuBarItem(new menuBarItem("Fields of Actions", mainMenu2, "menu2id"));
    addMenuBarItem(new menuBarItem("Partnerships", mainMenu3, "menu3id"));
    addMenuBarItem(new menuBarItem("Information", mainMenu4, "menu4id"));
    addMenuBarItem(new menuBarItem("Resource Material", mainMenu5, "menu5id"));
    addMenuBarItem(new menuBarItem("Technology", mainMenu6, "menu6id"));
    addMenuBarItem(new menuBarItem("More", mainMenu7, "menu7id"));
    setActivateMode("over")

  }

//menuBar.items.aboutid.showIcon("<visible icon>", "<hover icon>", "<click icon>"); 
  menuBar.items.menu1id.showIcon("icon2", "icon1", "icon3"); 
//ASSOCIATE ICONS WITH CERTAIN MENU ITEMS
  //mainMenu1.items.jk.showIcon("icon1", "icon1", "icon3");
  //mainMenu3.items.bbc.showIcon("icon3", "icon1", "icon2");

//Seperator bar Created by kamal
  menuBar.items.menu2id.showIcon("icon4", "", "");
  menuBar.items.menu3id.showIcon("icon4", "", "");
  menuBar.items.menu4id.showIcon("icon4", "", "");
  menuBar.items.menu5id.showIcon("icon4", "", "");
  menuBar.items.menu6id.showIcon("icon4", "", "");
  menuBar.items.menu7id.showIcon("icon4", "", "");

}
