change the border of an image js

JavaScript
<input id="imageId" type="image" src="http://goo.gl/UohAz" onclick="mark(this)"/>

function mark(el) {
    el.style.border = "1px solid blue";
}
Source

Also in JavaScript: