/*
GamesByEmail.TicTacToeGameForm
Copyright © 2005-2010 Scott Nesin, all rights reserved.
*/
/*
   ***** Preprocessed code, any modifications will be lost. *****
     Foundation.js, object oriented JavaScript framework:
     http://FoundationDotJS.org/
     Preprocessed for speed:
     http://FoundationDotJS.org/Foundation.Preprocessor.htm
*/
GamesByEmail.TicTacToeGameForm=function(settings)
{
   GamesByEmail.GameForm.apply(this,arguments);
};
GamesByEmail.TicTacToeGameForm.$parentClass=GamesByEmail.GameForm;
if (!GamesByEmail.GameForm.$childClasses) GamesByEmail.GameForm.$childClasses=new Array();
GamesByEmail.GameForm.$childClasses.push(GamesByEmail.TicTacToeGameForm);
GamesByEmail.TicTacToeGameForm.$constructor=GamesByEmail.GameForm.$constructor ? GamesByEmail.GameForm.$constructor : function(){};
GamesByEmail.TicTacToeGameForm.$interfaces=new Array();
GamesByEmail.TicTacToeGameForm.$name="TicTacToeGameForm";
GamesByEmail.TicTacToeGameForm.$childClasses=new Array();
GamesByEmail.TicTacToeGameForm.$container=GamesByEmail;
GamesByEmail.TicTacToeGameForm.prototype={
   constructor:GamesByEmail.TicTacToeGameForm,
   server:GamesByEmail.GameForm.prototype.server,
   serverSerialized:GamesByEmail.GameForm.prototype.serverSerialized,
   serverSynchronous:GamesByEmail.GameForm.prototype.serverSynchronous,
   resource:GamesByEmail.GameForm.prototype.resource,
   event:GamesByEmail.GameForm.prototype.event,
   elementId:GamesByEmail.GameForm.prototype.elementId,
   getElement:GamesByEmail.GameForm.prototype.getElement,
   getElementValue:GamesByEmail.GameForm.prototype.getElementValue,
   parseElementId:GamesByEmail.GameForm.prototype.parseElementId,
   attachEvent:GamesByEmail.GameForm.prototype.attachEvent,
   detachEvent:GamesByEmail.GameForm.prototype.detachEvent,
   createPlayer:GamesByEmail.GameForm.prototype.createPlayer,
   requestSessionInfo:GamesByEmail.GameForm.prototype.requestSessionInfo,
   importSettings:GamesByEmail.GameForm.prototype.importSettings,
   setStartAnotherGamePlayers:GamesByEmail.GameForm.prototype.setStartAnotherGamePlayers,
   getHtml:GamesByEmail.GameForm.prototype.getHtml,
   createGameHtml:GamesByEmail.GameForm.prototype.createGameHtml,
   getDefaultTitle:GamesByEmail.GameForm.prototype.getDefaultTitle,
   onGameTypeChange:GamesByEmail.GameForm.prototype.onGameTypeChange,
   updateEmailStyle:GamesByEmail.GameForm.prototype.updateEmailStyle,
   focusOnPlayer:GamesByEmail.GameForm.prototype.focusOnPlayer,
   setPlayer:GamesByEmail.GameForm.prototype.setPlayer,
   recordMe:GamesByEmail.GameForm.prototype.recordMe,
   recordFriend:GamesByEmail.GameForm.prototype.recordFriend,
   recordAll:GamesByEmail.GameForm.prototype.recordAll,
   numPlayersOnChange:GamesByEmail.GameForm.prototype.numPlayersOnChange,
   createGamePlayersHtml:GamesByEmail.GameForm.prototype.createGamePlayersHtml,
   createGamePlayerHtml:GamesByEmail.GameForm.prototype.createGamePlayerHtml,
   createGamePlayButtonHtml:GamesByEmail.GameForm.prototype.createGamePlayButtonHtml,
   playThisTeam:GamesByEmail.GameForm.prototype.playThisTeam,
   getOurEmail:GamesByEmail.GameForm.prototype.getOurEmail,
   onMicroLoginShow:GamesByEmail.GameForm.prototype.onMicroLoginShow,
   attachHelpers:GamesByEmail.GameForm.prototype.attachHelpers,
   inviteSomeone:GamesByEmail.GameForm.prototype.inviteSomeone,
   attemptLogin:GamesByEmail.GameForm.prototype.attemptLogin,
   handleBuddyResponse:GamesByEmail.GameForm.prototype.handleBuddyResponse,
   openInvitation:GamesByEmail.GameForm.prototype.openInvitation,
   playerModeBack:GamesByEmail.GameForm.prototype.playerModeBack,
   teamTitle:GamesByEmail.GameForm.prototype.teamTitle,
   requestGame:GamesByEmail.GameForm.prototype.requestGame,
   gleanGame:GamesByEmail.GameForm.prototype.gleanGame,
   handleRequestGameResponse:GamesByEmail.GameForm.prototype.handleRequestGameResponse,
   jsSerialize:GamesByEmail.GameForm.prototype.jsSerialize,
   onCreate:GamesByEmail.GameForm.prototype.onCreate,
   play:GamesByEmail.GameForm.prototype.play,
   sendPlay:GamesByEmail.GameForm.prototype.sendPlay,
   updateJoinForm:GamesByEmail.GameForm.prototype.updateJoinForm,
   updatePlayerCreate:GamesByEmail.GameForm.prototype.updatePlayerCreate,
   updatePlayerJoin:GamesByEmail.GameForm.prototype.updatePlayerJoin,
   onCreateSuccess:GamesByEmail.GameForm.prototype.onCreateSuccess,
   catchResponseError:GamesByEmail.GameForm.prototype.catchResponseError,
   responseErrorReported:GamesByEmail.GameForm.prototype.responseErrorReported,
   handlePlayResponse:GamesByEmail.GameForm.prototype.handlePlayResponse,
   getPlayUrl:GamesByEmail.GameForm.prototype.getPlayUrl,
   setShowGameControl:GamesByEmail.GameForm.prototype.setShowGameControl,
   showGame:GamesByEmail.GameForm.prototype.showGame,
   joinGameHtml:GamesByEmail.GameForm.prototype.joinGameHtml,
   startNewGame:GamesByEmail.GameForm.prototype.startNewGame,
   isPlayerShownOnJoin:GamesByEmail.GameForm.prototype.isPlayerShownOnJoin,
   joinGamePlayersHtml:GamesByEmail.GameForm.prototype.joinGamePlayersHtml,
   joinGamePlayerHtml:GamesByEmail.GameForm.prototype.joinGamePlayerHtml,
   positionsAvailableToJoin:GamesByEmail.GameForm.prototype.positionsAvailableToJoin,
   onRequestJoinLock:GamesByEmail.GameForm.prototype.onRequestJoinLock,
   joinThisGame:GamesByEmail.GameForm.prototype.joinThisGame,
   onJoinLockSuccess:GamesByEmail.GameForm.prototype.onJoinLockSuccess,
   handleJoinResponse:GamesByEmail.GameForm.prototype.handleJoinResponse,
   onCancelJoin:GamesByEmail.GameForm.prototype.onCancelJoin,
   cancelJoin:GamesByEmail.GameForm.prototype.cancelJoin,
   onJoin:GamesByEmail.GameForm.prototype.onJoin,
   joinGame:GamesByEmail.GameForm.prototype.joinGame,
   onJoinSuccess:GamesByEmail.GameForm.prototype.onJoinSuccess,
   handleJoinedResponse:GamesByEmail.GameForm.prototype.handleJoinedResponse,
   recommendThisGame:GamesByEmail.GameForm.prototype.recommendThisGame,
   recommendingGame:GamesByEmail.GameForm.prototype.recommendingGame,
   cancelRecommend:GamesByEmail.GameForm.prototype.cancelRecommend,
   handleRecommendResponse:GamesByEmail.GameForm.prototype.handleRecommendResponse,
   gameBoardUrl:GamesByEmail.GameForm.prototype.gameBoardUrl
};
GamesByEmail.TicTacToeGameForm.defaultSettings={
      gameTypes:[24],
      allowedNumPlayers:[2]
   };
