function printValueatRisktable($year)
 {
     $obj1 = new db_controller_unit();
     $top100_financial_info = $obj1->getTop100FinancialInfo($year);
     if (!empty($top100_financial_info)) {
         echo '<div id="demoDiv"><div id="demoGrid"><table id="demoTable"><colgroup><col id="demoTableCol1"></colgroup><thead><tr>';
         $title_name = $this->getTop100TitleName();
         for ($i = 0; $i < count($title_name); $i++) {
             echo "<th><span id=demoHdr" . $i . ">" . $title_name[$i] . "</span></th>";
         }
         echo '</tr></thead><tbody>';
         for ($i = 0; $i < count($top100_financial_info); $i++) {
             echo '<tr>';
             for ($j = 0; $j < count($top100_financial_info[0]); $j++) {
                 if ($j < 2) {
                     echo '<td class="g_title">' . $top100_financial_info[$i][$j] . '</td>';
                 } else {
                     if (preg_match('/%/', $top100_financial_info[$i][$j])) {
                         echo '<td>' . $top100_financial_info[$i][$j] . '</td>';
                     } else {
                         echo '<td>' . $this->thousandsplit($top100_financial_info[$i][$j]) . '</td>';
                     }
                 }
             }
             echo '</tr>';
         }
         echo '</tbody></table></div></div>';
     } else {
         echo '<br>no data.';
     }
 }