  function JoinWindow(ref,what) {
     var window_left = (screen.width-640)/2;
     var window_top = (screen.height-480)/2;
     window.open(ref,'JoinWin','scrollbars=yes,width=580,height=580,status=no,top=' + window_top + ',left=' + window_left + '');
  }


