// JavaScript Document
function Abrir_ventana (pagina) {
var opciones="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=600,top=45,left=140";
window.open(pagina,"",opciones);
}

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 eliminarGal(enlace,codigo,accion) {
    borrar = window.confirm('Se eliminara la imagen seleccionada');
    if (borrar==true) {
      var operacion;
  	  operacion =enlace+codigo+'&accion='+accion;
	  if (operacion) location.href = operacion;
	}
	else 
	  return false;
}
function ventanaSecundaria2 (URL){ 
window.open(URL,"ventanaadm","width=217, height=117, scrollbars=no, menubar=no, location=no, resizable=no"); 
} 
function ventanaSecundaria (URL){ 
window.open(URL,"Detalles","width=670, height=500, top=50, left=20, scrollbars=yes, menubar=no, location=no, resizable=yes"); 
} 