soundManager.url = base_url  + 'bin/sm2/'; // directory where SM2 .SWFs live
// Note that SounndManager will determine and append the appropriate .SWF file to the URL.

// disable debug mode after development/testing..
 soundManager.debugMode = false;

var sonidos = new Array (); 

sonidos['nico'] = 'etc/nico.mp3'; 
sonidos['tea'] = 'vowels/tea.mp3';
sonidos['ship'] = 'vowels/ship.mp3';
sonidos['bell'] = 'vowels/bell.mp3';
sonidos['cat'] = 'vowels/cat.mp3';
sonidos['hut'] = 'vowels/hut.mp3';
sonidos['car'] = 'vowels/car.mp3';
sonidos['sock'] = 'vowels/sock.mp3';
sonidos['fork'] = 'vowels/fork.mp3';
sonidos['cook'] = 'vowels/cook.mp3';
sonidos['boot'] = 'vowels/boot.mp3';
sonidos['the'] = 'vowels/the.mp3';
sonidos['girl'] = 'vowels/girl.mp3';
sonidos['day'] = 'diphthongs/day.mp3';
sonidos['take'] = 'diphthongs/take.mp3';
sonidos['fine'] = 'diphthongs/fine.mp3';
sonidos['like'] = 'diphthongs/like.mp3';
sonidos['boy'] = 'diphthongs/boy.mp3';
sonidos['coin'] = 'diphthongs/coin.mp3';
sonidos['house'] = 'diphthongs/house.mp3';
sonidos['phone'] = 'diphthongs/phone.mp3';
sonidos['beer'] = 'diphthongs/beer.mp3';
sonidos['chair'] = 'diphthongs/chair.mp3';
sonidos['hour'] = 'diphthongs/hour.mp3';
sonidos['hour2'] = 'diphthongs/hour2.mp3';
sonidos['power'] = 'diphthongs/power.mp3';
sonidos['power2'] = 'diphthongs/power2.mp3';
sonidos['fire'] = 'diphthongs/fire.mp3';
sonidos['fire2'] = 'diphthongs/fire2.mp3';
sonidos['tired'] = 'diphthongs/tired.mp3';
sonidos['tired2'] = 'diphthongs/tired2.mp3';
sonidos['ahouse'] = 'examples/ahouse.mp3';
sonidos['ban'] = 'examples/ban.mp3';
sonidos['barbara'] = 'examples/barbara.mp3';
sonidos['barn'] = 'examples/barn.mp3';
sonidos['bean'] = 'examples/bean.mp3';
sonidos['bin'] = 'examples/bin.mp3';
sonidos['bird'] = 'examples/bird.mp3';
sonidos['born'] = 'examples/born.mp3';
sonidos['brute'] = 'examples/brute.mp3';
sonidos['bun'] = 'examples/bun.mp3';
sonidos['cart'] = 'examples/cart.mp3';
sonidos['cast'] = 'examples/cast.mp3';
sonidos['caught'] = 'examples/caught.mp3';
sonidos['cod'] = 'examples/cod.mp3';
sonidos['cord'] = 'examples/cord.mp3';
sonidos['cot'] = 'examples/cot.mp3';
sonidos['could'] = 'examples/could.mp3';
sonidos['cup'] = 'examples/cup.mp3';
sonidos['cut'] = 'examples/cut.mp3';
sonidos['cheek'] = 'examples/cheek.mp3';
sonidos['chick'] = 'examples/chick.mp3';
sonidos['fell'] = 'examples/fell.mp3';
sonidos['fool'] = 'examples/fool.mp3';
sonidos['foot'] = 'examples/foot.mp3';
sonidos['forks'] = 'examples/forks.mp3';
sonidos['fox'] = 'examples/fox.mp3';
sonidos['hat'] = 'examples/hat.mp3';
sonidos['lack'] = 'examples/lack.mp3';
sonidos['learn'] = 'examples/learn.mp3';
sonidos['lip'] = 'examples/lip.mp3';
sonidos['lock'] = 'examples/lock.mp3';
sonidos['look'] = 'examples/look.mp3';
sonidos['luck'] = 'examples/luck.mp3';
sonidos['luke'] = 'examples/luke.mp3';
sonidos['luke2'] = 'examples/luke2.mp3';
sonidos['march'] = 'examples/march.mp3';
sonidos['men'] = 'examples/men.mp3';
sonidos['mood'] = 'examples/mood.mp3';
sonidos['much'] = 'examples/much.mp3';
sonidos['neck'] = 'examples/neck.mp3';
sonidos['pan'] = 'examples/pan.mp3';
sonidos['part'] = 'examples/part.mp3';
sonidos['perch'] = 'examples/perch.mp3';
sonidos['photograph'] = 'examples/photograph.mp3';
sonidos['port'] = 'examples/port.mp3';
sonidos['posh'] = 'examples/posh.mp3';
sonidos['pull'] = 'examples/pull.mp3';
sonidos['put'] = 'examples/put.mp3';
sonidos['sat'] = 'examples/sat.mp3';
sonidos['seat'] = 'examples/seat.mp3';
sonidos['set'] = 'examples/set.mp3';
sonidos['sheep'] = 'examples/sheep.mp3';
sonidos['shirt'] = 'examples/shirt.mp3';
sonidos['sit'] = 'examples/sit.mp3';
sonidos['soon'] = 'examples/soon.mp3';
sonidos['soon2'] = 'examples/soon2.mp3';
sonidos['station'] = 'examples/station.mp3';
sonidos['teen'] = 'examples/teen.mp3';
sonidos['ten'] = 'examples/ten.mp3';
sonidos['thesun'] = 'examples/thesun.mp3';
sonidos['tin'] = 'examples/tin.mp3';
sonidos['turn'] = 'examples/turn.mp3';
sonidos['pool'] = 'examples/pool.mp3';
sonidos['pool2'] = 'examples/pool2.mp3';
sonidos['bed'] = 'examples/bed.mp3';
sonidos['ben'] = 'examples/ben.mp3';
sonidos['sell'] = 'examples/sell.mp3';
sonidos['sall'] = 'examples/sall.mp3';
sonidos['sull'] = 'examples/sull.mp3';
sonidos['card'] = 'examples/card.mp3';
sonidos['fast'] = 'examples/fast.mp3';
sonidos['parse'] = 'examples/parse.mp3';
sonidos['pot'] = 'examples/pot.mp3';
sonidos['fall'] = 'examples/fall.mp3';
sonidos['paul'] = 'examples/paul.mp3';
sonidos['torn'] = 'examples/torn.mp3';
sonidos['short'] = 'examples/short.mp3';
sonidos['first'] = 'examples/first.mp3';
sonidos['purse'] = 'examples/purse.mp3';

function sm2_play(archivo)
{
	sonido = sonidos[archivo];

	soundManager.createSound(archivo, base_url + 'recursos/sound/' + sonido);
	soundManager.play(archivo);
}