<?php $questions = array(
	"Pbhagevrf juvpu funer n ynaq obeqre jvgu rknpgyl bar bgure pbhagel",
	"Xryybtt'f prernyf pheeragyl ba fnyr va gur HX",
	"GI frevrf va juvpu Nyna Qnivrf unf nccrnerq va bar be zber rcvfbqrf",
	"Jbeqf juvpu fpber rknpgyl guerr cbvagf va n tnzr bs Fpenooyr (abg vapyhqvat gur hfr bs oynaxf)", 
	"Bynl'f frira fvtaf bs ntrvat",
	"Synibhef bs fbhc va gur Urvam enatr (rkpyhqvat Ovt Fbhc)",
	"Anzrq pebffjbeqf sebz HX arjfcncref",
	"Qnapr zbirf yvfgrq va gur pubehf bs gur Gvzr Jnec",
	"Glcrf bs pnxr fbyq ol Ze Xvcyvat",
	"Fcnprf ba n Zbabcbyl obneq",
	"Fhowrpgf pheeragyl bssrerq ng N-yriry va Ratynaq",
	"Anghenyyl bppheevat zbbaf va gur fbyne flfgrz",
	"Riragf va juvpu Grnz TO jba n tbyq zrqny va gur 2012 Bylzcvp Tnzrf",
	"Jbeqf raqvat va __BCR",
	"Svyzf va juvpu Fgrcura Sel unf nccrnerq",
	"Tvira anzrf juvpu ner nyfb ireof" // no comma on the last one
); ?><html>
<head>
	<title>pointless poll</title>
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
	<script type="text/javascript">
		var time = 100;
		function go() {
			$('p').css("visibility", "visible");
			$('a').hide();
			setInterval(timer, 1000);
		}
		function timer() {
			--time;
			if (time<=0) {
				$('form').submit();
			}
			$('div').html(time.toString());
		}
	</script>
</head>
<body>	

Thanks, but we've got everything we need now.

</body>
</html><?php /*

	<?php $qi = (isset($_GET['q']) ? $_GET['q'] : 1);
		if ($qi > count($questions))
			die('all done!</body></html>');
		$q = str_rot13($questions[$qi - 1]) ?>
	<div style="float: right; font-size: 150px">100</div>
	<p>You have 100 seconds to name as many of the thing as you can. The thing you have to name will appear here when you click the link below.
		The form will submit itself when the time's up, so put your Twitter name in first if you want to give it! Those achieving otherwise Pointless answers will be notified by Twitter afterwards.</p>
		<p>One more thing: the purpose of doing this is so that a group of people, who are all on Twitter, can play the game afterwards so please
		 don't discuss the questions or your answers publicly, as that would make the whole thing, ironically, pointless.</p>
	<p>Question <?php echo $qi; ?> of <?php echo count($questions); ?>:</p>
	<p style="visibility: hidden;"><?php echo $q; ?></p>
	<a href="javascript:go();">Got it, start the timer!</a>
	<form action="/common/emailform.php" method="POST">
		<input type="hidden" name="redirect" id="redirect" value="/stuff/unlisted/pointless.php?q=<?php echo ($qi+1); ?>" />
		<input type="hidden" name="destemail" value="stecks@gmail.com" />
		<input type="hidden" name="usersubject" value="<?php echo "Q. $qi: " . substr($q, 0, 25); ?>" />
		<input type="hidden" name="subject" value="[Pointless] " />
		<input type="text" name="name" placeholder="your Twitter handle" value="<?php if (isset($_GET['twitter'])) echo $_GET['twitter']; ?>" onenter="return false;" onchange="$('#redirect').val('/stuff/unlisted/pointless.php?q=<?php echo ($qi+1); ?>&amp;twitter='+$(this).val());" />
		<br />
		<textarea name="answer" cols="60" rows="30"></textarea>
		<br />
		<input type="submit" value="Submit now" /> (without waiting for the time to run out)
	</form>
	
</body>
</html>
*/