load a code as the first thing in a webpage?
<p>How do I make the followings code load the first thing in my website ? as matter of fact I want the href to load the first thing.</p>

<pre><code>&lt;link rel="image_src" href="" id="ShareImageID"/&gt;
&lt;script&gt;
var ShareImageIdVar = location.href.match(/\d+/);
document.getElementById('ShareImageID').href = "http://www.mysite.com/Images/"+ ShareImageIdVar +".jpg";
&lt;/script&gt;
</code></pre>

<p>what I am trying to do is, when some one share this page on facebook I want facebook to load this picture as thumbnail. So i want this herf to be filled out as soon the page loads out.</p>
