// JavaScript Document

function botonera (secc){
document.write('<table width="594" height="22" border="0" cellpadding="0" cellspacing="0" bgcolor="#DEE678"><tr>')
	if (secc == 'home'){
		document.write('<td width="61" height="22"><img src="imagenes/home_foc.gif" width="41" height="22" hspace="10" border="0" /></td>')
	}else{
		document.write('<td width="61" height="22"><a href="index.htm"><img src="imagenes/home_off.gif" width="41" height="22" hspace="10" border="0" onmouseover="this.src=\'imagenes/home_on.gif\'" onmouseout="this.src=\'imagenes/home_off.gif\'" /></a></td>');
	}
	
	if (secc == 'inst'){
		document.write('<td width="117"><img src="imagenes/inst_foc.gif"   width="107" height="22" border="0" style="margin-right:10px;"/></td>')
	}else{
		document.write('<td width="117"><a href="inst.htm"><img src="imagenes/inst_off.gif"   width="107" height="22" border="0" style="margin-right:10px;"  onmouseover="this.src=\'imagenes/inst_on.gif\'" onmouseout="this.src=\'imagenes/inst_off.gif\'" /></a></td>');
	}
	
	if (secc == 'prod'){
		document.write('<td width="199"><a href="prod.htm"><img src="imagenes/prod_foc.gif"   width="189" height="22" border="0"style="margin-right:10px;"/></a></td>')
	}else{
		document.write('<td width="199"><a href="prod.htm"><img src="imagenes/prod_off.gif"   width="189" height="22" border="0"style="margin-right:10px;"  onmouseover="this.src=\'imagenes/prod_on.gif\'" onmouseout="this.src=\'imagenes/prod_off.gif\'" /></a></td>');
	}
	
	if (secc == 'contacto'){
		document.write('<td width="89"><img src="imagenes/contacto_foc.gif"  width="79" height="22" border="0"style="margin-right:10px;" /></td>')
	}else{
		document.write('<td width="89"><a href="contacto.php"><img src="imagenes/contacto_off.gif"  width="79" height="22" border="0"style="margin-right:10px;"  onmouseover="this.src=\'imagenes/contact_on.gif\'" onmouseout="this.src=\'imagenes/contacto_off.gif\'" /></a></td>');
	}

	if (secc == 'oport'){
		document.write('<td width="128"><img src="imagenes/oport_foc.gif"   width="118" height="22" border="0" style="margin-right:10px;"/></td>')
	}else{
		document.write('<td width="128"><a href="oport.htm"><img src="imagenes/oport_off.gif"   width="118" height="22" border="0" style="margin-right:10px;"  onmouseover="this.src=\'imagenes/oport_on.gif\'" onmouseout="this.src=\'imagenes/oport_off.gif\'"/></a></td>');
	}

document.write('</tr></table>')
}

function idioma (){
	
	document.write('<table width="122" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border:1px solid #ccc;"><tr>')
	document.write('<td width="70" height="20"><img src="imagenes/lenguaje.gif" width="60" height="12" hspace="5" /></td>'+
				   '<td width="26"><a href="idiomas/eng/index.html"><img src="imagenes/flag_ing.gif" width="16" height="12" hspace="5" border="0" /></a></td>'+
				   '<td width="26"><a href="idiomas/portugues/index.html"><img src="imagenes/flag_port.gif" width="16" height="12" hspace="5" border="0" /></a></td>')
	document.write('</tr></table>')

	
	}

        
function TDover(objTd)
{
	objTd.className="trOver";
}
function TDout(objTd)
{
	objTd.className="trNormal";
}
