function main() {
var STATE_IDLE = -1;
var state = STATE_IDLE;
var initAccount = $.GetAccount();
Log(initAccount);
var pos = null;
var table = {
type : 'table',
title : '账户信息',
cols : ['阶段', '钱', '币'],
rows : [['初始', initAccount.Balance, initAccount.Stocks], ['当前', 0, 0]],
};