
///////////////////////////////////////////
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.
var tuner=351;
oCMenu.fromLeft=(!bw.moz && !bw.op)?(!(bw.mac && bw.ie)?cmpage.x2/2 - (tuner-1):cmpage.x2/2 - tuner):cmpage.x2/2 - (tuner+9);
//We also need to "replace" the menu on resize. So:
var stopw=152;
oCMenu.onresize="var delta0 =!bw.op? (stopw-7):stopw; var delta = (!bw.moz && !bw.op)?cmpage.x2/2 - tuner:cmpage.x2/2 - (tuner+9); if(delta < delta0) delta = delta0; oCMenu.fromLeft = delta; ";

//oCMenu.fromLeft=5 //(Only in use if menuplacement below is 0 or aligned) - Value: px || "%"
oCMenu.fromTop=159 //(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.battellidelbrenta.it/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=10
oCMenu.level[0].arrowHeight=10
oCMenu.level[0].align="center"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=20


//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=-1
oCMenu.level[1].arrow="http://www.battellidelbrenta.it/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=152//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[1].arrow="http://www.battellidelbrenta.it/img/arrow.gif";
oCMenu.level[1].arrowWidth=11
oCMenu.level[1].arrowHeight=12

//EXAMPLE SUB LEVEL[3] PROPERTIES -
oCMenu.level[3]=new cm_makeLevel()
oCMenu.level[3].width=160 //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=11
oCMenu.level[3].arrowHeight=12


 oCMenu.makeMenu('menu1','','&nbsp;&nbsp;I BATTELLI DEL BRENTA','','','152','','','','','','',0,'')
     oCMenu.makeMenu('menu1_1','menu1','&nbsp;&nbsp;Where we are','http://www.battellidelbrenta.it/info/battellibrenta/where/en','','152','','','','','','right',0)
     oCMenu.makeMenu('menu1_2','menu1','&nbsp;&nbsp;The Itinerary','http://www.battellidelbrenta.it/info/battellibrenta/itinerary/en','','152','','','','','','right',0)
     oCMenu.makeMenu('menu1_3','menu1','&nbsp;&nbsp;The Boats','http://www.battellidelbrenta.it/info/battellibrenta/boats/en','','152','','','','','','right',0)
     oCMenu.makeMenu('menu1_4','menu1','&nbsp;&nbsp;The Locks','http://www.battellidelbrenta.it/info/battellibrenta/locks/en','','152','','','','','','right',0)
     oCMenu.makeMenu('menu1_5','menu1','&nbsp;&nbsp;The Brenta Villas','','','152','','','','','','right',0)
          oCMenu.makeMenu('menu1_5_1','menu1_5','&nbsp;Villa Pisani Reale di Strà','http://www.battellidelbrenta.it/info/villebrenta/pisani/en','','200','','','','','','',0)
          oCMenu.makeMenu('menu1_5_2','menu1_5','&nbsp;Villa Widmann di Mira','http://www.battellidelbrenta.it/info/villebrenta/widmann/en','','200','','','','','','',0)
          oCMenu.makeMenu('menu1_5_3','menu1_5','&nbsp;Villa Foscari detta La Malcontenta','http://www.battellidelbrenta.it/info/villebrenta/foscari/en','','200','','','','','','',0)
          oCMenu.makeMenu('menu1_5_4','menu1_5','&nbsp;Villa Gradenigo di Oriago di Mira','http://www.battellidelbrenta.it/info/villebrenta/gardenigo/en','','200','','','','','','',0)
          oCMenu.makeMenu('menu1_5_5','menu1_5','&nbsp;Villa Barchessa Valmarana','http://www.battellidelbrenta.it/info/villebrenta/barchessa/en','','200','','','','','','',0)
          oCMenu.makeMenu('menu1_5_6','menu1_5','&nbsp;Villa Giovanelli di Noventa','http://www.battellidelbrenta.it/info/villebrenta/giovanelli/en','','200','','','','','','',0)
 oCMenu.makeMenu('menu2','','&nbsp;&nbsp;TOURS, TIMETABLE AND PRICES','','','195','','','','','','',0,'')
     oCMenu.makeMenu('menu2_1','menu2','&nbsp;&nbsp;Scheduled Public Cruises','','','195','','','','','','right',0)
          oCMenu.makeMenu('menu2_1_1','menu2_1','&nbsp;Individuals\' Rates 2010','http://www.battellidelbrenta.it/info/tour/individuals/1/en','','152','','','','','','',0)
     oCMenu.makeMenu('menu2_2','menu2','&nbsp;&nbsp;Group Rates','','','195','','','','','','right',0)
          oCMenu.makeMenu('menu2_2_1','menu2_2','&nbsp;Group Rates 2010 / 2011','http://www.battellidelbrenta.it/info/tour/groups/1/en','','152','','','','','','',0)
     oCMenu.makeMenu('menu2_3','menu2','&nbsp;&nbsp;Group Hotels Tariffs','/public/Hotel_per_gruppi_EN.pdf','_blank','195','','','','','','right',0)
     oCMenu.makeMenu('menu2_4','menu2','&nbsp;&nbsp;Water and Lights night cruise','http://www.battellidelbrenta.it/info/tour/night_trips/en','','195','','','','','','right',0)
     oCMenu.makeMenu('menu2_5','menu2','&nbsp;&nbsp;Among Villas and Castles','http://www.battellidelbrenta.it/info/tour/villascastles/en','','195','','','','','','right',0)
     oCMenu.makeMenu('menu2_6','menu2','&nbsp;&nbsp;Venice ZTLbus','http://www.battellidelbrenta.it/info/tour/ztlbus/en','','195','','','','','','right',0)
 oCMenu.makeMenu('menu3','','&nbsp;&nbsp;SPECIAL EVENTS','','','140','','','','','','',0,'')
     oCMenu.makeMenu('menu3_1','menu3','&nbsp;&nbsp;The Riviera Fiorita','http://www.battellidelbrenta.it/info/events/riviera/en','','160','','','','','','right',0)
     oCMenu.makeMenu('menu3_2','menu3','&nbsp;&nbsp;The Redentore Feast-Day','http://www.battellidelbrenta.it/info/events/redentoreday/en','','160','','','','','','right',0)
 oCMenu.makeMenu('menu4','','&nbsp;&nbsp;HIGHLIGHTS','','','125','','','','','','',0,'')
     oCMenu.makeMenu('menu4_1','menu4','&nbsp;&nbsp;Padua, Arts\' city','http://www.battellidelbrenta.it/info/highlights/paduaarts/en','','125','','','','','','right',0)
     oCMenu.makeMenu('menu4_2','menu4','&nbsp;&nbsp;Eugania','http://www.capodannowww.it/eug1.htm?setlan=en','_blank','125','','','','','','right',0)
     oCMenu.makeMenu('menu4_3','menu4','&nbsp;&nbsp;Wine and Flavours','http://www.battellidelbrenta.it/info/highlights/gastronomy/en','','125','','','','','','right',0)
     oCMenu.makeMenu('menu4_4','menu4','&nbsp;&nbsp;Veneto Day by Day','http://www.battellidelbrenta.it/info/highlights/daybyday/en','','125','','','','','','right',0)
 oCMenu.makeMenu('menu5','','&nbsp;&nbsp;PHOTO GALLERY','','','152','','','','','','',0,'')
     oCMenu.makeMenu('menu5_1','menu5','&nbsp;&nbsp;Brenta Canal Gallery','http://www.battellidelbrenta.it/gallery.php?gci=5&setlan=en','','152','','','','','','left',0)
     oCMenu.makeMenu('menu5_2','menu5','&nbsp;&nbsp;Venetian Villas Gallery','','','152','','','','','','left',0)
          oCMenu.makeMenu('menu5_2_1','menu5_2','&nbsp;Villa Pisani Gallery','http://www.battellidelbrenta.it/gallery.php?gci=10&setlan=en','','152','','','','','','',0)
          oCMenu.makeMenu('menu5_2_2','menu5_2','&nbsp;Villa Widmann Gallery','http://www.battellidelbrenta.it/gallery.php?gci=11&setlan=en','','152','','','','','','',0)
          oCMenu.makeMenu('menu5_2_3','menu5_2','&nbsp;Villa Foscari Gallery','http://www.battellidelbrenta.it/gallery.php?gci=13&setlan=en','','152','','','','','','',0)
          oCMenu.makeMenu('menu5_2_4','menu5_2','&nbsp;Villa Gradenigo Gallery','http://www.battellidelbrenta.it/gallery.php?gci=12&setlan=en','','152','','','','','','',0)
          oCMenu.makeMenu('menu5_2_5','menu5_2','&nbsp;Villa Barchessa Valmarana','http://www.battellidelbrenta.it/gallery.php?gci=26&setlan=en','','152','','','','','','',0)
     oCMenu.makeMenu('menu5_3','menu5','&nbsp;&nbsp;Old Etchings Gallery','http://www.battellidelbrenta.it/gallery.php?gci=4&setlan=en','','152','','','','','','left',0)
     oCMenu.makeMenu('menu5_4','menu5','&nbsp;&nbsp;Lithographies','http://www.battellidelbrenta.it/gallery.php?gci=6&setlan=en','','152','','','','','','left',0)
     oCMenu.makeMenu('menu5_5','menu5','&nbsp;&nbsp;Padua by night','http://www.battellidelbrenta.it/gallery.php?gci=8&setlan=en','','152','','','','','','left',0)
     oCMenu.makeMenu('menu5_6','menu5','&nbsp;&nbsp;Locks Gallery','http://www.battellidelbrenta.it/gallery.php?gci=9&setlan=en','','152','','','','','','left',0)
     oCMenu.makeMenu('menu5_7','menu5','&nbsp;&nbsp;Padua Gallery','http://www.battellidelbrenta.it/gallery.php?gci=27&setlan=en','','152','','','','','','left',0)
     oCMenu.makeMenu('menu5_8','menu5','&nbsp;&nbsp;Euganean Hills','http://www.battellidelbrenta.it/gallery.php?gci=32&setlan=en','','152','','','','','','left',0)
     oCMenu.makeMenu('menu5_9','menu5','&nbsp;&nbsp;Old Venice','http://www.antoniana.it/gallery/oldvenice/main.htm','_blank','152','','','','','','left',0)
     oCMenu.makeMenu('menu5_10','menu5','&nbsp;&nbsp;Old Padua','http://www.antoniana.it/gallery/oldpadua/main.htm','_blank','152','','','','','','left',0)
 oCMenu.makeMenu('menu6','','&nbsp;&nbsp;CONTACTS','http://www.battellidelbrenta.it/info/contacts/en','','75','','','','','','',0,'')

oCMenu.construct()
