
function ventana(imagename, ancho, alto){
ancho=ancho+20
alto=alto+30
if (ancho > 900) {ancho=900;};
if (alto > 750) {alto=750;};
window.open(imagename,"Imagen","menubar=no,scrollbars=yes,status=no,width="+ancho+",height="+alto+", top=0, left=0, screenX=0, screenY=0")
}

 

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->

// CODIGO GALERIA DE FOTOS DE MANTOS

current = 0;
PicVal = new Array(13);
DatVal = new Array(13);
TxtVal = new Array(13);

PicVal[0] = "imagenes/cofradias/mantos/img1.jpg";
TxtVal[0] = "NUESTROS TRABAJOS Manto, vestido, y accesorios";

PicVal[1] = "imagenes/cofradias/mantos/img2.jpg";
TxtVal[1] = "NUESTROS TRABAJOS Manto, vestido, y accesorios";

PicVal[2] = "imagenes/cofradias/mantos/img3.jpg";
TxtVal[2] = "NUESTROS TRABAJOS Manto, vestido, y accesorios";

PicVal[3] = "imagenes/cofradias/mantos/img4.jpg";
TxtVal[3] = "NUESTROS TRABAJOS Manto, vestido, y accesorios";

PicVal[4] = "imagenes/cofradias/mantos/img5.jpg";
TxtVal[4] = "NUESTROS TRABAJOS Manto, vestido, y accesorios";

PicVal[5] = "imagenes/cofradias/mantos/img6.jpg";
TxtVal[5] = "NUESTROS TRABAJOS Manto, vestido, y accesorios";

PicVal[6] = "imagenes/cofradias/mantos/img7.jpg";
TxtVal[6] = "NUESTROS TRABAJOS Manto, vestido, y accesorios";

PicVal[7] = "imagenes/cofradias/mantos/img8.jpg";
TxtVal[7] = "NUESTROS TRABAJOS Manto, vestido, y accesorios";

PicVal[8] = "imagenes/cofradias/mantos/img9.jpg";
TxtVal[8] = "NUESTROS TRABAJOS Manto, vestido, y accesorios";

PicVal[9] = "imagenes/cofradias/mantos/img14.jpg";
TxtVal[9] = "MANTO OVALADO, REALIZADO EN BROCADO VERDE CON PUNTILLA ALREDEDOR";

PicVal[10] = "imagenes/cofradias/mantos/img15.jpg";
TxtVal[10] = "MANTO OVALADO, REALIZADO EN BROCADO VERDE CON PUNTILLA ALREDEDOR";

PicVal[11] = "imagenes/cofradias/mantos/img16.jpg";
TxtVal[11] = "NUESTROS TRABAJOS Manto, vestido, y accesorios";

PicVal[12] = "imagenes/cofradias/mantos/img17.jpg";
TxtVal[12] = "NUESTROS TRABAJOS Mantos";

PicVal[13] = "imagenes/cofradias/mantos/img18.jpg";
TxtVal[13] = "NUESTROS TRABAJOS Mantos";

function ShowSuzyPic(newpic) {
  document.SuzyPic.src = PicVal[newpic];
  document.SuzyForm.SuzyText.value=TxtVal[newpic];      
  SelectionBox = document.SuzyForm.SuzyDropdown;
  SelectionBox.options[newpic].selected = true;
  current = newpic;
}
function RandomSuzyPic() {
  TotalImages = document.SuzyForm.SuzyDropdown.options.length;
  current = Math.floor(Math.random()*TotalImages);
  ShowSuzyPic(current);
}
function PreviousSuzyPic() {
  TotalImages = document.SuzyForm.SuzyDropdown.options.length;
  current--;
  if(current<0) current = TotalImages - 1;
  ShowSuzyPic(current);
}
function NextSuzyPic() {  
  var TotalImages = document.SuzyForm.SuzyDropdown.options.length;
  current++;
  if (current>=TotalImages) current = 0;
  ShowSuzyPic(current);
}
// -->TERMINA EL CODIGO DE MANTOS


// anular boton derecho
  function anularBotonDerecho() {
    if (event.button==2) {
     alert('Artesania Nazaret, pongase en contacto con nosotros');
    }
  }
  document.onmousedown=anularBotonDerecho; 

// termina el codigo boton derecho

<!-- Begin
function lista(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End -->





