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,248,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','Historia','/cultura/historia_c.asp','')
  oCMenu.makeMenu('sub01','top0','Biblioteca','/cultura/biblioteca_c.asp','')
  oCMenu.makeMenu('sub02','top0','Archivo','/cultura/archivo_c.asp','')
  oCMenu.makeMenu('sub03','top0','Asociaciones','/cultura/asociaciones_c.asp','')
  oCMenu.makeMenu('sub04','top0','Deportes','/cultura/deportes_c.asp','')
  oCMenu.makeMenu('sub05','top0','Agenda Cultural','/cultura/agenda_c.asp','')
	
oCMenu.makeMenu('top1','','TURISMO')
	oCMenu.makeMenu('sub10','top1','Localización','/turismo/localizacion_c.asp','')
	oCMenu.makeMenu('sub11','top1','Espacios Naturales','/turismo/espaciosnat_c.asp','')
	oCMenu.makeMenu('sub12','top1','Fiestas','/turismo/fiestas_c.asp','')
	oCMenu.makeMenu('sub13','top1','Senderos','/turismo/senderos_c.asp','')
	oCMenu.makeMenu('sub14','top1','Transportes','/turismo/transportes_c.asp','')
	oCMenu.makeMenu('sub15','top1','¿Qué visitar?','/turismo/quevisitar_c.asp','')
	
oCMenu.makeMenu('top2','','AYUNTAMIENTO')
	oCMenu.makeMenu('sub21','top2','Saluda','/ayuntamiento/saluda_c.asp','',110)
	oCMenu.makeMenu('sub22','top2','Corporación','/ayuntamiento/corporacion_c.asp','',110)
	oCMenu.makeMenu('sub23','top2','Directorio','/ayuntamiento/directorio_c.asp','',110)
	oCMenu.makeMenu('sub24','top2','Hacienda','/ayuntamiento/hacienda_c.asp','',110)
	oCMenu.makeMenu('sub25','top2','AEDL','/ayuntamiento/aedl_c.asp','',110)
	oCMenu.makeMenu('sub26','top2','Servicios Sociales','/ayuntamiento/servsociales_c.asp','',110)
	oCMenu.makeMenu('sub27','top2','Urbanismo','/ayuntamiento/urbanismo_c.asp','',110)
	oCMenu.makeMenu('sub28','top2','Catastro','/ayuntamiento/catastro_c.asp','',110)
	oCMenu.makeMenu('sub29','top2','Policía Local','/ayuntamiento/policia_c.asp','',110)
	oCMenu.makeMenu('sub210','top2','Protección civil','/ayuntamiento/proteccioncivil_c.asp','',110)
	oCMenu.makeMenu('sub211','top2','Juventud','/ayuntamiento/juventud_c.asp','',110)
	oCMenu.makeMenu('sub212','top2','Polígonos Industriales','/ayuntamiento/poligonos_c.asp','',110)
	oCMenu.makeMenu('sub213','top2','Urbanizaciones','/ayuntamiento/urbanizaciones_c.asp','',110)
	oCMenu.makeMenu('sub214','top2','Foro Agenda 21','/ayuntamiento/foroagenda21_c.asp','',110)
		
oCMenu.makeMenu('top3','','SERVICIOS')
	oCMenu.makeMenu('sub30','top3','Buzón Ciudadano','/servicios/buzon_c.asp','',120)
	oCMenu.makeMenu('sub31','top3','Perfil del Contratante','/servicios/perfilcontratante_c.asp','',120)
	oCMenu.makeMenu('sub32','top3','Teléfonos de Interés','/servicios/telefonos_c.asp','',120)
	oCMenu.makeMenu('sub33','top3','Guía de Servicios','/servicios/guia_c.asp','',120)
	oCMenu.makeMenu('sub34','top3','Callejero','/servicios/callejero_c.asp','',120)
	oCMenu.makeMenu('sub38','top3','Encuestas','/servicios/encuestas/encuestas_c.asp','',120)
	oCMenu.makeMenu('sub39','top3','Enlaces','/servicios/enlaces_c.asp','',120)
	oCMenu.makeMenu('sub310','top3','Inscripción actividades','/servicios/inscripcion_c.asp','',120)
	oCMenu.makeMenu('sub311','top3','ACENA','/servicios/acena_c.asp','',120)
	oCMenu.makeMenu('sub312','top3','Escuela Infantil','/servicios/escuela_infantil_c.asp','',120)
	oCMenu.makeMenu('sub313','top3','Certificado digital','/servicios/certificados_digitales_c.asp','',120)
	oCMenu.makeMenu('sub314','top3','Sanidad','/servicios/sanidad_c.asp','',120)
	oCMenu.makeMenu('sub315','top3','Normas','/servicios/normas_c.asp','',120)

oCMenu.makeMenu('top5','','NOTICIAS','/noticias/noticias_c.asp')
	
//Leave this line - it constructs the menu
oCMenu.construct()