

function cambio(abc)
{
if (document.getElementById(abc).style.display == 'none')
   document.getElementById(abc).style.display = 'block'
else
   document.getElementById(abc).style.display = 'none'
}

function salir(abc)
{
if (document.getElementById(abc).style.display == 'block')
   document.getElementById(abc).style.display = 'none'
else
   document.getElementById(abc).style.display = 'block'
}


function backward()
{
if (which>0){
which--
document.images.photoslider.src=photos[which]
            }
else {
which=photos.length-1
document.images.photoslider.src=photos[which]
       }
}

function forward()
{
if (which<photos.length-1){
which++
document.images.photoslider.src=photos[which]
                          }
else  {
which=0
document.images.photoslider.src=photos[which]
      }

}


function ventanaSecundaria()
{  
window.open(photos[which],"ventana1","width=500,height=300,scrollbars=NO")
}



// JavaScript Document