﻿/*--
Copyright © 1998, 2009, Oracle and/or its affiliates.  All rights reserved.
--*/

var sounds=new Array();

function SoundObj(id,filelist)
{
	this.flist=filelist.split("+");
	this.fct=this.flist.length;
	for (var i=0;i<this.fct;i++)
	{
		s=this.flist[i];
		if (s.substr(0,5)=="TEMP:")
		{
			this.flist[i]="../../template/"+s.substr(5);
		}
	}
};

function Sound(id,filelist)
{
	if (id.indexOf('.')<0)
		id+=".ASX";
	sounds[id.substr(1)]=new SoundObj(id,filelist);
};
