I\'m trying to make the img with the id image rotate using the onclick event handler to use the code in my function which grabs the image by ID assigns a variable name, then use
try to use div with id as a selector:
and var img = document.getElementById("image").getElementsByTagName('img');
worth a try!