title: jQuery Error - Cannot call method 'indexOf' of undefined
body: <p>I have this code to fix the issue of flash hopping over all your content in the z-index:</p>
  
  <pre><code>$("iframe").each(function(){
      var ifr_source = $(this).attr('src');
      var wmode = "wmode=opaque";
      if(ifr_source.indexOf('?') != -1) {
          var getQString = ifr_source.split('?');
          var oldString = getQString[1];
          var newString = getQString[0];
          $(this).attr('src',newString+'?'+wmode+'&amp;'+oldString);
      }
      else $(this).attr('src',ifr_source+'?'+wmode);
  });
  </code></pre>
  
  <p>For some reason, i'm getting errors on the indexOf, and it's breaking the site. But oddly, it's not breaking it entirely, just one css resize fix I have on there.</p>
  
  <blockquote>
    <p>Uncaught TypeError: Cannot call method 'indexOf' of undefined</p>
  </blockquote>
  
  <p>The site is here: <a href="http://syndex.me" rel="nofollow">http://syndex.me</a></p>
  
  <p>Would love to know why this is happening.</p>