The easy way:
Code:
<a target="MyIframeName" href="...put any URL you like in here..." style="text-decoration: none;">
<img src="../samples/images/Edit3.png" alt = "Edit Status" />
</a>
...
<iframe name="MyIframeName" ...></iframe>
When you give a
target in an <a> link, if the target is the *NAME* of an <iframe>, then it automatically does what you want.
No JavaScript needed or wanted. Why work harder than that?