
///////////////////////////////////////////
oCMenu=new makeCM("oCMenu") 
//Menu properties
oCMenu.pxBetween=0 //space between each of the top items. - Value: px || "%"

//Using the cm_page object to place the menu ----
  //There are some differences between the browsers that I try to fix here.
oCMenu.fromLeft=180;
//We also need to "replace" the menu on resize. So:
//oCMenu.onresize="oCMenu.fromLeft=cmpage.x2/2 - 375 "

//oCMenu.fromLeft=5 //(Only in use if menuplacement below is 0 or aligned) - Value: px || "%"
oCMenu.fromTop=63 //(Only in use if menuplacement below is 0 or aligned) - Value: px || "%"
oCMenu.rows=1 // - 0:columns || 1:row
oCMenu.menuPlacement="left"

oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=500 // you should not have this lower then 500 - Value: milliseconds
oCMenu.fillImg="http://www.progettomondomlal.org/img/cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0 //If you want to use a background-bar for the top items set this on - Value: 1 || 0
oCMenu.barWidth="menu" // "menu" = same width as the menu. - Value: px || "%" || "menu"
oCMenu.barHeight=30 // "menu" = same height as the menu. - Value: px || "%" || "menu"
oCMenu.barX="menu" //The left position of the bar. Set this to "menu" if you want it be the same as the left position of the menu. (this will change to match the border if you have one)  - Value: px || "%" || "menu"
oCMenu.barY="menu" //The top position of the bar Set this to "menu" if you want it be the same as the top position of the menu. (this will change to match the border if you have one)  - Value: px || "%" || "menu"
oCMenu.barClass="clBar"
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""
//TOP LEVEL PROPERTIES - ALL OF THESE MUST BE SPESIFIED FOR LEVEL[0]
oCMenu.level[0]=new cm_makeLevel()
oCMenu.level[0].width=147 //The default width for each level[0] (top) items. You can override this on each item by spesifying the width when making the item. - Value: px || "%"
oCMenu.level[0].height=18 //The default height for each level[0] (top) items. You can override this on each item by spesifying the height when making the item. - Value: px || "%"
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0//"img/menu_arrow.gif"
oCMenu.level[0].arrowWidth=11
oCMenu.level[0].arrowHeight=12
oCMenu.level[0].align="center"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=19


//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to spesify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel()
oCMenu.level[1].width=152//138 //The default width for each level[0] (top) items. You can override this on each item by spesifying the width when making the item. - Value: px || "%"
oCMenu.level[1].height=18 //The default height for each level[0] (top) items. You can override this on each item by spesifying the height when making the item. - Value: px || "%"
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=1
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].align="right"
oCMenu.level[1].offsetX=-1
oCMenu.level[1].offsetY=0
oCMenu.level[1].arrow="http://www.progettomondomlal.org/img/arrow.gif";
oCMenu.level[1].arrowWidth=11
oCMenu.level[1].arrowHeight=12


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel()
oCMenu.level[2].width=200//148 //The default width for each level[0] (top) items. You can override this on each item by spesifying the width when making the item. - Value: px || "%"
oCMenu.level[2].height=18 //The default height for each level[0] (top) items. You can override this on each item by spesifying the height when making the item. - Value: px || "%"
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderX=1
oCMenu.level[2].borderY=1
oCMenu.level[2].borderClass="clLevel2border"
oCMenu.level[2].align="right"
oCMenu.level[2].offsetX=-1
oCMenu.level[2].offsetY=-1
oCMenu.level[2].arrow=0//"http://www.progettomondomlal.org/img/arrow.gif";
oCMenu.level[2].arrowWidth=4
oCMenu.level[2].arrowHeight=9

