function PlaySound( filename )
{
	var 	d;

	/**********************************************************************
		The "embed" that we create will have attributes for both
		QuickTime (autoplay) and LiveAudio (autostart)
	***********************************************************************/
	d = top.soundFrame.document;
	d.open();
	d.writeln("<html><head></head><body bgcolor=\"#ffffff\">");
	d.writeln("<div align=\"center\">");
	d.writeln("<embed src=\"" + filename + "\" autostart=\"true\" ");
	d.writeln(" width=\"144\" height=\"40\" autoplay=\"true\" controls=\"smallconsole\">");
	d.writeln("</center>");
	d.writeln("</body></html>");
	d.close();
}

function ExtSound( filename )
{
	var 	d, w, topw;

	/**********************************************************************
		The "embed" that we create will have attributes for both
		QuickTime (autoplay) and LiveAudio (autostart)
	***********************************************************************/
	topw = top;
	w = top.open("", "soundWindow", "width=150,height=50");
	d = w.document;
	d.open();
	d.writeln("<html><head></head><body bgcolor=\"#ffffff\">");
	d.writeln("<div align=\"center\">");
	d.writeln("<embed src=\"" + filename + "\" autostart=\"true\" ");
	d.writeln(" width=\"144\" height=\"40\" autoplay=\"true\" controls=\"smallconsole\">");
	d.writeln("</center>");
	d.writeln("</body></html>");
	d.close();
	topw.focus();
}

