img99over = new Image();
img99over.src = "/imgs/boImprimir_On.gif";
	
img99out = new Image();
img99out.src = "/imgs/boImprimir_Off.gif";

function turnOn(imgName) {document[imgName].src = eval( imgName + "over.src");}
function turnOff(imgName) {document[imgName].src = eval(imgName + "out.src");}

function addIt(last,val,lnk,lnk2){
	var menu='<tr>'+
		'<td width="3" bgcolor="#9C9A9C"></td>'+
		'<td width="1" bgcolor="#000000"></td>'+
		'<td width="155" bgcolor="#358AC2" height="20">'
	if (last==true){menu=menu+'<img src="/imgs/punto.gif" width="1" height="3" border="0"><br><span id="borde"><img src="/imgs/imBorde.gif" width="7" height="7" alt="" border="0"></span>'}
	else{menu=menu+'<img src="/imgs/punto.gif" width="1" height="3" border="0"><br><img src="/imgs/punto.gif" width="7" height="1" border="0">'}
		menu=menu+'<a href="'+lnk+'" '
		if (lnk2!=''){menu=menu+'donclick="parent.parent.main.document.URL=\''+lnk2+'\'"'}
		else{menu=menu+' target="main" ' }
		menu=menu+' class="Arial10C1"><img src="/imgs/imItem.gif" width="18" height="10" alt="" border="0" align="middle">'+val+'</a></td>'+
		'<td width="1" bgcolor="#000000"></td>'+
		'<td width="4" bgcolor="#9C9A9C"></td>'+
		'</tr>'
	if (last==false){
	menu=menu+'<tr>'+
		'<td bgcolor="#9C9A9C"></td>'+
		'<td colspan="3" height="1" bgcolor="#000000"></td>'+
		'<td bgcolor="#9C9A9C"></td>'+
		'</tr>'}
	return menu
}

