// JavaScript Document<script>


function openVFStretchScroll(page, endWidth, endHeight, name)
{ 
  windowprops="width="+endWidth+",height="+endHeight+",left=" + ((screen.endWidth) / 2) + ",top=" + ((screen.endHeight) / 2) + ",scrollbars=0,location=0,toolbar=no, directories=no, status=no, menubar=no,resizable=no ";
  w = window.open(page,name,windowprops);
  if (w != null)  
    w.focus();  
}

function mostrar(nombreCapa){ 
display = (navigator.appName == "Microsoft Internet Explorer") ? "block" : "table-row" ;
document.getElementById(nombreCapa).style.display=display;}
function ocultar(nombreCapa){ 
display = (navigator.appName == "Microsoft Internet Explorer") ? "block" : "table-row" ;
document.getElementById(nombreCapa).style.display="none";} 

function alternar_banner(){ 
    window.document["banner"].src = array_imagen[contador].src 
    //window.document.links[0].href = array_url[contador] 
    window.document.getElementById('descrip').innerHTML = array_desc[contador]; 
    contador ++; 
    contador = contador % array_imagen.length 
    setTimeout("alternar_banner()",3000) 
    if(contador == 5){contador = 0} 
}

