<!--
// *****************************************************************************
// **      JavaScript Tree Menu Copyright Net Explorers Ltd 2001              **
// *****************************************************************************

// *****************************************************************************
// **                                SETTINGS                                 **
// *****************************************************************************

// 'linka' use this if part of the URL is the same in ALL the links
// In this example all the files are in a subfolder called 'pages'
linka=' ';

// the filename of the page the menu appears in eg 'menu.html'
thisPage='productos.asp';

// Do you want to use images for the category bullets?
// If so then specify the path to your images folder from the menu page
imgPath='images/';

// do you want to use images for the category bullets?
lev1img='yes';					// insert yes or no

// give image names and dimensions
lev1OpName='cuadrito.jpg';			// open image name
lev1OpHeight='9';				// image height
lev1OpWidth='9';				// image width

lev1ClosName='cuadrito.jpg';		// closed image name
lev1ClosHeight='8';			// image height
lev1ClosWidth='7';				// image width

// do you want to use images for the sub-category bullets?
lev2img='yes';		// insert yes or no

// give image names and dimensions
lev2Name='circulito.jpg';			// image name
lev2Height='6';				// image height
lev2Width='6';					// image width

// do you want to use a text character for the sub-category bullets?
lev2Char='no';		// insert yes or no

// set bullet character for level 2 bullets
bullet = '&#155; ';

// base target - the frame that the links are targetting
base = '_self';

// *****************************************************************************
// **                             END OF SETTINGS                             **
// *****************************************************************************

// pulls 'page' variable out of URL - do not alter
	var x = 0
	page = location.search.substr(1).split("?")
	
	for (x=0;x<=page.length;x++) {
		eval(page)
		}


//document.write(page);
page = escape(page);
page = page.slice(7);

//document.write(page);

// do not alter this bit
function subMenu(name,linkb) {
 this.name = name;
 this.linkb = linkb;
}
document.write('<BASE target="' + base + '">');

// *****************************************************************************
// **                             BUILD MENU DATA                             **
// *****************************************************************************

//document.write(page);
if (page == 110 )
{page='PIncendio'
};

if (page == 120 )
{page='PIncendio'
};

if (page == 130 )
{page='PIncendio'
};

if (page == 140 )
{page='PIncendio'
};

if (page == 150 )
{page='PIncendio'
};

if (page == 210 )
{page='PCCTV'
};

if (page == 211 )
{page='PCCTV'
};

if (page == 212 )
{page='PCCTV'
};

if (page == 220 )
{page='PCCTV'
};

if (page == 230 )
{page='PCCTV'
};

if (page == 233 )
{page='PCCTV'
};

if (page == 235 )
{page='PCCTV'
};

if (page == 240 )
{page='PCCTV'
};

if (page == 250 )
{page='PCCTV'
};

if (page == 265 )
{page='PCCTV'
};

if (page == 260 )
{page='PCCTV'
};

if (page == 280 )
{page='PCCTV'
};
if (page == 270 )
{page='PCCTV'
};

if (page == 310 )
{page='PAlarmas'
};

if (page == 320 )
{page='PAlarmas'
};

if (page == 330 )
{page='PAlarmas'
};

if (page == 340 )
{page='PAlarmas'
};

if (page == 410 )
{page='Paccesos'
};

if (page == 420 )
{page='Paccesos'
};

if (page == 430 )
{page='Paccesos'
};

if (page == 440 )
{page='Paccesos'
};
 
 
 if (page == 450 )
{page='Paccesos'
};

if (page == 460 )
{page='Paccesos'
};

if (page == 470 )
{page='Paccesos'
};

if (page == 600 )
{page='Pvarios'
};

 
 if (page == 510 )
{page='Paudio'
};

if (page == 520 )
{page='Paudio'
};

if (page == 530 )
{page='Paudio'
};

if (page == 540 )
{page='Paudio'
};

 

 
 
 
 
 
 //document.write(page);

// Incendio
if (page=='PIncendio') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Sensores','productos.asp?idcc=110');
thisMenu[1] = new subMenu('Avisadores','productos.asp?idcc=120');
thisMenu[2] = new subMenu('Paneles','productos.asp?idcc=130');
thisMenu[3] = new subMenu('Notificacion','productos.asp?idcc=140');
thisMenu[4] = new subMenu('Accesorios','productos.asp?idcc=150');
}

