Ok, this works great on my dev machine, but not working on godaddy.com. Every time I clicked on the image, the page is just loaded itself instead of going to the previewphoto.aspx page.

<img id="ctl00_ContentPlaceHolder1_ImgPhoto" class="ImgPhoto" onclick="<!--ow.open('../member/previewphoto.aspx?uid=676971b9-ca9e-463e-8b48-6b5d5b1b01c2&amp;id=22', 'child', 'scrollbars,width=650,height=600--> return false" src="../Photos/../photos/UserLock.png" style="height:100px;width:100px;border-width:0px;" /><br /><br />
<div id="ctl00_ContentPlaceHolder1_divPhotos"><input type="image" name="ctl00$ContentPlaceHolder1$ctl00" src="../photos/UserLock.png" onclick="<!--ow.open('../member/previewphoto.aspx?uid=676971b9-ca9e-463e-8b48-6b5d5b1b01c2&amp;id=22', 'child', 'scrollbars,width=650,height=600--> return false;WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ContentPlaceHolder1$ctl00&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, false))" style="height:45px;width:45px;border-width:0px;" />&nbsp;<input type="image" name="ctl00$ContentPlaceHolder1$ctl02" src="../Photos/admin_IMG_1304rd.jpg" onclick="<!--ow.open('../member/previewphoto.aspx?uid=676971b9-ca9e-463e-8b48-6b5d5b1b01c2&amp;id=48', 'child', 'scrollbars,width=650,height=600--> return false;WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ContentPlaceHolder1$ctl02&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, false))" style="height:45px;width:45px;border-width:0px;" />&nbsp;</div>