
function showMenu()
{	
	document.getElementById('displaymenu').style.display = 'block';
	document.getElementById('software').className = 'selectedmn';
}
function hiddeMenu()
{
	document.getElementById('displaymenu').style.display = 'none';
	document.getElementById('software').className = '';
}
function showList(id)
{
	document.getElementById(id).style.display = 'block';
}
function AgregarFavoritos(URL,Titulo) 
{
	if (navigator.appName=="Netscape") 
	{
		window.sidebar.addPanel(Titulo,URL,""); 
	}
	if (navigator.appName=="Microsoft Internet Explorer"){

		window.external.AddFavorite(URL,Titulo);
	}
}

function imgSelect(img,selected)
{
	if(selected)img.className = 'selectedImg';
	else img.className = '';
}
function recomendar(id)
{
	ancho=440; alto=400;
	var W=window.open('recomendar.php?id='+id,'recomendar',"scrollbars=yes,width="+ancho+",height="+alto);
	W.focus();
	iz=(screen.width-ancho) / 2;
	de=(screen.height-alto) / 2;
	W.moveTo(iz,de);	
}
function listaShow(id)
{
	if(id == "listaProd")
	{
		document.getElementById(id).style.display = 'block';
		document.getElementById('listaIndu').style.display = 'none';
		document.getElementById('prodlink').className = 'listaSoft2';
		document.getElementById('indulink').className = 'listSoft';
		document.getElementById('prod').src = 'images/lista_down.jpg';
		document.getElementById('indu').src = 'images/lista_up.jpg';
	} else
	{	document.getElementById('prodlink').className = 'listSoft';
		document.getElementById('listaIndu').style.display = 'block';
		document.getElementById('listaProd').style.display = 'none';
		document.getElementById('indulink').className = 'listaSoft2';
		document.getElementById('indu').src = 'images/lista_down.jpg';
		document.getElementById('prod').src = 'images/lista_up.jpg';
	}
}
function hideTxt(id)
{
	id.value = '';
}
function zoom(id)
{
	ancho=900; alto=570;
	var W=window.open('galeria_producto.php?ID_PROD='+id,'',"scrollbars=yes,width="+ancho+",height="+alto);
	W.focus();
	iz=(screen.width-ancho) / 2;
	de=(screen.height-alto) / 2;
	W.moveTo(iz,de);	
}