load the src of an image from .js file?
<p>I have a file called <code>src.js</code> which has all the scripts for my html page.</p>

<p>Now on my HTML page I am using this:</p>

<pre><code>&lt;script language="javascript" src="src.js"&gt;
&lt;/script&gt;
</code></pre>

<p>Now what I want to have an image in my html file (<code>&lt;img src=""/&gt;</code>) and the src of that image I want to load form the <code>.js</code> file.</p>

<p>How do I do that?</p>
