title: Add dynamic html to fancy box
body: <p>Been using FancyBox to display a swf player.  What I would like to do is have an if statement that, when false adds the flash vars to 'swf': {...}, which I have working.  And when true displays some inline markup.  </p>
  
  <pre><code>if (true) {
      $.fancybox({
          'type': inline
          //can I ref markup here???
      });
  } else {
      $.fancybox({
          'href' : somepath,
          'type': 'swf',
          'swf': {..}
      });
  }
  </code></pre>
  
  <p>Would someone be able to advise on how I can either reference the markup using the approach above.  Or if I can even add dynamic html here, which would be a nicer approach.</p>
  
  <p>Thanks in advance</p>
  
  <p>Eddie</p>