function high(which2)
{
theobject=which2;
highlighting=setInterval("highlightit(theobject)",50);
	
}
function low(which2)
{
clearInterval(highlighting);
which2.filters.alpha.opacity=50;
}
function highlightit(cur2)
{
if(cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if(window.highlighting)
clearInterval(highlighting)
}
function fotogrande(url,ancho,alto,titulo){
derecha=(screen.width-ancho)/2;
arriba=(screen.height-alto)/2;

var string="toolbar=0,scrollbars=0,statusbar=0,location=0,menubar=0,resizable=0,"+"";
var string2="top="+arriba+",left="+derecha+",width="+ancho+",height="+alto+"";
var look=string+string2;
longitud=url.length;
subcadena=url.substring(longitud-3,longitud);
  if (subcadena == 'htm')
           {
           popwin=window.open(url,"",look);
           }
           else{
           popwin=window.open("","",look);
           popwin.document.open()
                   popwin.document.write('<title>'+titulo+'</title><body background="'+url+'"></body>')
           }
}
function abrir_url(url,ancho,alto,titulo){
derecha=(screen.width-ancho)/2;
arriba=(screen.height-alto)/2;

var string="toolbar=1,scrollbars=1,statusbar=1,location=1,menubar=1,resizable=1,"+"";
var string2="top="+arriba+",left="+derecha+",width="+ancho+",height="+alto+"";
var look=string+string2;
window.open(url,"",look);
           		   
}
function abrir_url2(url,ancho,alto,titulo){
derecha=(screen.width-ancho)/2;
arriba=(screen.height-alto)/2;

var string="toolbar=0,scrollbars=0,statusbar=1,location=0,menubar=0,resizable=0,"+"";
var string2="top="+arriba+",left="+derecha+",width="+ancho+",height="+alto+"";
var look=string+string2;
window.open(url,"",look);
           		   
}
function ver(capa)
{
document.getElementById(capa).style.visibility="visible";
}
function cegar(capa)
{
document.getElementById(capa).style.visibility="hidden";
}
