
function onLoad() {
    window.onResize = onLoad;
    loadMenus();
}

function loadMenus () {
// Main ************************************************************************************************************************
    window.myMenu1 = new Menu("MAIN");
    myMenu1.addMenuItem("Something or Nothing","location='main_ro.html'");
    myMenu1.disableDrag = true


// Activities ***********************************************************************************************************************

    window.myMenu2 = new Menu("ACTI");
    myMenu2.addMenuItem("Monitorizarea si reportarea","location='/rom/acti/monit.html'");
    myMenu2.addMenuItem("Seminare,Mese Rotunde,Brainstorming", "location='/rom/acti/semin.html'");
    myMenu2.addMenuItem("Vizite de documentare", "location='/rom/acti/document.html'");
    myMenu2.addMenuItem("Consultatii juridice", "location='/rom/acti/cons.html'");
    myMenu2.addMenuItem("Popularizarea cunostintelor", "location='/rom/acti/popul.html'");
    myMenu2.addMenuItem("Litigii de interes public", "location='/rom/acti/litigii.html'");
    myMenu2.addMenuItem("Expertizarea juridica", "location='/rom/acti/expert.html'");
    myMenu2.addMenuItem("Advocacy extrajudiciar", "location='/rom/acti/advoc.html'");
    myMenu2.addMenuItem("Dezvoltarea instutitionala a CHDOM", "location='/rom/acti/dezv.html'");
	myMenu2.disableDrag = true

// Publications **************************************************************************************************************

    window.myMenu3 = new Menu("PUB");
    myMenu3.addMenuItem("Carti editate","location='/rom/publ/publ.html'");
    myMenu3.addMenuItem("Articole","location='/rom/publ/art.html'");

    	myMenu3.disableDrag = true

// About CHDOM ********************************************************************************************************************************

    window.myMenu4 = new Menu("ABOUT");
    myMenu4.addMenuItem("Statutul", "location='/rom/desp/stat.html'");
    myMenu4.addMenuItem("Personalul", "location='/rom/desp/pers.html'");
    myMenu4.addMenuItem("Proiecte Curente", "location='/rom/const.html'");
	myMenu4.disableDrag = true

// Photo Gallery *********************************************************************************************************************


   	window.mySubMenu8 = new Menu("Seminare");
	mySubMenu8.addMenuItem("Conferinte de presa", "location='/rom/gal/seminare/conf/gallery.html'");
        mySubMenu8.addMenuItem("Mese rotunde", "location='/rom/gal/seminare/meserotunde/gallery.html'");
        mySubMenu8.addMenuItem("Sustinerea Victimelor", "location='/rom/gal/seminare/victime/gallery.html'");
        mySubMenu8.disableDrag = true

   	window.mySubMenu9 = new Menu("Traininguri pentru colaboratorii politie");
	mySubMenu9.addMenuItem("Trainingul de la Balti (Nord)", "location='/rom/gal/politie/balti/gallery.html'");
        mySubMenu9.addMenuItem("Trainingul din satul Albota (Sud)", "location='/rom/gal/politie/cahul/gallery.html'");
        mySubMenu9.addMenuItem("Trainingul de la Orhei (Centru)", "location='/rom/gal/politie/orhei/gallery.html'");
	mySubMenu9.disableDrag = true


   	window.mySubMenu10 = new Menu("Vizitele de documentare");
	mySubMenu10.addMenuItem("Comunitatile de romi", "location='/rom/gal/vizite/romi/gallery.html'");
        mySubMenu10.addMenuItem("Institutiile Penitenciare", "location='/rom/gal/vizite/penitenciare/gallery.html'");
        mySubMenu10.addMenuItem("Izolatoarele de ancheta preventiva", "location='/rom/gal/vizite/ancheta/gallery.html'");
	mySubMenu10.disableDrag = true
  

    window.myMenu6 = new Menu("PHOTO");
    myMenu6.addMenuItem(mySubMenu8);
    myMenu6.addMenuItem(mySubMenu9);
    myMenu6.addMenuItem(mySubMenu10);
    myMenu6.disableDrag = true

// Site Map *********************************************************************************************************
    window.myMenu6 = new Menu("SITE");
    myMenu6.addMenuItem("Harta site-ului", "location='/rom/const.html'");	
     myMenu6.disableDrag = true

	window.acp_nat_mgm = new Menu("WebDesigners");
	acp_nat_mgm.writeMenus();
}
