<html>
<head>
<script>
function t()
{var s = document.i1.style;
s.top = parseInt(s.top)+10 + 'px';}
function a()
{var s = document.i1.style;
s.top = 10 + 'px';}
</script>
</head>
<body>
<img name="i1" src="http://sait-raznoe.do.am/pr/1/1.png" style="top : 10px; position: relative;" onclick=t();>
<input type="button" value="начальная позиция" onclick=a();>
</body>
</html>