/*       Source:  Global Cache                                                                */
/*     Location:  js/lib/util/sound.js r113502                                                */
/*      Machine:  10.16.139.103                                                               */
/*    Generated:  July 31st 2008 1:35:39 PM PDT                                               */
/*    HTTP Host:  static.ak.fbcdn.net                                                         */


function Sound(){Sound.play('/sound/quack.mp3');}
copy_properties(Sound,{play:function(path){uri=URI(path);if(!uri.getDomain()){path=URI(env_get('static_base')).setPath(uri.getPath()).toString();}
var player;var embed;if(/\.mp3$/.test(path)){player=document['so_sound_player']||window['so_sound_player'];if(player){if(!player.playSound&&player.length){player=player[0];}
if(player.playSound){player.playSound(path);return;}}}
embed=ge('sound');if(!embed){embed=document.createElement('span');embed.setAttribute('id','sound');document.body.appendChild(embed);}
embed.innerHTML='<embed src="'+path+'" autostart="true" hidden="true" />';}});
if(window.Bootloader){Bootloader.done(1);}