javascript not execute at live
<p>I am using Visual Studio. My javascript is functioning if I debug it at local host, the function is very simple, photo change at mouseOver.</p>

<p>But after I upload my file to my server, this function is not working. I have tried it on Chrome, Firefox, IE and Safari:</p>

<pre><code>function mouseOver1()
{
    var category1 = document
         .getElementById('ctl00_ContentPlaceHolder1_lblItemID')
         .innerHTML + '_1.jpg';

    document
      .getElementById('&lt;%= iPhotoMain.ClientID.Replace("$","_") %&gt;')
      .src = 'photos/product/' + category1;
}

&lt;img id ="photo1" 
     src ="photos/product/noImage.gif" 
     onmouseover="mouseOver1();"  
     class="thumbpic" 
     runat ="server" /&gt;
</code></pre>
