/*
 *	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.couponPreferences = new models_CouponPreferences();
}

function models_Preferences(){
	this.showJITHelpView = null;
	this.verifyBets = null;
	this.showBetInfo = null;
	this.showPercentBook = null;
	this.showMatchedBets = null;
	this.refreshMarketViewOnDemand = null;
	this.oAutoRefresh = null;
	this.displayAverageOddsView = null;
	this.displayConsolidatedBetView = null;
	this.displayProfitLoss = null;
	this.layColour = null;
	this.displayFuturePL = null;
	this.displaySettledPL = null;
	this.displayNetCommisionPL = null;
	this.liabilityView = null;
	this.marketMessagesOpen = null;
}

function models_CouponPreferences(){
	this.couponStake1 = null;
	this.couponStake2 = null;
	this.couponStake3 = null;
	this.couponStake4 = null;
	this.couponStake5 = null;
	this.enableSingleClickBetting = null;
	this.singleClickBettingEnabled = false;
//	this.currentOddsView = null;
}

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