/* xxx
 * create xxx
 * by xxx
 * autor @ Miroslav Kovar
 * developed for Pilot.cz
 * usage: xxxx
 */
var sound = new Class({
  initialize: function(song)
  {    
    this.build(song);
  },
  build: function(song)
  {
    return;
    
    if (!$('system_sound'))
    {
      new Element('div', {'id': 'system_sound'}).inject(document.body, 'bottom');
    }
    var container = $('system_sound');
    // container.empty();
    
    var sound = new Swiff('/sound/'+song+'.swf', {
      // id: 'system_sound',
      width: 1,
      height: 1
    });
    
    container.grab(sound);
    
    // ie 6
    if (Browser.Engine.trident4)
    {
      container.innerHTML=container.innerHTML;
    }
    
    // this.sound.inject(document.body, 'top');
  }
});
