function AbrPopup (NrForm){
  var NomeForm = NrForm;
  if(ie){
		popWidth=screen.availWidth;
		popHeight=screen.availHeight;
		}
  if(ns){
		popWidth=screen.availWidth-(window.outerWidth-window.innerWidth);
		popHeight=screen.availHeight-(window.outerHeight-window.innerHeight);
		}
		
  for (var ixx = 0; ixx < document.forms[NomeForm].selectPopup.length; ixx++) {
    if (document.forms[NomeForm].selectPopup.options[ixx].selected == true) {
      var axx = document.forms[NomeForm].selectPopup.options[ixx].value;
      if (axx == "null"){
      } else {
        var ixb = 0;
        var gxx = 0;
        var cxx = "";
        opcPopup = new Array(4)
          while (ixb < axx.length) {
                bxx = axx.substring(ixb,ixb+1);
              if (bxx == ";"){
                 gxx+=1;
                 opcPopup[gxx] = cxx;
               cxx = "";
               bxx = "";
              }
              cxx = cxx + bxx;
                ixb+=1;
          }
        document.forms[NomeForm].selectPopup.options[0].selected=true
        window.open (opcPopup[1],opcPopup[4] ,'toolbar=yes,menubar=yes,scrollbars=yes,status=yes,resizable=yes,width=' + opcPopup[2] + ',height=' + opcPopup[3] + '');
      }
    }
  }
}

