<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title>{% block title %}{% endblock %}</title>
		
        <link href='http://fonts.googleapis.com/css?family=Quattrocento+Sans' rel='stylesheet' type='text/css'>
		<link rel="Stylesheet" type="text/css" href="/static/wiki.css"/>
		
		<script src="http://www.google.com/jsapi"></script>
		
		<script type="text/javascript">
			google.load("jquery", "1.3.2");
			
			google.setOnLoadCallback(function() {
				
				jQuery('#topic-box').keyup(function(event) {
					boxContent = jQuery.trim($(this).val());
					
					if(event.keyCode == 13
						&& (boxContent.match(/\w+/))) {
						alert('Hello: ' + boxContent);
						document.location.href=boxContent;
					}
				});
			});
		</script>
	</head>
	
	<body>
		{% block body %}
		{% endblock %}
	</body>
</html>
