title: How can I stop getting a 'product is undefined' Javascript error in Magento Product page?
body: <p>I have a custom magento store and I though everything was ok but i am having JS errors only on the product pages, and only on IE8!</p>
  
  <p>If you view this page in IE8: <a href="http://www.guitarfood.com/featured-products/lava-mini-coil-guitar-patch-lead-purple.html" rel="nofollow">http://www.guitarfood.com/featured-products/lava-mini-coil-guitar-patch-lead-purple.html</a> </p>
  
  <p>You will get a lot of JS errors to do with Magento. I think this is because I am using a jQuery image gallery, and Magento uses prototype. (Even though i have the no conflict set up - and it works as I use a slider on the hoe page with no errors.) I removed this jQuery gallery plug in and the page worked fine. So i thought i would add a prototype based gallery plugin, but then i get a 'product is undefined' JS error in IE8?</p>
  
  <p>Here is the other version: <a href="http://dev.guitarfood.com/featured-products/planet-waves-pw-vg-01-varigrip.html" rel="nofollow">http://dev.guitarfood.com/featured-products/planet-waves-pw-vg-01-varigrip.html</a></p>
  
  <p>Ideally i would like to keep the jQuery slider from the original URL.</p>
  
  <p>Does anyone have any ideas - i'm all out, and it's driving me mad.</p>