// Last change July 14 2003
// Developed by web.master@male.ru


// constants

// x-coordinate of top left corner of dropdown menu 
var initX             = 20; 

// y-coordinate of top left corner of dropdown menu 
var initY             = 132; 

// the background color of dropdown menu (set empty '' for transparent)
var backColor         = ''; 

// the background color of selected menu items, set empty '' for transparent
var activeBackColor   = ''; 

// the color of dropdown menu border
var borderColor = 'C0C0C0'; 

// the width of menu border
var borderSize  = '0'; 

// height of menu itesm
var itemHeight  = 20;

// overlapping between 
var xOverlap    = 5;
var yOverlap    = 0;

// end of constants


menuContent     = new Array ();

menuContent [0] = new Array ( 
-1, 
-1, 
120, // the width of current menu list 
-1, // x coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
));

menuContent [1] = new Array ( 
-1, 
-1,
120, // the width of current menu list 
-1, // x coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Areas de formación', '#', '',
'Para desempleados', '/ocupacional.php', '',
'Para trabajadores', '/formacion_profesionales.php', '',
'Para empresas', '/formacion_empresas.php', ''
));

menuContent [2] = new Array ( 
-1, 
1,
120, // the width of current menu list 
-1, // x coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Recursos Humanos', '/rrhh.php', '',
'Nuevas tecnologías', '/nuevastecnologias.php', '',
'Formación', '/servicios_formacion.php', ''
));

menuContent [3] = new Array ( 
1, 
0,
120, // the width of current menu list 
-1, // x coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Idiomas', '#', '',
'Informática', '#', '',
'Directivos', '#', '',
'Gestión empresarial', '#', '',
'Sectoriales', '#', '',
'Derecho empresarial', '#', ''
));

menuContent [4] = new Array ( 
3, 
0,
120, // the width of current menu list 
-1, // x coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Inglés', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1001&nombre=Ingles', '',
'Francés', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1002&nombre=Frances', '',
'Alemán', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1004&nombre=Aleman', '',
'Valenciano', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1005&nombre=Valenciano', ''
));

menuContent [5] = new Array ( 
3, 
1,
120, // the width of current menu list 
-1, // x coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Ofimática', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1006&nombre=Ofimatica', '',
'Programación', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1007&nombre=Programacion', '',
'Diseño gráfico y Web', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1008&nombre=Diseño+Grafico+y+Web', '',
'Redes y comunicación', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1009&nombre=Redes+y+Comunicaciones', '',
'Sistemas operativos', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1010&nombre=Sistemas+Operativos', '',
'Control numérico', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1011&nombre=Control+numerico', ''
));

menuContent [6] = new Array ( 
3, 
2,
120, // the width of current menu list 
-1, // x coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Directivos', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1012&nombre=Directivos', ''
));

menuContent [7] = new Array ( 
3, 
3,
120, // the width of current menu list 
-1, // x coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Recursos Humanos', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1030&nombre=Recursos+Humanos', '',
'Administrativo', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1031&nombre=Administrativos', '',
'Contabilidad y grestión', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1032&nombre=Contabilidad+y+gestión', '',
'Ventas', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1033&nombre=Ventas', ''
));

menuContent [8] = new Array ( 
3, 
4,
120, // the width of current menu list 
-1, // x coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Sanidad', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1034&nombre=Sanidad', '',
'Seguridad', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1036&nombre=Seguridad', ''
));

menuContent [9] = new Array ( 
3, 
5,
120, // the width of current menu list 
-1, // x coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corrner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Derecho aplicado', 'http://www.centrocampoamor.com/icursos.php?view=seccion&id_familia=1017&nombre=Derecho+aplicado', ''
));