<img id="compman" src="/upload2/statics/images/w3c/eg_compman.gif" lowsrc="/statics/images/w3c/eg_compman_lowres.gif" alt="Computerman" width="107" height="98"> <br> <script> var x=document.getElementById("compman"); document.write('<a href="' + x.lowsrc + '">Low resolution</a>'); </script>