function addSubIt(last,val,lnk){
	menu='<tr>'+
		'<td bgcolor="#9C9A9C"></td>'+
		'<td bgcolor="#9C9A9C"></td>'+
		'<td width="1" bgcolor="#000000"></td>'+
		'<td width="146" bgcolor="#2681BE" height="15">'
		if (last==true){menu=menu+'<img src="/imgs/punto.gif" width="1" height="1" border="0"><br><span id="borde1"><img src="/imgs/imBorde1.gif" width="6" height="6" alt="" border="0"></span>'}
		else{menu=menu+'<img src="/imgs/punto.gif" width="1" height="1" border="0"><br><img src="/imgs/punto.gif" width="6" height="1" border="0">'}
		menu=menu+'<a href="'+lnk+'" target="main" class="Arial10C1"><img src="/imgs/imItem.gif" width="18" height="10" alt="" border="0" align="middle">'+val+'</a></td>'+
		'<td width="1" bgcolor="#000000"></td>'+
		'<td width="10" bgcolor="#9C9A9C"></td>'+
		'</tr>'
	return menu
}
function cerrar(){
if (openedIt1==1){OpenIt(1)}
if (openedIt2==2){OpenIt(2)}
if (openedIt3==3){OpenIt(3)}
parent.parent.bottom.document.all('tec1').innerHTML='<a href="javascript:parent.parent.botLateral.OpenIt(2)" onclick="parent.parent.main.document.URL=\'/nuestraempresa/nuestraempresa.asp\'" onmouseover="turnOn(\'img1\')" onmouseout="turnOff(\'img1\')"><img src="/imgs/boNuestraEmpresaInf_Off.gif" width="94" height="11" alt="" border="0" name="img1"></a>'
parent.parent.bottom.document.all('tec2').innerHTML='<a	href="javascript:parent.parent.botLateral.OpenIt(1)" onclick="parent.parent.main.document.URL=\'/tpvgestion/queestpvgestion.asp\'" onmouseover="turnOn(\'img2\')" onmouseout="turnOff(\'img2\')"><img src="/imgs/boQueEsTpvInf_Off.gif" width="117" height="11" alt="" border="0" name="img2"></a>'
parent.parent.bottom.document.all('tec3').innerHTML='<a href="javascript:parent.parent.botLateral.cerrar()" onclick="parent.parent.main.document.URL=\'/presupuesto/presupuesto.asp\'" onmouseover="turnOn(\'img3\')" onmouseout="turnOff(\'img3\')"><img src="/imgs/boObtenTuPresupuestoInf_Off.gif" width="125" height="11" alt="" border="0" name="img3"></a>'
parent.parent.bottom.document.all('tec4').innerHTML='<a href="javascript:parent.parent.botLateral.cerrar()" onclick="parent.parent.main.document.URL=\'/clientes/clientes.asp\'" onmouseover="turnOn(\'img4\')" onmouseout="turnOff(\'img4\')"><img src="/imgs/boNuestrosClientesInf_Off.gif" width="109" height="11" alt="" border="0" name="img4"></a>'
parent.parent.bottom.document.all('tec5').innerHTML='<a	href="javascript:parent.parent.botLateral.cerrar()" onclick="parent.parent.main.document.URL=\'/garantia/garantia.asp\'" onmouseover="turnOn(\'img5\')" onmouseout="turnOff(\'img5\')"><img src="/imgs/boGarantiaTotalInf_Off.gif" width="93" height="11" alt="" border="0" name="img5"></a>'
parent.parent.bottom.document.all('tec6').innerHTML='<a	href="javascript:parent.parent.botLateral.OpenIt(3)" onclick="parent.parent.main.document.URL=\'/equipos/equipos.asp\'" onmouseover="turnOn(\'img6\')" onmouseout="turnOff(\'img6\')"><img src="/imgs/boEquipamientoInf_Off.gif" width="138" height="11" alt="" border="0" name="img6"></a>'
}
var openedIt1=0
var openedIt2=0
var openedIt3=0
function OpenIt(val){
if (val==1){
	if (openedIt1!=1){
	var menuHTML = '<table border="0" cellpadding="0" cellspacing="0">'
	menuHTML = menuHTML + addIt(false,'¿Qué nos hace únicos?','/tpvgestion/unicos.asp','')
	menuHTML = menuHTML + addIt(true,'modaGestión a Fondo','javascript:OpenSubIt(1)',' ')
	menuHTML = menuHTML + '</table>'
	document.all('men').innerHTML=menuHTML
	cerrar()
	openedIt1=1
	document.all('boto').innerHTML='<a href="javascript:OpenIt(1)"><img src="/imgs/boQueEsTpv_On.gif" width="163" height="38" alt="" border="0"></a>'
	parent.parent.bottom.document.all('tec2').innerHTML='<img src="/imgs/boQueEsTpvInf_On.gif" width="117" height="11" alt="" border="0">'}
	else{document.all('men').innerHTML=''
	openedIt1=0
	document.all('boto').innerHTML='<a href="javascript:OpenIt(1)" onclick="parent.parent.main.document.URL=\'/tpvgestion/queestpvgestion.asp\'" onmouseover="turnOn(\'img2\')" onmouseout="turnOff(\'img2\')"><img src="/imgs/boQueEsTpv_Off.gif" width="163" height="38" alt="" border="0" name="img2"></a>'
	cerrar()
	if(openedSubIt==1){OpenSubIt(1)}}
}
if (val==2){
	if (openedIt2!=2){
	var menuHTML = '<table border="0" cellpadding="0" cellspacing="0">'
	menuHTML = menuHTML + addIt(false,'Equipo Humano','/nuestraempresa/equipohumano.asp','')
	menuHTML = menuHTML + addIt(true,'¿Dónde estamos?','/nuestraempresa/dondeestamos.asp','')
	menuHTML = menuHTML + '</table>'
	document.all('men1').innerHTML=menuHTML
	cerrar()
	openedIt2=2
	document.all('boto1').innerHTML='<a href="javascript:OpenIt(2)"><img src="/imgs/boNuestraEmpresa_On.gif" width="163" height="37" alt="" border="0"></a>'
	parent.parent.bottom.document.all('tec1').innerHTML='<img src="/imgs/boNuestraEmpresaInf_On.gif" width="94" height="11" alt="" border="0">'}
	else{document.all('men1').innerHTML=''
	openedIt2=0
	document.all('boto1').innerHTML='<a href="javascript:OpenIt(2)" onclick="parent.parent.main.document.URL=\'/nuestraempresa/nuestraempresa.asp\'" onmouseover="turnOn(\'img1\')" onmouseout="turnOff(\'img1\')"><img src="/imgs/boNuestraEmpresa_Off.gif" width="163" height="37" alt="" border="0" name="img1"></a>'
	cerrar()}
}
if (val==3){
	if (openedIt3!=3){
	var menuHTML = '<table border="0" cellpadding="0" cellspacing="0">'
	menuHTML = menuHTML + addIt(false,'Oferta del mes','/equipos/oferta.asp','')
	menuHTML = menuHTML + addIt(false,'Ordenadores','/equipos/ordenadores.asp','')
	menuHTML = menuHTML + addIt(false,'Impresoras','/equipos/impresoras.asp','')
	menuHTML = menuHTML + addIt(false,'Monitores','/equipos/monitores.asp','')
	menuHTML = menuHTML + addIt(false,'Copias de Seguridad','/equipos/seguridad.asp','')
	menuHTML = menuHTML + addIt(false,'Cámaras digitales','/equipos/camaras.asp','')
	menuHTML = menuHTML + addIt(false,'Cajones automáticos','/equipos/cajones.asp','')
	menuHTML = menuHTML + addIt(true,'Lect. de códigos de barra','javascript:OpenSubIt(2)',' ')
	menuHTML = menuHTML + '</table>'
	document.all('men2').innerHTML=menuHTML
	cerrar()
	openedIt3=3
	document.all('boto2').innerHTML='<a href="javascript:OpenIt(3)"><img src="/imgs/boEquipamiento_On.gif" width="163" height="38" alt="" border="0"></a>'
	parent.parent.bottom.document.all('tec6').innerHTML='<img src="/imgs/boEquipamientoInf_On.gif" width="138" height="11" alt="" border="0">'}
	else{document.all('men2').innerHTML=''
	openedIt3=0
	document.all('boto2').innerHTML='<a href="javascript:OpenIt(3)" onclick="parent.parent.main.document.URL=\'/equipos/equipos.asp\'" onmouseover="turnOn(\'img6\')" onmouseout="turnOff(\'img6\')"><img src="/imgs/boEquipamiento_Off.gif" width="163" height="38" alt="" border="0" name="img6"></a>'}
	//cerrar()
	if(openedSubIt1==1){OpenSubIt(2)}
	}
	
}
	
	
var openedSubIt=0
var openedSubIt1=0
function OpenSubIt(val){
if (val==1){
	if (openedSubIt!=1){
	menuHTML = '<table border="0" cellpadding="0" cellspacing="0" style="visibility: visible;">'+
				'<tr>'+
				'	<td width="3" bgcolor="#9C9A9C"></td>'+
				'	<td width="2" bgcolor="#000000"></td>'+
				'	<td colspan="3" height="1" bgcolor="#000000"></td>'+
				'	<td bgcolor="#9C9A9C"></td>'+
				'</tr>'
	menuHTML = menuHTML + addSubIt(false,'Tecnología','/tpvgestion/tecnologia.asp')
	menuHTML = menuHTML + addSubIt(false,'Adaptación','/tpvgestion/adaptacion.asp')
	menuHTML = menuHTML + addSubIt(false,'Formación','/tpvgestion/formacion.asp')
	menuHTML = menuHTML + addSubIt(false,'Actualizaciones','/tpvgestion/actualizaciones.asp')
	menuHTML = menuHTML + addSubIt(false,'Control de Existencias','/tpvgestion/control.asp')
	menuHTML = menuHTML + addSubIt(false,'Gestión de Compras','/tpvgestion/gestion.asp')
	menuHTML = menuHTML + addSubIt(false,'Info. y Control Financiero','/tpvgestion/info.asp')
	menuHTML = menuHTML + addSubIt(true,'Terminal pto. de Venta','/tpvgestion/terminal.asp')
	menuHTML = menuHTML +'</table>'
	document.all('submen').innerHTML=menuHTML
	openedSubIt=1}
	else{document.all('submen').innerHTML=''
	openedSubIt=0}
}
if (val==2){
	if (openedSubIt1!=1){
	menuHTML = '<table border="0" cellpadding="0" cellspacing="0" style="visibility: visible;">'+
				'<tr>'+
				'	<td width="3" bgcolor="#9C9A9C"></td>'+
				'	<td width="2" bgcolor="#000000"></td>'+
				'	<td colspan="3" height="1" bgcolor="#000000"></td>'+
				'	<td bgcolor="#9C9A9C"></td>'+
				'</tr>'
	menuHTML = menuHTML + addSubIt(false,'Inalámbrico','/equipos/inalambricos.asp')
	menuHTML = menuHTML + addSubIt(true,'Con Cable','/equipos/lectores.asp')
	menuHTML = menuHTML +'</table>'
	document.all('submen1').innerHTML=menuHTML
	openedSubIt1=1}
	else{document.all('submen1').innerHTML=''
	openedSubIt1=0}
}
}
function printpage(){
	if (window.print)window.print();
}
