//abrir ventana a un tamaņo especifico
function ventanaSecundaria (URL){ 
window.open(URL,"Detalles","width=670, 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(frm)//hotel cuenta con 
{
 frm.checked=true;
}
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 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;
}