title: Lightbox JS Error on Magento in IE9 - Unable to get value of the property '0': object is null or undefined
body: <p>Debug from IE</p>
  
  <p>Line: 2
  Character: 580
  Code: 0
  Error Message: Unable to get value of the property '0': object is null or undefined
  URL: <a href="http://100repupgrade.clubnetdev.com/fresh//media/js/skin/reprebate/js/lightbox_cp.js" rel="nofollow">http://100repupgrade.clubnetdev.com/fresh//media/js/skin/reprebate/js/lightbox_cp.js</a></p>
  
  <p>URL where problem can be seen: <a href="http://100repupgrade.clubnetdev.com/fresh/featured/the-hundreds-mike-jacket-grey.html" rel="nofollow">http://100repupgrade.clubnetdev.com/fresh/featured/the-hundreds-mike-jacket-grey.html</a></p>
  
  <p>At the above URL, if you click on the 'Size' drop down box, the debug error pops up as copied above. This is coming from a Magento extension that is apparently compatible with this version of Magento (1.6.2.0). The section it appears to be referring to in the js file is:-</p>
  
  <pre><code>while(this.imageArray[imageNum][0]!=imageLink.href){imageNum++;}}
  </code></pre>
  
  <p>This is only an issue in IE9 (and possible other IE versions), there is no problem in Firefox, Chrome etc.</p>
  
  <p>When the problem occurs, clicking on the drop down box should just display the product size options but instead it is loading a dark overlay associated to the lightbox.</p>
  
  <p>Would anybody be able to identify at all what the issue could be and how to fix at all please? This has had me stumped for about two hours now.</p>
  
  <p>Any help greatly appreciated - thanks.</p>
  
  <p>EDIT: More Info.</p>
  
  <p>An exact replica of this site and code works fine at <a href="http://www.reprebate.com/featured/the-hundreds-mike-jacket-grey.html" rel="nofollow">http://www.reprebate.com/featured/the-hundreds-mike-jacket-grey.html</a> by the way. This issue has only become apparent since upgrading Magento from 1.4 to 1.6 but the lightbox extension developer definitely reckons his extension works on 1.6... Thanks</p>