title: onclick to show an image in pop-up box
body: <p>I made a simple gallery, using this script to show the images:</p>
  
  <pre><code> $rs = mysql_query('SELECT * FROM images WHERE oferta_id=2');
  
  
   while($row = mysql_fetch_array($rs))
    {
          echo '&lt;li onclick="Large()"&gt;&lt;img src='.$row['location'].' alt="image"/&gt;&lt;/li&gt;';
  
    }
  </code></pre>
  
  <p>and I want to use javascript in a way that when an user click on a certain picture a box pops-up and he sees the picture larger.I think I'm on a right way using <code>onclick</code> in the <code>&lt;li&gt;</code> tag, but have almost no idea how to make the <code>Large()</code> function.Any help on the topic?</p>
  
  <p>Thanks</p>
  
  <p>Leron</p>