// This assumes a flashSound object called flashSound
var is_sound_activated = true;

function auPreload() {
}

function addSound() {
}

function playSound(name) {
//	alert("here1 "+is_sound_activated);

	// flashsound doesn't work on NS 6.2 (maybe 6.1, need to test...)
	// it fails with the call to PercentLoaded, see flashsound.js...
//alert(is.b + " " +is.v);

	if (is.b=="ns" && is.v>=5) {
		return;
	}

	if (is_sound_activated)
		flashSound.TGotoAndPlay('/'+name, 'start');
//	alert("here2 "+is_sound_activated);
}

function stopSound(name) {
	// flashsound doesn't work on NS 6.2 (maybe 6.1, need to test...)
	// it fails with the call to PercentLoaded, see flashsound.js...
	if (is.b=="ns" && is.v>=5)
		return;

	if (is_sound_activated)
		flashSound.TGotoAndPlay('/'+name,'stop');
}