<?
$caption = $_GET['caption'];
$name = $_GET['name']; 
$size = $_GET['size'];
?>
<html>
<head>
<title>
<? echo $caption; ?>
</title>
</head>
<body>
<center>
<? 
	if ($size == "large")
		$s = "";
	else {
		echo "<a href=\"pic.php?name=$name&size=large&caption=$caption\">";
		$s = "medium-";
	}
	echo "<img border=0 src=\"";
	echo "http://tirania.org/pictures/$s$name";
	echo "\">";
	if ($size != "large")
		echo "</a>";
?>
<p>
<? echo $caption; ?>
</center>

