function wndopen(name,widthWnd,heightWnd)
        {
          var height=0;
          var width=0;
          width = screen.width
          height = screen.height

          if (width > 0 && height > 0){xc=width/2-widthWnd/2;yc=height/2-heightWnd/2;}
          else{xc=0;yc=0;}
          window.open(name,"_blank",'menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0, left='+xc+', top='+yc+', width='+widthWnd+',height='+heightWnd)
        }
