<div id="header">
<span style="font-size:32px; line-height: 40px">Bracketology</span><br />
<span style="font-size:18px">A Prediction Market for the NCAA College Basketball Tournament</span>
</div>
<div id="mainbar">
  <p align="justify"> <strong>How to Play</strong>: Buy shares of your favorite teams and predict which games they'll win. </p>
  <table>
    <tr style="font-size: 16px">
       <td width="100px">Midwest</td>
       <td width="100px">West</td>
       <td width="100px">East</td>
       <td width="100px">South</td>
    </tr>
    <% for i in 0..3 %>
       <tr>
         <td><%= link_to_remote @midwest[i].name, :url => {:controller => "market", :action => "info", :team => @midwest[i]}, :update => "market_list" %></td>
         <td><%= link_to_remote @west[i].name, :url => {:controller => "market", :action => "info", :team => @west[i]}, :update => "market_list" %></td>
         <td><%= link_to_remote @east[i].name, :url => {:controller => "market", :action => "info", :team => @east[i]}, :update => "market_list" %></td>
         <td><%= link_to_remote @south[i].name, :url => {:controller => "market", :action => "info", :team => @south[i]}, :update => "market_list" %></td>
       </tr>
    <% end %>
  </table>
</div>

<div id="sidbar">
  <div id="login_logout">
    <% if session[:id] %>
      <%= render(:partial => "user/my_account") %>
    <% else %>
      <%= render(:partial => "user/login") %>
    <% end %>
  </div>
  
  <div id="market_list">
  </div>
</div>

<div id="footer">
Bracketology &copy;2007
</div>
