<?
	include("includes/pagesetup.inc");
?>
<?
//	printf("in layouts.php<br>\n");
//	if (isset($_REQUEST['f'])) {
//		include("includes/layoutengine.inc");
//		return;
//	}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" src="async.js"></script>
<link rel="StyleSheet" href="<? echo $css; ?>" type="text/css" media="screen">
<title></title>
<meta name="description" content="">
<meta name="keywords" content="">
<style type="text/css">
.picture {display:inline; padding: 3px; font: 11px/1.4em Arial, sans-serif; text-align:center;}
.picture img { vertical-align:middle; margin-bottom: 3px; }
.right { margin: 0.5em 0pt 0.5em 0.8em; float:right; }
.left { margin: 0.5em 0.8em 0.5em 0; float:left; }
.center { width:700px;margin-left: auto; margin-right:auto;}
.maincaption {clear:both; font-size: 1em; font-weight:bold; }
#single { display: none; }
#multi { display: block; }
.thmulti { margin: 3px; }
</style>
</head>
<body onload="getpics();ShowPics(-1);return false;">
<?
include( $banner );
?>
<table border=0><tr>
<td valign="top" class="navcol">
<?
include("$sitenav");
?>
</td>
<td valign="top" class="contentcol">
<div class="picture left" id="single" style="width:790px">
<div  style="float:right;margin-top:10px;margin-left:130px;">
<img id="current" src="images/transparent.gif"><br style="clear:left;">
<span id="currenttext" class="maincaption"></span>
<br></div>
<div id="thumbstrip" class="center"  style="margin-right:140px;display:inline">
   <table style="margin-top:0px;"><tr><td><div class="picture left"><img id="thumbprev" src="" onclick="ShowPrev();" title="click for prev"><br>click for prev</div><br style="clear:left"></td></tr>
   <tr><td><div class="picture left"><img id="thumbthis" src=""></div><br style="clear:left"></td></tr>
   <tr><td><div class="picture left"><img id="thumbnext" src="" onclick="ShowNext();" title="click for next"><br>click for next</div></td></tr>
   <tr><td><br><span class="pseudolink" onClick="window.location.reload();">back to top</span></td></tr>
   </table>
</div>
</div>
<div id="multizone" class="right">
<?
   $f = "layouts/".$_REQUEST['m']."/description.inc";
   if (file_exists($f)) include($f);
 ?>
<div id="multipic"></div>
</div>

</td>
</tr></table>

<?
include("includes/footer.inc");
?>

</body>
</html>
