function myOpenWin(html){
Popup = window.open(html,'Popup','width=740,height=450,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no');
        Popup.focus();
}

function myOpenWin2(html){
Popup = window.open(html,'Popup','width=580,height=400,toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=yes,resizable=no,copyhistory=no');
        Popup.focus();
}

function myOpenWin3(html){
Popup = window.open(html,'Popup','width=600,height=400');
        Popup.focus();
}
function openWindowPercent(newURL, percentX,percentY) {
        // Declare and initialize top and left variables
  // Update properties if comp. browser
          newHeight = 10*percentY;
        newWidth = 10*percentX;

    if (parseInt(navigator.appVersion) >= 4){
          newHeight = parseInt((screen.availHeight * percentY) /70);
          newWidth = parseInt((screen.availWidth * percentX) /75);
        }

  // Open the new window using top and left properties
  var newwin = window.open(newURL, 'remote', 'status=yes,toolbar=yes,menubar=no,location=no,scrollbars=yes,width=' + newWidth + ',height=' + newHeight  + ',resizable=yes');
        newwin.focus();
}

function closeWindow(){
        close()
}

function imprimirPagina() {
          if (window.print)
            window.print();
          else
            alert("!~!NO_POSIBLE_TO_PRINT!~!");
}