var myStatic = '';var theirStatic = '';var myRows = [];var theirRows = [];window.rootPath = './SWUCardList';var currentPlayerIndex = playerID;var otherPlayerIndex = playerID == 1 ? 2 : 1;window.myCardPanePanes = [];window.theirCardPanePanes = [];for(var i=0; i<1; ++i) { myRows[i] = ""; theirRows[i] = ""; }window.myCardPaneData = responseArr[1 + (currentPlayerIndex-1)*2];window.theirCardPaneData = responseArr[1 + (otherPlayerIndex-1)*2];window.myCardsData = responseArr[2 + (currentPlayerIndex-1)*2];window.theirCardsData = responseArr[2 + (otherPlayerIndex-1)*2];var dataIndex = 1 + (currentPlayerIndex-1)*2;myStatic += '
' + PopulateZone('myCardPane', responseArr[dataIndex], cardSize, './SWUCardList/concat', '0', 'Panel') + '
';var dataIndex = 2 + (currentPlayerIndex-1)*2;myCardPanePanes.push(responseArr[dataIndex]);var dataIndex = 1 + (otherPlayerIndex-1)*2;theirStatic += '
' + PopulateZone('theirCardPane', responseArr[dataIndex], cardSize, './SWUCardList/concat', '0', 'Panel') + '
';var dataIndex = 2 + (otherPlayerIndex-1)*2;theirCardPanePanes.push(responseArr[dataIndex]);RenderRows(myRows, theirRows);AppendStaticZones(myStatic, theirStatic);RenderPanes('CardPane', window.myCardPanePanes, window.theirCardPanePanes);