Código PHP:
<script>
function ver(){
document.write('<div id="zapDiv200" style="position:absolute;left:328px;top:98px;width:61px;height:22px;z-index:100;"><form action="main.aspx?online=1" method="post" enctype="multipart/form-data" name="Free_Write" id="Free_Write4" onsubmit="return Free_Board_Write(this)" target="selfr" ><input type="hidden" name="ot" value="1" /><input type="image" src="poke_images/tableros/click_entrar.gif" name="button6" id="button6" value="Elegir" width="41" height="20" target="selfr" /></form></div>');
}
</script>
<table width="200" border="1"><tr><td> </td><td onClick="ver();">arriba</td><td> </td></tr><tr><td onClick="ver();">izquierda</td><td> </td><td onClick="ver();">derecha</td></tr><tr ><td> </td><td onClick="ver();">abajo</td><td> </td></tr></table>