画像の表示位置を変えるには
		
			<html>
			<head>
			<title>Sample</title>
			<script type="text/javascript"><!--
			function posImage(x,y)
			{
			 document.images["photo"].style.position = "absolute";
			 document.images["photo"].style.left = x;
			 document.images["photo"].style.top = y;
			}
			// --></script>
			</head>
			<body>
			<img src="photo.jpg" name="photo">
			<form>
			<input type="button" value="画像を(100,150)に移動する" onClick="posImage(100,50)">
			<input type="button" value="画像を(240,200)に移動する" onClick="posImage(240,100)">
			</form>
			</body>
			</html>
		
		
		
			
 説明などは本書を参考にしてください。