// $Revision: 3876 $

var audioPlayer = {
    
    params: {
      wmode: 'transparent', 
      allowScriptAccess: 'always'
    },
    
    path: "/profile/player-6713ADED0A036BA8980FFAFC9F4FCBA7.swf",
    
    place: function(id, flashVars)
    {
      try
      {
         swfobject.embedSWF(this.path, id, "616", "90", "9.0.0",
                   {}, flashVars, this.params, {});
      }
      catch(e) {}
    },
    
    
    iPlayer: 0,
    addArray: new Array(),
    add: function(id, flashVars)
    {
      this.addArray[this.iPlayer] = new Array();
      this.addArray[this.iPlayer]['id'] = id;
      this.addArray[this.iPlayer]['flashVars'] = flashVars;
      this.iPlayer++;
    },
    
    placeAdded: function()
    {
      for(var i in this.addArray)
         this.place(this.addArray[i]['id'], this.addArray[i]['flashVars']);     
    }
};                                   