			<div class="project <%= @project.name.downcase %>" id="<%= @project.name.downcase %>">
				<h2><%= @project.name %></h2>

				<div class="content">
					<table class="summary">
						<colgroup>
							<col width="150">
							<col width="*">
						</colgroup>
						<tr>
							<td>Project Home</td>
							<td><a href="<%= @project.url %>"><%= @project.url %></a></td>
						</tr>
						<tr>
							<td>Inspected Files</td>
							<td><%= @project.files.extensions %></td>
						</tr>
					</table>

					<table class="releases">
						<tr class="header">
							<th colspan="4" class="none"></th>
							<th colspan="3">Lines indented by</th>
							<th colspan="2" class="none"></th>
						</tr>
						<tr class="header">
							<th>Version</th>
							<th>Files</th>
							<th>Lines</th>
							<th>Not</th>
							<th>Tabs</th>
							<th>Spaces</th>
							<th>Both</th>
							<th>Block comment</th>
							<th>Trailing</th>
						</tr>
<% @project.releases.each do |release| %>
						<tr class="release <%= "#{@project.name}-#{release.version}".downcase.gsub('.', '-') %>" onmouseover="VoidMeter.selectRelease('<%= @project.name.downcase %>', '<%= "#{@project.name} #{release.version}" %>', '<%= release.chart.filename %>', '<%= release.chart.imagemap_name %>', '<%= release.chart_trailing.filename %>', '<%= release.chart_trailing.imagemap_name %>');">
<%
result = @results.get_result(@project.name, release.version) || Hash.new
totals = result[:totals] || Hash.new(0)
files = totals[:files] || 0
lines = totals[:lines] || 0
indents = result[:indents] || Hash.new(0)
%>
							<td class="version"><a href="<%= release.url %>"><%= release.version %></a></td>
							<td><%= files %></td>
							<td><%= lines %></td>
							<td class="not"><%= indents[:not] %></td>
							<td class="tabs"><%= indents[:tabs] %></td>
							<td class="spaces"><%= indents[:spaces] %></td>
							<td class="both"><%= indents[:both] %></td>
							<td class="block_comment"><%= indents[:block_comment] %></td>
							<td class="trailing"><%= indents[:trailing] %></td>
						</tr>
<% end %>
					</table>

<% @project.releases.each do |release| %>
					<%= release.chart.imagemap.gsub(/\n/, '') << "\n" %>
					<%= release.chart_trailing.imagemap.gsub(/\n/, '') << "\n" %>
<% end %>

<%
if !@project.releases.empty?
	release = @project.releases[0]
%>
					<h3 class="chart-label"><%= @project.name %> <%= release.version %></h3>
					<div class="charts">
						<img src="charts/<%= release.chart.filename %>" class="chart" alt="" usemap="#<%= release.chart.imagemap_name %>">
						<img src="charts/<%= release.chart_trailing.filename %>" class="chart-trailing" alt="" usemap="#<%= release.chart_trailing.imagemap_name %>">
					</div>
<% end %>
				</div>
			</div>
