//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=225 	//Donde aparece el menu 
oCMenu.fromTop=89   	//Donde aparece el menu 
oCMenu.rows=1 		//Set to 1 for row, 0 for cols
oCMenu.menuPlacement=0

oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=100 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="menu"
oCMenu.barHeight="menu"
oCMenu.barClass="clBar"
oCMenu.barX="menu"
oCMenu.barY="menu"
oCMenu.barBorderX=0
oCMenu.barBorderY=0

//Level[0] 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=80
oCMenu.level[0].height=14
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=-1
oCMenu.level[0].offsetY=14
oCMenu.level[0].rows=0
oCMenu.level[0].align="center" 	//"right","left","center"

//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=150
oCMenu.level[1].height=15
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) 
*************************************/
oCMenu.makeMenu('top0','','&nbsp;Inicio','http://www.sancristobalsl.com/principal.htm','','38')

oCMenu.makeMenu('top1','','&nbsp;Formaci&oacute;n','','','69')
	oCMenu.makeMenu('sub10','top1','Infantil','http://www.sancristobalsl.com/infantil.htm')
	oCMenu.makeMenu('sub11','top1','Primaria','http://www.sancristobalsl.com/primaria.htm')
	oCMenu.makeMenu('sub12','top1','Secundaria','http://www.sancristobalsl.com/secundaria.htm')
	oCMenu.makeMenu('sub13','top1','Bachilleratos','http://www.sancristobalsl.com/bachilleratos.htm')
	oCMenu.makeMenu('sub14','top1','Ciclos Formativos','http://www.sancristobalsl.com/ciclos.htm')
	
oCMenu.makeMenu('top2','','&nbsp;Instalaciones','http://www.sancristobalsl.com/instalaciones.htm','','82')

oCMenu.makeMenu('top3','','&nbsp;Informaci&oacute;n','','','75')
	oCMenu.makeMenu('sub30','top3','Secretar&iacute;a','http://www.sancristobalsl.com/secretaria.html')
	oCMenu.makeMenu('sub31','top3','Historia','http://www.sancristobalsl.com/historia.htm')
	oCMenu.makeMenu('sub32','top3','Objetivos','http://www.sancristobalsl.com/objetivos.htm')
	oCMenu.makeMenu('sub33','top3','Servicios','http://www.sancristobalsl.com/servicios.htm')
	oCMenu.makeMenu('sub34','top3','&iquest;Qui&eacute;nes Somos?','http://www.sancristobalsl.com/quienes_somos.htm')
	oCMenu.makeMenu('sub35','top3','Localizaci&oacute;n','http://www.sancristobalsl.com/localizacion.htm')
	oCMenu.makeMenu('sub36','top3','Contacto','http://www.sancristobalsl.com/contacto.htm')
	oCMenu.makeMenu('sub37','top3','Acceso Restringido','http://www.sancristobalsl.com/restringido.html')
		
oCMenu.makeMenu('top5','','&nbsp;Recursos','','','64')
	oCMenu.makeMenu('sub50','top5','Alumnos','http://www.sancristobalsl.com/recursos_alumnos.htm')
	oCMenu.makeMenu('sub51','top5','Padres','http://www.sancristobalsl.com/recursos_padres.htm')

oCMenu.makeMenu('top6','','&nbsp;Actividades','/wordpress/','','70')
	oCMenu.makeMenu('sub60','top6','Generales','/wordpress/')
	oCMenu.makeMenu('sub61','top6','Revista Escolar','/revista_escolar.htm')
	
oCMenu.makeMenu('top7','','&nbsp;Via Educativa','http://www.viaeducativa.com/entrada.asp?clt=50275&cnt=50275&estilo=5027550275&cn=Colegio%20San%20Cristobal&AnchoTabla=100$&Cerrar=SI','_blank','82')

		
//Leave this line - it constructs the menu
oCMenu.construct()