//EXAMPLE SUB LEVEL[3] PROPERTIES -
oCMenu.level[3]=new cm_makeLevel()
oCMenu.level[3].width=138 //The default width for each level[0] (top) items. You can override this on each item by spesifying the width when making the item. - Value: px || "%"
oCMenu.level[3].height=16 //The default height for each level[0] (top) items. You can override this on each item by spesifying the height when making the item. - Value: px || "%"
oCMenu.level[3].regClass="clLevel2"
oCMenu.level[3].overClass="clLevel2over"
oCMenu.level[3].borderX=1
oCMenu.level[3].borderY=1
oCMenu.level[3].borderClass="clLevel2border"
oCMenu.level[3].align="left"
oCMenu.level[3].offsetX=0
oCMenu.level[3].offsetY=0
oCMenu.level[3].arrow=0;
oCMenu.level[3].arrowWidth=19
oCMenu.level[3].arrowHeight=16


 oCMenu.makeMenu('menu1','',"WHO WE ARE",'/info/mlal/whoweare/en','','107','','','','','','',0,'')
     oCMenu.makeMenu('menu1_1','menu1','&nbsp;&nbsp;ProgettoMondo in History','http://www.progettomondomlal.org/info/progettomondo/history/en','','','','','','','','right',0)
     oCMenu.makeMenu('menu1_2','menu1','&nbsp;&nbsp;ProgettoMondo in cifre','http://www.progettomondomlal.org/info/progettomondo/report/en','','','','','','','','right',0)
     oCMenu.makeMenu('menu1_3','menu1','&nbsp;&nbsp;Lo statuto','http://www.progettomondomlal.org/info/progettomondo/statuto/en','','','','','','','','right',0)
     oCMenu.makeMenu('menu1_4','menu1','&nbsp;&nbsp;Partnership','','','','','','','','','right',0)
          oCMenu.makeMenu('menu1_4_1','menu1_4','&nbsp;As founding members','http://www.progettomondomlal.org/info/progettomondo/participation/en','','','','','','','','',0)
          oCMenu.makeMenu('menu1_4_2','menu1_4','&nbsp;Subscriptions','http://www.progettomondomlal.org/info/progettomondo/subscriptions/en','','','','','','','','',0)
 oCMenu.makeMenu('menu2','',"POJECTS IN THE WORLD",'/info/mlal/pojectsintheworld/en','','167','','','','','','',0,'')
     oCMenu.makeMenu('menu2_1','menu2','&nbsp;&nbsp;Countries','','','','','','','','','right',0)
          oCMenu.makeMenu('menu2_1_1','menu2_1','&nbsp;Africa','http://www.progettomondomlal.org/info/progettomondo-africa/en','','','','','','','','',0)
          oCMenu.makeMenu('menu2_1_2','menu2_1','&nbsp;Europe','http://www.progettomondomlal.org/info/progettomondo-europa/en','','','','','','','','',0)
          oCMenu.makeMenu('menu2_1_3','menu2_1','&nbsp;America Latina','http://www.progettomondomlal.org/info/progettomondo-america-latina/en','','','','','','','','',0)
     oCMenu.makeMenu('menu2_2','menu2','&nbsp;&nbsp;Subjects','','','','','','','','','right',0)
          oCMenu.makeMenu('menu2_2_1','menu2_2','&nbsp;Childhood and Adolescence','http://www.progettomondomlal.org/info/projects/childhood-adolescence/en','','','','','','','','',0)
          oCMenu.makeMenu('menu2_2_2','menu2_2','&nbsp;Economy and Employment','http://www.progettomondomlal.org/info/projects/economy-employment/en','','','','','','','','',0)
          oCMenu.makeMenu('menu2_2_3','menu2_2','&nbsp;Environment and Agriculture','http://www.progettomondomlal.org/info/projects/environment-agriculture/en','','','','','','','','',0)
          oCMenu.makeMenu('menu2_2_4','menu2_2','&nbsp;Human Rights and Equal Opportunities','http://www.progettomondomlal.org/info/projects/human-rights/en','','','','','','','','',0)
     oCMenu.makeMenu('menu2_3','menu2','&nbsp;&nbsp;Operatori ProgettoMondo','http://www.progettomondomlal.org/info/progettomondo-volontari/en','','','','','','','','right',0)
 oCMenu.makeMenu('menu3','',"EDUCATION",'/info/mlal/educazion/en','','94','','','','','','',0,'')
     oCMenu.makeMenu('menu3_1','menu3','&nbsp;&nbsp;Laboratori Scuole','http://www.progettomondomlal.org/info/education/laboratories/en','','','','','','','','right',0)

oCMenu.construct()
