<html>
<body>
<img id="lowres" src="1.png" lowsrc="2.png" width="100" height="100" />
<br />
<script type="text/javascript">
var x=document.getElementById("compman");
document.write('<a href="' + x.lowsrc + '">Get The Low Resolution</a>');
</script>
</body>
</html>