//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname
oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=-1
oCMenu.fromTop=97
oCMenu.rows=1 
oCMenu.menuPlacement=0

//Rutas de los enlaces del Menú
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=1 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties. En principio no se usa.
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=130
oCMenu.level[0].height=25 
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].width=130
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].align="right"

//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].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].width=130
oCMenu.level[2].height=22
oCMenu.level[2].align="right"

/******************************************
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;Productos','\Modulo1/Texto10.html','contenido')
  oCMenu.makeMenu('sub00','top0','MS Dynamics NAV','\Modulo1/Texto10.html','contenido')
  oCMenu.makeMenu('sub01','top0','Addon Dynamics NAV','','contenido')
 	oCMenu.makeMenu('subsub90','sub01','Manufacturing','','contenido')
 		oCMenu.makeMenu('subsubsub00','subsub90','FCS','\Modulo1/Texto110.html','contenido')
		oCMenu.makeMenu('subsubsub01','subsub90','Calidad','\Modulo1/Texto111.html','contenido')
		oCMenu.makeMenu('subsubsub02','subsub90','Mantenimiento','\Modulo1/Texto112.html','contenido')
  oCMenu.makeMenu('sub02','top0','Business Intelligence','\Modulo1/Texto12.html','contenido')
  oCMenu.makeMenu('sub03','top0','Otras Soluciones','\Modulo1/Texto13.html','contenido')
  
  oCMenu.makeMenu('top1','','&nbsp;Empresa','\Modulo2/Texto20.html','contenido','','','','','','','align=center','align=center')
	oCMenu.makeMenu('sub10','top1','Enfocados','\Modulo2/Texto20.html','contenido')
	oCMenu.makeMenu('sub11','top1','Soporte','\Modulo2/Texto21.html','contenido')
	oCMenu.makeMenu('sub12','top1','Visión','\Modulo2/Texto22.html','contenido')
	oCMenu.makeMenu('sub13','top1','Partners','\Modulo2/Texto23.html','contenido')
	
oCMenu.makeMenu('top6','','&nbsp;Formación','\Modulo6/Texto60.html','contenido','','','','','','','align=center','align=center')
	oCMenu.makeMenu('sub62','top6','Cursos Programación','\Modulo6/Texto60.html','contenido')
	oCMenu.makeMenu('sub63','top6','Cursos Funcionalidad','\Modulo6/Texto61.html','contenido')
	oCMenu.makeMenu('sub64','top6','Formación Bonificable','\Modulo6/Texto62.html','contenido')
	
oCMenu.makeMenu('top2','','&nbsp;Casos','\Modulo3/Texto30.html','contenido')
	oCMenu.makeMenu('sub21','top2','Cunext','\Modulo3/Texto30.html','contenido')
	oCMenu.makeMenu('sub22','top2','Kettal','\Modulo3/Texto31.html','contenido')
	oCMenu.makeMenu('sub23','top2','JBC','\Modulo3/Texto32.html','contenido')
	oCMenu.makeMenu('sub24','top2','Reig Jofré','\Modulo3/Texto33.html','contenido')
	oCMenu.makeMenu('sub25','top2','MPB Aerospace','\Modulo3/Texto34.html','contenido')

oCMenu.makeMenu('top3','','&nbsp;Descargas','\Modulo4/Texto40.html','contenido')
		
oCMenu.makeMenu('top5','','&nbsp;Contacto','\Modulo5/Texto50.html','contenido')
	oCMenu.makeMenu('sub51','top5','Contacto','\Modulo5/Texto50.html','contenido')
	oCMenu.makeMenu('sub52','top5','News letters','\Modulo5/Texto51.html','contenido')
	oCMenu.makeMenu('sub53','top5','Links de interés','\Modulo5/Texto52.html','contenido')
	oCMenu.makeMenu('sub54','top5','Trabaja en Olivia','\Modulo5/Texto53.html','contenido')

oCMenu.makeMenu('top8','','&nbsp;','','contenido')
oCMenu.makeMenu('top9','','&nbsp;','','contenido')
	
//Leave this line - it constructs the menu
oCMenu.construct()	

// ****************************************************************************************
// Función Botón derecho
//
function bderecho(e) { 
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) 
return false; 
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { 
alert("\tOlivia Sistemas S.L.\t\n\tMadrazo 27, 2º 5ª\t\n\t08006 Barcelona\t\n\tolivia@olivia-sistemas.com\t"); 
return false; 
} 
return true; 
} 
if (document.layers) window.captureEvents(Event.MOUSEDOWN); 
window.onmousedown=bderecho; 
document.onmousedown=bderecho; 

// ****************************************************************************************
// Barra de estado Fija
//var default1 = "Olivia Sistemas"; 
//var changeRate = 1000; // 1000 = 1 second

//function changeStatus() {
//     window.status=default1;
//     document.title=default1;
//     setTimeout("changeStatus();",changeRate);
//}

//changeStatus(); // leave here to run right away

// *****************************************************************************