oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=10
oCMenu.fromLeft=105
oCMenu.fromTop=86
oCMenu.rows=1 
//oCMenu.menuPlacement="center"
oCMenu.menuPlacement=new Array(108,178,250,354,433)
                                                             
oCMenu.offlineRoot="http://www.naquera.com" 
oCMenu.onlineRoot="http://www.naquera.com" 
oCMenu.resizeCheck=1 
oCMenu.wait=500 
oCMenu.fillImg=""
oCMenu.zIndex=99

//Background bar properties
oCMenu.useBar=0
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=95
oCMenu.level[0].height=20
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=-5
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=100
oCMenu.level[1].height=20
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="center" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].arrow="menu_arrow.gif"
oCMenu.level[1].arrowWidth=10
oCMenu.level[1].arrowHeight=10
//oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Iris(duration=2,irisstyle='SQUARE',motion='out')"



//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','','CULTURA')
  oCMenu.makeMenu('sub00','top0','Història','/cultura/historia_v.asp','')
  oCMenu.makeMenu('sub01','top0','Biblioteca','/cultura/biblioteca_v.asp','')
  oCMenu.makeMenu('sub02','top0','Arxiu','/cultura/archivo_v.asp','')
  oCMenu.makeMenu('sub03','top0','Associacions','/cultura/asociaciones_v.asp','')
  oCMenu.makeMenu('sub04','top0','Esports','/cultura/deportes_v.asp','')
  oCMenu.makeMenu('sub05','top0','Agenda Cultural','/cultura/agenda_v.asp','')
	
oCMenu.makeMenu('top1','','TURISME')
	oCMenu.makeMenu('sub10','top1','Localització','/turismo/localizacion_v.asp','')
	oCMenu.makeMenu('sub11','top1','Espais Naturals','/turismo/espaciosnat_v.asp','')
	oCMenu.makeMenu('sub12','top1','Festes','/turismo/fiestas_v.asp','')
	oCMenu.makeMenu('sub13','top1','Sendes','/turismo/senderos_v.asp','')
	oCMenu.makeMenu('sub14','top1','Transports','/turismo/transportes_v.asp','')
	oCMenu.makeMenu('sub15','top1','Què visitar?','/turismo/quevisitar_v.asp','')
	
oCMenu.makeMenu('top2','','AJUNTAMENT')
	oCMenu.makeMenu('sub21','top2','Saluda','/ayuntamiento/saluda_v.asp','',110)
	oCMenu.makeMenu('sub22','top2','Corporació','/ayuntamiento/corporacion_v.asp','',110)
	oCMenu.makeMenu('sub23','top2','Directori','/ayuntamiento/directorio_v.asp','',110)
	oCMenu.makeMenu('sub24','top2','Hisenda','/ayuntamiento/hacienda_v.asp','',110)
	oCMenu.makeMenu('sub25','top2','AEDL','/ayuntamiento/aedl_v.asp','',110)
	oCMenu.makeMenu('sub26','top2','Servicis Socials','/ayuntamiento/servsociales_v.asp','',110)
	oCMenu.makeMenu('sub27','top2','Urbanisme','/ayuntamiento/urbanismo_v.asp','',110)
	oCMenu.makeMenu('sub28','top2','Cadastre','/ayuntamiento/catastro_v.asp','',110)
	oCMenu.makeMenu('sub29','top2','Policia Local','/ayuntamiento/policia_v.asp','',110)
	oCMenu.makeMenu('sub210','top2','Protecció Civil','/ayuntamiento/proteccioncivil_v.asp','',110)
	oCMenu.makeMenu('sub211','top2','Joventut','/ayuntamiento/juventud_v.asp','',110)
	oCMenu.makeMenu('sub212','top2','Polígons Industrials','/ayuntamiento/poligonos_v.asp','',110)
	oCMenu.makeMenu('sub213','top2','Urbanitzacions','/ayuntamiento/urbanizaciones_v.asp','',110)
	oCMenu.makeMenu('sub214','top2','Foro Agenda 21','/ayuntamiento/foroagenda21_v.asp','',110)
	
oCMenu.makeMenu('top3','','SERVICIS')
	oCMenu.makeMenu('sub31','top3','Telèfons d´interés','/servicios/telefonos_v.asp','',120)
	oCMenu.makeMenu('sub32','top3','Guia de Servicis','/servicios/guia_v.asp','',120)
	oCMenu.makeMenu('sub33','top3','Guia de carrers','/servicios/callejero_v.asp','',120)
	oCMenu.makeMenu('sub38','top3','Enquestes','/servicios/encuestas/encuestas_v.asp','',120)
	oCMenu.makeMenu('sub39','top3','Enllaços','/servicios/enlaces_v.asp','',120)
	oCMenu.makeMenu('sub311','top3','ACENA','/servicios/acena_v.asp','',120)
	oCMenu.makeMenu('sub312','top3','Escola Infantil','/servicios/escuela_infantil_v.asp','',120)
	oCMenu.makeMenu('sub313','top3','Certificat digital','/servicios/certificados_digitales_v.asp','',120)
        oCMenu.makeMenu('sub314','top3','Sanitat','/servicios/sanidad_v.asp','',120)
        oCMenu.makeMenu('sub315','top3','Normes','/servicios/normas_v.asp','',120)

oCMenu.makeMenu('top5','','NOTÍCIES','/noticias/noticias_v.asp')
	
//Leave this line - it constructs the menu
oCMenu.construct()
