<?php
session_start();
for ($y=0; $y<=10; $y++){
for ($x=0; $x<=10; $x++){
$mapelements.="<div style='float:left; position:relative; left:".($x*50)."; top:".($y*50)."; width:50px; height:50px;' id='x".$x."y".$y."'></div>";
}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<title></title>
<script language="javascript" type="text/javascript" src="AjaxGear.Core.js"></script>
<script language="javascript" type="text/javascript" src="client.js"></script>
</head>
<body onLoad="process();">
<table width="550" height="550" border="1" align="center" cellpadding="1" cellspacing="1">
<tr>
<td align="left" valign="top" bgcolor="#c0c0c0"><div style='float:left; position:relative; left:0; top:0; width:550px; height:550px;'><?php echo $mapelements;?></div></td>
</tr>
</table>
</body>
</html>