GamesByEmail.TicTacToeGameForm.resourcePack={
      language:"English",
      gameTitles:{},
      gameDescriptions:{},
      teamTitles:["Player 1","Player 2"]
   }
;
GamesByEmail.TicTacToeGameForm.getTypePath=GamesByEmail.GameForm.getTypePath;
GamesByEmail.TicTacToeGameForm.resource=GamesByEmail.GameForm.resource;
GamesByEmail.TicTacToeGameForm.getById=GamesByEmail.GameForm.getById;
GamesByEmail.TicTacToeGameForm.getFirst=GamesByEmail.GameForm.getFirst;
GamesByEmail.TicTacToeGameForm.getNext=GamesByEmail.GameForm.getNext;
GamesByEmail.TicTacToeGameForm.isInstanceOf=GamesByEmail.GameForm.isInstanceOf;
GamesByEmail.TicTacToeGameForm.changeDomain=GamesByEmail.GameForm.changeDomain;
GamesByEmail.TicTacToeGameForm.importDefaultSettings=GamesByEmail.GameForm.importDefaultSettings;
GamesByEmail.TicTacToeGameForm.isEmailAddressFormatValid=GamesByEmail.GameForm.isEmailAddressFormatValid;
GamesByEmail.TicTacToeGameForm.handleBuddyResponse=GamesByEmail.GameForm.handleBuddyResponse;
GamesByEmail.TicTacToeGameForm.isForGameType=GamesByEmail.GameForm.isForGameType;
GamesByEmail.TicTacToeGameForm.findClassForGameType=GamesByEmail.GameForm.findClassForGameType;
GamesByEmail.TicTacToeGameForm.createGameForm=GamesByEmail.GameForm.createGameForm;
GamesByEmail.TicTacToeGameForm.addCreateGameFormToPage=GamesByEmail.GameForm.addCreateGameFormToPage;
GamesByEmail.TicTacToeGameForm.writeJoinGameFormToPage=GamesByEmail.GameForm.writeJoinGameFormToPage;
GamesByEmail.TicTacToeGameForm.$constructor();

GamesByEmail.TicTacToeGameForm.resourcePack.gameTitles[24]="Tic-Tac-Toe";
GamesByEmail.TicTacToeGameForm.resourcePack.gameDescriptions[24]="Get three in a row.";