// Alarmas
if (page=='PAlarmas') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Paneles','productos.asp?idcc=310');
thisMenu[1] = new subMenu('Sensores','productos.asp?idcc=320');
thisMenu[2] = new subMenu('Sonorizacion','productos.asp?idcc=330');
thisMenu[3] = new subMenu('Accesorios','productos.asp?idcc=340');
}

// Control de Accesos y T&A
if (page=='Paccesos') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Controladoras Autonomas','productos.asp?idcc=410');
thisMenu[1] = new subMenu('Controladoras Con Comunicacion','productos.asp?idcc=420');
thisMenu[2] = new subMenu('Biometricos','productos.asp?idcc=430');
thisMenu[3] = new subMenu('Lectoras Con Salida Wiegand','productos.asp?idcc=440');
thisMenu[4] = new subMenu('Tarjetas, Llaveros y Porta Tarjetas','productos.asp?idcc=450');
thisMenu[5] = new subMenu('Cerraduras, Pulsadores REX y Accesorios','productos.asp?idcc=460');
thisMenu[6] = new subMenu('Lectoras Salida 232','productos.asp?idcc=470');
}
// CCTV
if (page=='PCCTV') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Camaras Box','productos.asp?idcc=210');
thisMenu[3] = new subMenu('Camaras IR','productos.asp?idcc=211');
thisMenu[4] = new subMenu('Camaras Ocultas','productos.asp?idcc=212');
thisMenu[5] = new subMenu('Domos PTZ y Camaras Zoom','productos.asp?idcc=230');
thisMenu[6] = new subMenu('Accesorios para Domos PTZ','productos.asp?idcc=233');
thisMenu[7] = new subMenu('Fuentes de Alimentacion','productos.asp?idcc=265');
thisMenu[1] = new subMenu('Lentes','productos.asp?idcc=220');
thisMenu[2] = new subMenu('Gabinetes y Soportes','productos.asp?idcc=250');
thisMenu[8] = new subMenu('Accesorios','productos.asp?idcc=270');
thisMenu[9] = new subMenu('Monitores y Visualizacion','productos.asp?idcc=280');
thisMenu[10] = new subMenu('DVR Stand Alone','productos.asp?idcc=235');
thisMenu[11] = new subMenu('Grabadoras Digital y Equipos Basados en PC','productos.asp?idcc=240');
thisMenu[12] = new subMenu('Video IP','productos.asp?idcc=260');
}

// Audio
if (page=='Paudio') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Amplificadores y modulos','productos.asp?idcc=510');
thisMenu[1] = new subMenu('Sonorizacion','productos.asp?idcc=520');
thisMenu[2] = new subMenu('Consolas','productos.asp?idcc=530');
thisMenu[3] = new subMenu('Accesorios','productos.asp?idcc=540');
}

// Varios
if (page=='Pvarios') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Varios','productos.asp?idcc=600');
}

//-->

// idcc Descripción 
// 11 Incenidio : : Sensores
// 12 Incendio : : Avisadores
// 13 Incendio : : Paneles
// 14 Incendio : : Notificacion
// 15 Incendio : : Accesorios
// 21 CCTV : : Camaras Fijas
// 22 CCTV : : Lentes
// 23 CCTV : : Domos PTZ
// 24 CCTV : : Grabacion Digital
// 25 CCTV : : Gabinetes y Soporte
// 26 CCTV : : Video IP
// 27 CCTV : : Accesorios
// 27 CCTV : : Visualizacion
// 31 Alarmas : : Paneles
// 32 Alarmas : : Sensores
// 33 Alarmas : : Sonorizacion
// 34 Alarmas : : Accesorios
// 41 Accesos y T&A : : Controladoras
// 42 Accesos y T&A : : Tiempo y Asistencia
// 43 Accesos y T&A : : Biometricos
// 44 Accesos y T&A : : Lectoras
// 45 Accesos y T&A : : Tarjetas
// 46 Accesos y T&A : : Cerraduras y Pulsadores REX
// 47 Accesos y T&A : : Accesorios
// 51 Audio : : Amplificadores y Modulos
// 52 Audio : : Sonorizacion
// 53 Audio : : Consolas
// 54 Audio : : Accesorios
// 60 Comunes
