      var isIE = (navigator.appName == "Microsoft Internet Explorer") ? 1 : 0;// Tells us if the browser is Internet Explorer or something else

      var rowNum = 0;
      var colNum = 0;

      function formSubmit() {
        getTotal();

        var URL = 'pbingo/startSession.php?rn=' + rowNum + '&ln=' + colNum;
        var winops = 'width=650,resizable,address=no,menubar=no,scrollbars=yes,statusbar=no';

        var newwin;
        newwin = window.open(URL,'',winops);

        return false;
      }

      function getTotal() { //calculates the total words allowed on 1 bingo card (based on number of rows and columns)
        rowNum = parseInt(document.getElementById("rowNum").options[document.getElementById("rowNum").selectedIndex].text);
        colNum = parseInt(document.getElementById("colNum").options[document.getElementById("colNum").selectedIndex].text);

        document.getElementById("totalWords").value = colNum * rowNum;
      }
