<style>
<!--
/*  .summaryTable td {
  border-right: 1px solid #CCC;
  background-color:white
}  */
-->
</style>
<div id="summaryTableContainer" style="min-width:850px;">
<table id="summaryPositionDTable" class="positionDT portfolioTable" >
    <tr>
      <th msgid="portfolioSummaryAsset" style="width: 85px;">Asset<br/>type</th>
      {{each summaryTable.titles}} 
        <th style="width: 85px;">{{if $value == 'OTHER'}}Others{{else}}${$value}{{/if}}<br/><span class="smallfont" msgid="portfolioSummaryRef">Ref Value<br/>% Asset Type</span></th>
      {{/each}}
      {{if summaryTable.tableType != 'OtherCurrency'}}
        <th style="width: 85px;"><span msgid="portfolioSummaryTotal">Total</span><div id="headTotal"></div><span msgid="portfolioSummaryPortfolio">% Portfolio</span></th>
      {{/if}}
    </tr>
    {{each summaryTable.rows}} 
    {{if $index%2==1 }}
		<tr class="even">
	{{else}}
		<tr class="odd">
	{{/if}}
    <td align="left">${$value[0].assetClassType}</td>
        {{each(i) portfolioSummary.change($value, summaryTable.tableType)}} 
            <td style="vertical-align:bottom;">${value}<br/><span class="smallfont">${refValue}<br/>${percentage}</span></td>
        {{/each}}
        {{if summaryTable.tableType != 'OtherCurrency'}}
          <td style="vertical-align:bottom;">${$value[$value.length-1].refValue}<br/><span class="smallfont">${portfolioSummary.changeToPercent($value[$value.length-1].percentage)}</span></td>
        {{/if}}
    </tr>
    {{/each}}
    
    {{each summaryTable.creditRow}} 
    <tr>
    <td align="left" class="pSummaryRowbg">${$value[0].assetClassType}</td>
        {{each portfolioSummary.change($value, summaryTable.tableType)}} 
          <td class="pSummaryRowbg">${value}<br/><span class="smallfont">${refValue}</span></td>
        {{/each}}
        {{if summaryTable.tableType != 'OtherCurrency'}}
          <td class="pSummaryRowbg"><br/>
          	{{if $value[$value.length-1].refValue != null}}
          		${$value[$value.length-1].refValue}
          	{{else}}
          		-
          	{{/if}}
          </td>
        {{/if}}
    </tr>
    {{/each}}
</table>
</div>
	
