title: Joomla2.5 framework seems to be interfering with javascript syntax
body: <p>The below code works perfectly outside of Joomla2.5. as well as in earlier versions of Joomla , but fails when it's within a Joomla2.5 article, or rendered by a Joomla2.5 plugin.  </p>
  
  <p>The line in question is this one.  </p>
  
  <p><code>s1.addVariable('playlistfile',    'http://www.myserver.com/playlist.php?s=123&amp;u=789</code> </p>
  
  <p>It returns an XML playlist which the player normally loads and plays as expected, but is the cuplprit because using a hardcoded file name with an XML extention works properly.   I've tried all the usual encoding routines, but with no luck.  Is there an approach, or syntax, that will work from within Joomla2.5?</p>
  
  <p><strong>Full Context:</strong></p>
  
  <pre><code>&lt;script type='text/javascript'&gt;
    var s1 = new SWFObject('http://www.myserver.com/v5.7/player.swf', 'player', '420', '315', '9.0.124', '#FFFFFF');
    s1.addParam('allowfullscreen',    'true');
    s1.addParam('allowscriptaccess',  'always');
    s1.addVariable('streamer',        'rtmp://streaming.myserver.com/');
    s1.addVariable('playlistfile',    'http://www.myserver.com/playlist.php?s=123&amp;u=789');
    s1.write('mediaspace1');
  &lt;/script&gt;
  </code></pre>
  
  <p>Also, I'm aware that there are newer, and other ways of loading the JW Player, but this is an interim step of converting many, many sites, and some legacy code must be retained.</p>