Heck, if we're going to be using the anchor for sure, then we may as well use the onmouseover
directly in the anchor element.
<a href="newpage.html" onmouseover="window.location.href=this.href;"><img src="
The reason I reiterated the url in both elements was so that, if the OP didn't go for the parent anchor idea, the method would still remain usable and obvious.
(I'd also be inclined to leave out the whitespace in this instance [an inline
passage], to head off potential future issues with walking through the branch using childNodes
. Whitespace is seen as a child by some browsers, but not others.)
A minor point and one largely of personal preference.