//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=0 
oCMenu.fromTop=76   
oCMenu.rows=1 
//oCMenu.menuPlacement="center"

                                                             
oCMenu.offlineRoot="file:///C|/Inetpub/wwwroot/carlo_net/" 
//oCMenu.onlineRoot="http://pietroxp/carloforte_net/" 
oCMenu.onlineRoot="http://www.carloforte.net/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="100%"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
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=19 
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=120
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].arrow="cool_arrow.gif"
oCMenu.level[1].arrowWidth=10
oCMenu.level[1].arrowHeight=10
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"


//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() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=150
oCMenu.level[2].height=20
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu.makeMenu('top0','','&nbsp;Home','central.htm','')
	
oCMenu.makeMenu('top1','','&nbsp;L\'Isola','isola.asp')
	oCMenu.makeMenu('sub90','top1','Il Clima','clima.asp')
	oCMenu.makeMenu('sub91','top1','La Costa','')
		oCMenu.makeMenu('sub901','sub91','Descrizione','la_costa.htm','',100,0)
		oCMenu.makeMenu('sub902','sub91','Giro Virtuale','mappa.html','',100,0)
		oCMenu.makeMenu('sub903','sub91','Le Grotte','grotte.htm','',100,0)
	oCMenu.makeMenu('sub92','top1','L\'Interno','interno.htm')
	oCMenu.makeMenu('sub93','top1','Oasi Lipu','oasi_carloforte.htm')
	oCMenu.makeMenu('sub94','top1','Le Saline','saline.htm')
	oCMenu.makeMenu('sub10','top1','La Cultura','')
		oCMenu.makeMenu('sub101','sub10','Cenni Storici','storia.html','',100,0)
		oCMenu.makeMenu('sub102','sub10','Gastronomia','gastronomia.html','',100,0)
		oCMenu.makeMenu('sub103','sub10','Dialetto','dialetto.htm','',100,0)
		oCMenu.makeMenu('sub104','sub10','Musica','dialetto.htm#musica','',100,0)
		oCMenu.makeMenu('sub105','sub10','Museo Civico','museo/index.htm','',100,0)
		oCMenu.makeMenu('sub106','sub10','La Tonnara','tonnara_index.htm','',100,0)
	oCMenu.makeMenu('sub13','top1','Il Centro Storico','')
		oCMenu.makeMenu('sub131','sub13','Le Foto','centro_storico.html','',120,20)
		oCMenu.makeMenu('sub132','sub13','Cartina interattiva','','_blank',120,20, '','','','','','','','window.open("cartina.htm","","width=800,height=600")')

oCMenu.makeMenu('top2','','&nbsp;Come arrivare','come_arrivare.asp')
	oCMenu.makeMenu('sub20','top2','Dove Siamo','arrivare_a_carloforte.htm')
	oCMenu.makeMenu('sub21','top2','Arrivare in Nave','arrivare_in_nave.htm')
	oCMenu.makeMenu('sub22','top2','Arrivare in Aereo','arrivare_in_aereo.htm')
	oCMenu.makeMenu('sub23','top2','Arrivare in Bici','arrivare_in_bici.htm')
	oCMenu.makeMenu('sub24','top2','Orari Traghetti','orari_traghetti.htm')
	oCMenu.makeMenu('sub25','top2','Tariffe Traghetti','tariffe_saremar.htm')
	oCMenu.makeMenu('sub26','top2','Orari Autobus','autobus.htm')

oCMenu.makeMenu('top3','','&nbsp;Da non perdere','da_non_perdere.asp')
	oCMenu.makeMenu('sub30','top3','Giro Virtuale','mappa.html')
	oCMenu.makeMenu('sub31','top3','La Tonnara','')
		oCMenu.makeMenu('sub310','sub31','Indice','tonnara_index.htm','',100,20)
		oCMenu.makeMenu('sub311','sub31','La mattanza','mattanza.html','',100,20)
		oCMenu.makeMenu('sub312','sub31','La lavorazione','bottarghe.htm','',100,20)
		//oCMenu.makeMenu('sub313','sub31','Photo Gallery','','_blank',100,20,'','','','','','','','window.open("tonnara_gallery.htm","","width=800,height=600")')
		oCMenu.makeMenu('sub313','sub31','Photo Gallery','tonnara_gallery.asp','',100,20)
		oCMenu.makeMenu('sub314','sub31','Fra atri e corti','bonagia.htm','',100,20)
	oCMenu.makeMenu('sub32','top3','Come eravamo','comeravamo.htm')
	oCMenu.makeMenu('sub33','top3','Le vostre foto','')
		oCMenu.makeMenu('sub331','sub33','Ultimi inserimenti','vostre_foto_novita.htm','',120,20)
		oCMenu.makeMenu('sub332','sub33','Come partecipare','','_blank',120,20,'','',0,0,'','','','','','','','window.open("regolamento_invio_foto.htm","","width=500,height=300")')
		//oCMenu.makeMenu('sub333','sub33','Vedi le foto','','_blank',120,20, '','','','','','','','window.open("vostre_foto.htm","","width=800,height=600")')
		oCMenu.makeMenu('sub333','sub33','Vedi le foto','vostre_foto.asp','',120,20)	
	oCMenu.makeMenu('sub34','top3','Il Museo Civico','museo/')
	oCMenu.makeMenu('sub35','top3','Vita sottomarina','fondali_foto.htm')
	oCMenu.makeMenu('sub36','top3','Difendi l\'ambiente','')
		oCMenu.makeMenu('sub360','sub36','Galleria degli orrori','horror_gallery.htm','',120,20)
		oCMenu.makeMenu('sub361','sub36','Ambiente e industria turistica' ,'ambiente_turismo.htm','',120,36)
		oCMenu.makeMenu('sub362','sub36','La Certificazione ambientale' ,'certificazione_ambientale.htm','',120,36)
	oCMenu.makeMenu('sub37','top3','Eventi','')
		oCMenu.makeMenu('sub370','sub37','Tutti gli eventi','news.html','',125,20)
		oCMenu.makeMenu('sub371','sub37','La Sagra del cuscus','sagra_cuscus.htm','',125,20)
		oCMenu.makeMenu('sub372','sub37','Il Girotonno','girotonno.htm','',125,20)
		oCMenu.makeMenu('sub373','sub37','la Festa di San Pietro','san_pietro.htm','',125,20)
	oCMenu.makeMenu('sub38','top3','La Vela Latina','')
		oCMenu.makeMenu('sub380','sub38','Indice','velalatina_index.htm','',125,20)
		oCMenu.makeMenu('sub381','sub38','A Carloforte','http://www.cosedimare.com/navigando/carloforte.htm','_blank',125,20)
		oCMenu.makeMenu('sub382','sub38','In Sardegna','velalatina_enricomeloni.htm','',125,20)
		oCMenu.makeMenu('sub383','sub38','Il Ruggero II','ruggero_II_simonerepetto.htm','',125,20)
		oCMenu.makeMenu('sub384','sub38','La Costruzione','cantierebiggio/costruzione.htm','_blank',125,20)

