how to rewrite this this inline javascript with jquery?
<p>I have the following markup with inline javascript and would like to change it to Jquery. Any help would be appreciated.</p>

<pre><code>&lt;a title="823557" href="/PhotoGallery.asp?ProductCode=471823557" id="product_photo_zoom_url"&gt;
&lt;img border="0" onload="vZoom.add(this, '/v/vspfiles/photos/471823557-2.jpg');"
alt="823557"
src="/v/vspfiles/photos/471823557-2T.jpg" id="product_photo"&gt;&lt;/a&gt;
</code></pre>

<p>I guess I would need to use this?</p>

<pre><code>$(function(){
&lt;---- somecode----&gt;
});
</code></pre>
