<% 
def create_link(name, description)
	"<a href='#{name}.html' class='#{name == @filename.gsub(".html", "") ? 'here' : ''}'>#{description}</a>"
end
 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
	<head>
		<title>
			GitX - <%= @title %>
		</title>
		<link rel="stylesheet" href="css/master.css" type="text/css" media="screen" title="Main Style" charset="utf-8">
		<link rel="shortcut icon" href="images/favicon.png" type="image/x-icon">
		<link href="http://gitx.frim.nl/Downloads/appcast.xml" rel="alternate" type="application/rss+xml" title="GitX Application Update Feed">

		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	</head>
	<body>
		<div id="container">
			<div id="header">
				GitX
			</div>
			<div id="nav">
				<%= create_link("index", "Home") %>
				<%= create_link "seeit", "See it" %>
				<%= create_link "contribute", "Contribute" %>
				<%= create_link 'release_history', "Release&nbsp;History" %>
				<%= create_link 'user_manual', "User Manual" %>
				<%= create_link 'links', "Links" %>
				<%= create_link 'contact', "Contact" %>
			</div>
			<!-- <div id="subnav">
				<a href="#">Home</a>
				<a href="#">Screenshots</a>
				<a href="#">Movies</a>
				<a href="#">Open Source</a>
				<a href="#">About</a>
			</div> -->
			<div id="content">
				<%= @body %>
			</div>
			<div id="footer">
				© Some rights reserved. <a href="http://github.com/pieter/gitx/tree/master/COPYING" title="GPL">GPL v2</a>. <a href="mailto:frimmirf+gitx@gmail.com">Pieter de Bie</a> (<a href="http://twitter.com/pdebie">@pdebie</a>) is the GitX maintainer. Website design by <a href="http://www.ai.rug.nl/~kdoes/index.php?id=webdesign">Kim Does</a>.
			</div>
		</div>
	<script type="text/javascript">
	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
	</script>
	<script type="text/javascript">
	var pageTracker = _gat._getTracker("UA-4534244-3");
	pageTracker._trackPageview();
	</script>
	</body>
</html>
