
/*** 
This is the menu creation code - place it right after you body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=20
oCMenu.fromTop=81   
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="file:///C|/Inetpub/wwwroot/dhtmlcentral/projects/coolmenus/examples/" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="100%"
oCMenu.barHeight="menu" 
oCMenu.barClass=""
oCMenu.barX=0 
oCMenu.barY=0
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=100
oCMenu.level[0].height=30 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="bottom"

//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify 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() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=oCMenu.level[0].width-2
oCMenu.level[1].height=22
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/


//HOME
oCMenu.makeMenu('top1','','Home','index.html','','','','','','clLevelHome','clLevelHomeOver')                                                
  oCMenu.makeMenu('sub11','top1','News','pagine_italiano/news.html')
  oCMenu.makeMenu('sub12','top1','Mappa del sito','pagine_italiano/mappa.html')  
  //oCMenu.makeMenu('sub12','top1','Partners','partners.html')
//SOCIETA'
oCMenu.makeMenu('top2','','La Societa','','','130') 
  oCMenu.makeMenu('sub21','top2','Chi siamo','pagine_italiano/chisiamo.html','','130')   
	oCMenu.makeMenu('sub22','top2','Tipologia clienti','pagine_italiano/tipologiaclienti.html','','130')   
	oCMenu.makeMenu('sub23','top2','Il gruppo','pagine_italiano/gruppo.html','','130')   	 	
	oCMenu.makeMenu('sub24','top2','Area riservata','','','130') 
	   oCMenu.makeMenu('sub241','sub24','Webmail','http://webmaildomini.aruba.it','','140')
	   oCMenu.makeMenu('sub242','sub24','Teleassistenza','../HelpMeVNC.exe','','140')	   
	   oCMenu.makeMenu('sub243','sub24','Teleassistenza (Milano)','../HelpMeVNC_MI.exe','','140')
     oCMenu.makeMenu('sub244','sub24','Lettura IP','http://www.mioip.net','','140') 	
	  
//PRODOTTI
oCMenu.makeMenu('top3','','I prodotti','','','160') 
  oCMenu.makeMenu('sub31','top3','Software <br>Ristoranti e Pizzerie','pagine_italiano/baccocs.html','','160','30')
  oCMenu.makeMenu('sub32','top3','Software Palmari','pagine_italiano/baccoce.html','','160') 
  oCMenu.makeMenu('sub33','top3','Software Ristoranti di Hotel','pagine_italiano/baccocehotel.html','','160')
  oCMenu.makeMenu('sub34','top3','Software Magazzino','pagine_italiano/baccomagacs.html','','160')
  oCMenu.makeMenu('sub35','top3','Software <br>Fidelizzazione clienti','pagine_italiano/fideuro.html','','160','30')    
  oCMenu.makeMenu('sub36','top3','Software <br>Prenotazioni e Banchetti','pagine_italiano/baccobookings.html','','160','35','','','clLevelSpecial2','clLevelSpecialOver2')
  //oCMenu.makeMenu('sub36','top3','Software <br>Prenotazioni e Banchetti','pagine_italiano/baccobookings.html','','160','35','','')     		 
	oCMenu.makeMenu('sub37','top3','Esempi di stampa comande','pagine_italiano/esempistampa.html','','160')
	oCMenu.makeMenu('sub38','top3','Hardware','pagine_italiano/hardware.html','','160')
	
//REFERENZE
oCMenu.makeMenu('top4','','Referenze','','','110') 
  oCMenu.makeMenu('sub41','top4','Siamo presenti in','pagine_italiano/rivenditori.html','','120')
  oCMenu.makeMenu('sub42','top4','I nostri clienti','pagine_italiano/clienti.php','','120','','','','clLevelSpecial2','clLevelSpecialOver2')
	oCMenu.makeMenu('sub43','top4','Prestige List','pagine_italiano/prestige.html','','120')
  oCMenu.makeMenu('sub44','top4','Depliant','pagine_italiano/depliant.html','','120')
	oCMenu.makeMenu('sub45','top4','Rassegna stampa','pagine_italiano/rasstampa.html','','120')
  oCMenu.makeMenu('sub46','top4','Conferenza stampa','pagine_italiano/confstampa.html','','120')       	
//ASSISTENZA
oCMenu.makeMenu('top5','','Assistenza')
  oCMenu.makeMenu('sub51','top5','Telefoni tecnici','pagine_italiano/numeri.html') 
	oCMenu.makeMenu('sub52','top5','Partners','pagine_italiano/partners.html') 
//INFORMAZIONI
//oCMenu.makeMenu('top6','','Informazioni','','','115') 
  //oCMenu.makeMenu('sub61','top6','Depliant','pagine_italiano/depliant.html','','115')
	//oCMenu.makeMenu('sub62','top6','Rassegna stampa','pagine_italiano/rasstampa.html','','115')    
//APPUNTAMENTI
oCMenu.makeMenu('top7','','Appuntamenti','','','115')
  oCMenu.makeMenu('sub71','top7','Fiere 2007-2008','pagine_italiano/fiere0708.html','','115')
  oCMenu.makeMenu('sub72','top7','Fiere 2008-2009','pagine_italiano/fiere0809.html','','115')
  oCMenu.makeMenu('sub73','top7','Fiere 2009-2010','pagine_italiano/fiere0910.html','','115')
  oCMenu.makeMenu('sub74','top7','Fiere 2010-2011','pagine_italiano/fiere1011.html','','115')
  oCMenu.makeMenu('sub75','top7','Fiere 2012','pagine_italiano/fiere1112.html','','115')
  //TABACCHERIE
oCMenu.makeMenu('top10','','Tabaccherie','','','100','','','')
  oCMenu.makeMenu('sub101','top10','TaBacco','pagine_italiano/tabacco.html','','100')
  oCMenu.makeMenu('sub102','top10','Depliant','pagine_italiano/depliant_tabacco.html','','100')
//CONTATTI
oCMenu.makeMenu('top8','','Contatti','','','90')
  oCMenu.makeMenu('sub81','top8','Dove siamo','pagine_italiano/dovesiamo.html','','90')
	oCMenu.makeMenu('sub82','top8','Richiedi info','pagine_italiano/informativa.html','','90')
//AREA LIVE
//oCMenu.makeMenu('top9','','Area Live')
  //oCMenu.makeMenu('sub91','top9','Forum','../forum/index.php','')
	//oCMenu.makeMenu('sub92','top9','Webmail','http://webmaildomini.aruba.it')
	//oCMenu.makeMenu('sub93','top9','Area riservata','advanced.php','')
	
//Leave this line - it constructs the menu
oCMenu.construct()		


