//abrir ventana a un tamaño especifico
function ventanaSecundaria (URL){ 
window.open(URL,"Detalles","width=700, height=500, top=50, left=20, scrollbars=yes, menubar=no, location=no, resizable=yes"); 
} 
function ventanaClave (URL){ 
window.open(URL,"ventanaadm","width=220, height=150, scrollbars=no, menubar=no, location=no, resizable=no"); 
} 
function ir (URL){ 
window.open(URL,"Detalles","width=670, height=500, top=50, left=20, scrollbars=yes, menubar=no, location=no, resizable=yes"); 
} 
function ampliaFoto(){
GP_AdvOpenWindow('ampliaFoto.asp?img='+foto,'form_ampli','fullscreen=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no',550,413,'center','ignoreLink','',0,'');return document.MM_returnValue
}

// -->
<!--GALERIA
function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}
function cerrar() {
	close();
}
function marcar(valor,cuadro) {
  if (valor=="1") cuadro.checked=true;
}
function marcar_lista(valor,form) {
  var b = 0;
  var tam = form.options.length;
  while(b < tam) {
    if (form.options[b].value ==valor) {
      form.options[b].selected = true;
      form.selectedIndex = b;
      return;
    }
    b++;
  }  	      
}
function marcar_estrella(frm,estrella) 
{
 frm.rgestrellas[estrella].checked=true;
}
function eliminarP(enlace,codigo,paquete,accion) {
    borrar = window.confirm('Se eliminara el Paquete '+paquete);
    if (borrar==true) {
      var operacion;
  	  operacion =enlace+codigo+'&paquete='+paquete+'&accion='+accion;
	  if (operacion) location.href = operacion;
	}
	else 
	  return false;
}
function eliminarE(enlace,codigo,paquete,accion) {
    borrar = window.confirm('Se eliminara la Excursión '+paquete);
    if (borrar==true) {
      var operacion;
  	  operacion =enlace+codigo+'&exc='+paquete+'&accion='+accion;
	  if (operacion) location.href = operacion;
	}
	else 
	  return false;
}
function eliminarH(enlace,codigo,hotel,accion) {
    borrar = window.confirm('Se eliminara el Hotel '+hotel);
    if (borrar==true) {
      var operacion;
  	  operacion =enlace+codigo+'&accion='+accion;
	  if (operacion) location.href = operacion;
	}
	else 
	  return false;
}
function eliminarD(enlace,codigo,destino,accion) {
    borrar = window.confirm('Se eliminara el Destino '+destino);
    if (borrar==true) {
      var operacion;
  	  operacion =enlace+codigo+'&accion='+accion;
	  if (operacion) location.href = operacion;
	}
	else 
	  return false;
}
function eliminarNot(enlace,codigo,noticia,accion) {
    borrar = window.confirm('Se eliminara la noticia '+noticia);
    if (borrar==true) {
      var operacion;
  	  operacion =enlace+codigo+'&accion='+accion;
	  if (operacion) location.href = operacion;
	}
	else 
	  return false;
}
