prueba con este script haber si te va:
Código HTML:
<html>
<head>
<script type="text/javascript">
function ir(url)
{
window.open(url);
}
</script>
</head>
<body>
<a contenteditable="true">
<img src="../logo.jpg" alt="yeah" width="79" height="99" onCLick="ir('http://www.google.es')"></a>
</body>
</html>