var myStatic = '';var theirStatic = '';var myRows = [];var theirRows = [];window.rootPath = './SoulMastersSim';var currentPlayerIndex = playerID;var otherPlayerIndex = playerID == 1 ? 2 : 1;for(var i=0; i<1; ++i) { myRows[i] = ""; theirRows[i] = ""; }window.myDeckData = responseArr[1 + (currentPlayerIndex-1)*13];window.theirDeckData = responseArr[1 + (otherPlayerIndex-1)*13];window.myDiscardData = responseArr[2 + (currentPlayerIndex-1)*13];window.theirDiscardData = responseArr[2 + (otherPlayerIndex-1)*13];window.myHandData = responseArr[3 + (currentPlayerIndex-1)*13];window.theirHandData = responseArr[3 + (otherPlayerIndex-1)*13];window.myResourcesData = responseArr[4 + (currentPlayerIndex-1)*13];window.theirResourcesData = responseArr[4 + (otherPlayerIndex-1)*13];window.myBattlegroundData = responseArr[5 + (currentPlayerIndex-1)*13];window.theirBattlegroundData = responseArr[5 + (otherPlayerIndex-1)*13];window.myCommanderData = responseArr[6 + (currentPlayerIndex-1)*13];window.theirCommanderData = responseArr[6 + (otherPlayerIndex-1)*13];window.myEquipmentData = responseArr[7 + (currentPlayerIndex-1)*13];window.theirEquipmentData = responseArr[7 + (otherPlayerIndex-1)*13];window.myBattlefieldData = responseArr[8 + (currentPlayerIndex-1)*13];window.theirBattlefieldData = responseArr[8 + (otherPlayerIndex-1)*13];window.myHealthData = responseArr[9 + (currentPlayerIndex-1)*13];window.theirHealthData = responseArr[9 + (otherPlayerIndex-1)*13];window.myResourceDeckData = responseArr[10 + (currentPlayerIndex-1)*13];window.theirResourceDeckData = responseArr[10 + (otherPlayerIndex-1)*13];window.myReservesData = responseArr[11 + (currentPlayerIndex-1)*13];window.theirReservesData = responseArr[11 + (otherPlayerIndex-1)*13];window.myEnergyData = responseArr[12 + (currentPlayerIndex-1)*13];window.theirEnergyData = responseArr[12 + (otherPlayerIndex-1)*13];window.myResourcePoolData = responseArr[13 + (currentPlayerIndex-1)*13];window.theirResourcePoolData = responseArr[13 + (otherPlayerIndex-1)*13];var dataIndex = 1 + (currentPlayerIndex-1)*13;myStatic += '
' + PopulateZone('myDeck', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Single') + '
';var dataIndex = 2 + (currentPlayerIndex-1)*13;myStatic += '
' + PopulateZone('myDiscard', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Single') + '
';var dataIndex = 3 + (currentPlayerIndex-1)*13;myStatic += '
' + PopulateZone('myHand', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'All') + '
';var dataIndex = 4 + (currentPlayerIndex-1)*13;myStatic += '
' + PopulateZone('myResources', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Count') + '
';var dataIndex = 5 + (currentPlayerIndex-1)*13;myStatic += '
' + PopulateZone('myBattleground', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'All') + '
';var dataIndex = 6 + (currentPlayerIndex-1)*13;myStatic += '
' + PopulateZone('myCommander', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Single') + '
';var dataIndex = 7 + (currentPlayerIndex-1)*13;myStatic += '
' + PopulateZone('myEquipment', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'All') + '
';var dataIndex = 8 + (currentPlayerIndex-1)*13;myStatic += '
' + PopulateZone('myBattlefield', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'All') + '
';var dataIndex = 9 + (currentPlayerIndex-1)*13;myStatic += '
' + PopulateZone('myHealth', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Value') + '
';var dataIndex = 10 + (currentPlayerIndex-1)*13;var dataIndex = 11 + (currentPlayerIndex-1)*13;myStatic += '
' + PopulateZone('myReserves', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Self') + '
';var dataIndex = 12 + (currentPlayerIndex-1)*13;myStatic += '
' + PopulateZone('myEnergy', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Self') + '
';var dataIndex = 13 + (currentPlayerIndex-1)*13;myStatic += '
' + PopulateZone('myResourcePool', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Single') + '
';var dataIndex = 1 + (otherPlayerIndex-1)*13;theirStatic += '
' + PopulateZone('theirDeck', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Single') + '
';var dataIndex = 2 + (otherPlayerIndex-1)*13;theirStatic += '
' + PopulateZone('theirDiscard', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Single') + '
';var dataIndex = 3 + (otherPlayerIndex-1)*13;theirStatic += '
' + PopulateZone('theirHand', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'All') + '
';var dataIndex = 4 + (otherPlayerIndex-1)*13;theirStatic += '
' + PopulateZone('theirResources', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Count') + '
';var dataIndex = 5 + (otherPlayerIndex-1)*13;theirStatic += '
' + PopulateZone('theirBattleground', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'All') + '
';var dataIndex = 6 + (otherPlayerIndex-1)*13;theirStatic += '
' + PopulateZone('theirCommander', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Single') + '
';var dataIndex = 7 + (otherPlayerIndex-1)*13;theirStatic += '
' + PopulateZone('theirEquipment', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'All') + '
';var dataIndex = 8 + (otherPlayerIndex-1)*13;theirStatic += '
' + PopulateZone('theirBattlefield', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'All') + '
';var dataIndex = 9 + (otherPlayerIndex-1)*13;theirStatic += '
' + PopulateZone('theirHealth', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Value') + '
';var dataIndex = 10 + (otherPlayerIndex-1)*13;var dataIndex = 11 + (otherPlayerIndex-1)*13;theirStatic += '
' + PopulateZone('theirReserves', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Self') + '
';var dataIndex = 12 + (otherPlayerIndex-1)*13;theirStatic += '
' + PopulateZone('theirEnergy', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Self') + '
';var dataIndex = 13 + (otherPlayerIndex-1)*13;theirStatic += '
' + PopulateZone('theirResourcePool', responseArr[dataIndex], cardSize, './SoulMastersSim/concat', '0', 'Single') + '
';RenderRows(myRows, theirRows);AppendStaticZones(myStatic, theirStatic);