<!DOCTYPE html>
<html manifest="manifest.appcache">
<head>
<title>Die Zeit als Wort - in HTML, CSS und JS</title>
<script type="text/javascript" src="jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="uhr-de_CH.js"></script>
<script type="text/javascript" src="uhr.js"></script>
<link rel="stylesheet" type="text/css" href="uhr.css" />
<link rel="stylesheet" type="text/css" href="uhr-black.css" id="theme" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
</head>
<body>
	<div id="uhr">
		<span class="item dot dot1" id="dot1"></span>
		<span class="item dot dot2" id="dot2"></span>
		<span class="item dot dot3" id="dot3"></span>
		<span class="item dot dot4" id="dot4"></span>
		<div id="renderarea"></div>
		<!-- glossy reflection -->
		<span id="reflection"></span>
	</div>
	<div id="themeswitcher">
		<input type="radio" name="theme" id="theme-black" value="black" checked="checked" /><label for="theme-black">BLACK</label>
		<input type="radio" name="theme" id="theme-red" value="red" /><label for="theme-red">RED</label>
		<input type="radio" name="theme" id="theme-blue" value="blue" /><label for="theme-blue">BLUE</label>
		<input type="radio" name="theme" id="theme-green" value="green" /><label for="theme-green">GREEN</label>
		<input type="radio" name="theme" id="theme-white" value="white" /><label for="theme-white">WHITE</label>
	</div>
	<div class="onoffswitch">
		<input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="onoffswitch" checked="checked" onclick="updateClockState()" />
		<label class="onoffswitch-label" for="onoffswitch">
		    <div class="onoffswitch-inner"></div>
		    <div class="onoffswitch-switch"></div>
		</label>
	</div>
	<p id="disclaimer">Created by fritteli, inspired by <a href="http://www.qlocktwo.com/">QLOCKTWO</a>.
	<script type="text/javascript">
		$(document).ready(function() {
			render(layout, '#renderarea');
			$('input[name=theme]').on('click', function() {
				switchTheme(this);
			});
			startClock();
		});
	</script>
</body>
</html>