/*
 *	User Model
 */
function models_User(){
	this.name = null;
	this.loggedIn = null;
	this.accountID = null;
	this.accountBalance = null;
	this.locale = null;
	this.region = null;
	this.timezone = null;
	this.currency = null;
	this.isAllowedToBetInPlay = null;
	this.commissionPrice = null;
	this.preferences = new models_Preferences();
	this.defaultExchange = 1;
	this.customerNumber = null;
}

function models_Preferences(){
	// Prefs from MVOptions Panel
	this.displayProfitAndLoss = null;
	this.includeSettledBets = null;
	this.includeNetCommision = null;
	this.displayFutureProfitAndLoss = null;
	this.displayStakeLadder = null;
	this.couponOddsDisplay = null;
	this.autoRefresh = null;
	this.layColour = null;
	this.enhancedView = null;
	// Prefs from Place Bets
	this.liabilityView = null;
	this.showHelp = null;
	this.verifyBet = null;
	this.percentageBook = null;
	// Prefs from My Bets
	this.betInfo = null;
	this.matchedBets = null;
	this.consolidated = null;
	this.averageOdds = null;
	// Prefs from MV Header
	// TODO use the CONSTANT HERE INSTEAD
	this.uiView = null;
	this.couponStake1 = null;
	this.couponStake2 = null;
	this.couponStake3 = null;
	this.couponStake4 = null;
	this.couponStake5 = null;
	// Pref for serving initial demo help popup (see scr 28422)
	this.showDemoHelp = null;
	// Pref for showing fractional odds on rollover (see scr 28705)
	this.showFractionalOdds = null;
	// competition
	this.flashUpdate = null;
	this.tournamentNavigation = null;
	
	this.displayLayPrices = null;
	this.displayMarketDepth = null;
	this.displayStartingPrices = null;
	this.displayProjectedOdds = null;
	this.showMouseOverHelp = null;
	this.showBetSummaryMessaging = null;
	this.displayBetHelpTabDefault = null;
	this.displayMyMarketsDefault = null;
	this.displayRaceCardInfo = null;
	this.showRaceDetailsMouseOvers = null;
	this.clusterUnmatchedBets = null;
	this.preferenceGroupTitleStates = null;
	this.displayBetStatusTitle = null;
	this.showBspWarning = null;
	this.useFloatingBetSlip = null;
	this.displayZoneVideo = null;
	this.displayLiveScores = null;
	this.multiplesUIView = null;
	// Minigames Prefs
	this.displayMiniGames = null;
	this.miniGamesEnabled = null;
	this.miniGamesMinimizedState = null;	
}

try{
	interface_registerJSResource("userModel");
}catch(x){
	
}
