punctuation marks in javascript
<p>can you guys plese help me to correct the punctuation marks in the javascript below? Found error when i paste in visual studio. I'm not familiar with javascript! Thanks guy...</p>

<pre><code>function showLocalImage(imgname) {
  imgname = imgname.replace(/\\/g,”/”);
  imgname = imgname.replace(/\’/g,”\\’”);
  content = “&lt;img src=\”" + String(imgname) + “\” border=\”0\” height=\”150\” weight=\”150\”&gt;”;
  eval(‘document.getElementById(“imagepreview”).innerHTML=\” + content +”‘”);
  document.getElementById.imagepreview.style.visibility =’visible’;
}
</code></pre>
