<form><input type="button" name="backward" onClick="moveImg(-1, jsArr)" /></form>
<img src="image.jpg" onclick="moveImg(-1, jsArr)"/>
<style> button { margin: 0; padding: 0; border: 0; background: none } </style> <form> <button name="backward" onClick="moveImg(-1, jsArr)"> <img src='http://javascript.ru/forum/images/ca_serenity/buttons/reply.gif' /> </button> </form>