How to add image button to a link using html in javascript
<p>The image button is not working perfectly.. any suggestions ?</p>

<p>The current code on which i am working is:-</p>

<pre><code>var generator = window.open (); 
 generator.document.write('&lt;html&gt;&lt;head&gt;&lt;title&gt;Pop uP&lt;/title&gt;');
generator.document.write('&lt;p style="color:#C52B27;"&gt;');
generator.document.write(message);
 generator.document.write('&lt;/p&gt;');
generator.document.write('&lt;/head&gt;&lt;body&gt;');

 generator.document.write('&lt;a href="javascript:self.close()"&gt;&lt;img src="/img/save_orange.gif" border=0"&gt;&lt;\/a&gt;');
generator.document.write('&lt;/body&gt;&lt;/html&gt;');
generator.document.close();
</code></pre>
