<thead>
					<tr class="table_head">
						<th class="bottom lowpriority"> <span class="hastooltip" title="Zone Date">Orig Date</span><div class="none">The date that this stock fell into the zone.</div></th>
						<th class="bottom lowpriority">Abandon Date</th>
						<th class="bottom"> <span class="hastooltip" title="Ticker Symbol">Symbol </span><div class="none">The ticker symbol of this BioBounce holding.</div></th>
						<th class="bottom"> <span class="hastooltip" title="Trade Type">Type</span><div class="none">The type of trade for this BioBounce holding.</div></th>
						<th class="bottom"> <span class="hastooltip" title="Original Price">Orig Price</span><div class="none">The best possible price point that this stock was purchased.</div> </th>
						<th class="bottom"> <span class="hastooltip" title="Abandon Price">Sell Price</span><div class="none">The price that this stock was sold/covered.</div></th>
						<th class="bottom"> <span class="hastooltip" title="BioBounce Return">Return</span><div class="none">The current return percent of this stock based on the original price.</div> </th>
						<th class="bottom"> <span class="hastooltip" title="Valuation">Valuation</span><div class="none">The amount a $5000 investment returned.</div> </th>
					</tr>
				</thead>
				<tbody id="ChartTableBody"></tbody>
				
<?php 
$abandon = ticker_group_info::retrieveAllAbandonArray();
$tablestate = "row_odd";
$prevMonth = "";
$allMonths = array();
$sumMonths = array();
$tablesByMonth = array();
$first = true;
foreach ($abandon as $holding) {
    $hid = $holding['holdings_id'];
    $tradeType = $holding['holdings_tradetype'];
    $counter = 0;
    $sum = 0;
    if ($holding['holdings_t1_marked'] == 1) {
        $counter++;
        $sum += $holding['holdings_t1'];
    }