title: Javascript open new window, need to stop from loading in same
body: <p>Ok so im working on a bingo site that has a games page and a bingo rooms page.  I need the players to be able to simultaneously play the casino games while playing bingo games.</p>
  
  <p>Whats happening is everything just loads in same window.  </p>
  
  <p>At the moment for example i have on the onclick event as follows...</p>
  
  <pre><code>&lt;a href="javascript:void(0);" onclick="Player.LaunchBingoRoom('169')"&gt;
  </code></pre>
  
  <p>the LaunchBingoRoom i have:</p>
  
  <pre><code>LaunchBingoRoom: function (roomId) {
          if (!Player.IsLoggedIn()) {
              window.location.href = 'loginpage.html?login2play';
              return;
          }
          var roomFound = false;
  
          ko.utils.arrayForEach(Player.BingoRooms(), function (roomInstance) {
              var bingoRoomId = roomInstance.RoomId();
              if (bingoRoomId.toLowerCase() == roomId.toLowerCase()) {
                  roomFound = true;
                  Game.OpenBingoRoomWindow(roomId, 100, 100);
                  return;
              }
          });
  </code></pre>
  
  <p>how will i put the open.window in?</p>
  
  <p>Any help would be very appreciated.</p>
  
  <p>Thanks</p>
  
  <p>here it is, sorry bout that. </p>
  
  <pre><code> OpenBingoRoomWindow: function (roomId, left, top) {
          var session = Game.SessionDetails();
          if (session == undefined) {
              return false;
          }
          window.open(((document.location.protocol == 'https:') ? 'https://' : 'http://') + this.BaseUrl + '/launch/bingo/' + roomId + '/' + session.UserId + '/' + session.SessionId + '/' + session.JSessionId + '/' + session.Language, "BingoRoom", "width=800,height=600,left=" + left + ",top=" + top + ",toolbar=0,status=0,location=no,");
          return true;
      },
  </code></pre>