oCMenu.makeMenu('top5','','&nbsp;Servizi','servizi.asp')
	oCMenu.makeMenu('sub50','top5','Servizi offerti dai<br> siti associati','ospiti.htm','',0,40)
	oCMenu.makeMenu('sub51','top5','Numeri Utili','numeriutili.htm')		
	oCMenu.makeMenu('sub52','top5','Dormire','numeriutili.htm#dormire')
	oCMenu.makeMenu('sub53','top5','Mangiare','numeriutili.htm#mangiare')
	oCMenu.makeMenu('sub54','top5','Bere','numeriutili.htm#bere')
	oCMenu.makeMenu('sub55','top5','Muoversi','numeriutili.htm#muoversi')
	oCMenu.makeMenu('sub56','top5','Comunicare ','numeriutili.htm#comunicare')
	oCMenu.makeMenu('sub57','top5','Nautica ','numeriutili.htm#nautica')
	oCMenu.makeMenu('sub58','top5','Artigianato ','numeriutili.htm#artigianato')

oCMenu.makeMenu('top6','','&nbsp;Utilità','utility.asp')
	oCMenu.makeMenu('sub61','top6','Previsioni Meteo','meteo.htm')
	oCMenu.makeMenu('sub62','top6','Cartoline Digitali','cartoline.htm')
	oCMenu.makeMenu('sub63','top6','Cartina interattiva','','_blank',120,20, '','','','','','','','window.open("cartina.htm","","width=800,height=600")')
	oCMenu.makeMenu('sub64','top6','Annunci Gratuiti','annunci_regolamento.htm')
	oCMenu.makeMenu('sub65','top6','Motori di ricerca','search_engines.htm')
	oCMenu.makeMenu('sub66','top6','Traduzioni on line','traduzioni.htm')
	oCMenu.makeMenu('sub67','top6','Corsi e manuali','utility.htm#corsi')
	oCMenu.makeMenu('sub68','top6','Software','utility.htm#software')
	oCMenu.makeMenu('sub69','top6','Virus e antivirus','virus.htm')

oCMenu.makeMenu('top7','','&nbsp;Links e altro','links_e_altro.asp')
	oCMenu.makeMenu('sub71','top7','Links','links.htm')
	oCMenu.makeMenu('sub72','top7','Avvisi ai naviganti','info.htm')
	oCMenu.makeMenu('sub73','top7','Faq su Carloforte','http://www.webdevsolutions.net/faq_carloforte/')
	oCMenu.makeMenu('sub74','top7','La Newsletter','newsletter.htm')

oCMenu.makeMenu('top8','','&nbsp;Chi siamo','chi_siamo.asp')
	oCMenu.makeMenu('sub81','top8','Sito costruito da <br>Pietro Cappai <br>"tuttofare" con <br>la supervisione di <br>Roberto Loca <br>"Supervisor". <br>Clicca qui per <br>vederci insieme.','chi_siamo.htm','',0,130)
	oCMenu.makeMenu('sub810','sub81','Perchè questo sito','propositi.htm')
	oCMenu.makeMenu('sub811','sub81','Ringraziamenti','ringraziamenti.htm')
	oCMenu.makeMenu('sub812','sub81','Il sito del webmaster','pietrocappai/index.htm')
	oCMenu.makeMenu('sub813','sub81','Firma il guestbook','guestbook.htm')
	oCMenu.makeMenu('sub814','sub81','suggerisci','feedback.htm')
	oCMenu.makeMenu('sub815','sub81','Scrivici','mailto:webmaster@carloforte.net')


oCMenu.menuPlacement=new Array(95,150,210,305,405,480,550,640)
//Leave this line - it constructs the menu
oCMenu.construct()		