/*
	set up the cookie to play the sounds
*/
var playSound = Cookie.read("playSound");
if ((playSound != 'true') && (playSound != 'false')) {
	playSound = 'true';
	Cookie.write('playSound', 'true', {duration: 30});
}
/*
	toggles the sound cookie on/off
*/
function toggleSound() {
	playSound = Cookie.read("playSound");
	if (playSound == 'true') {
		playSound = 'false';
	} else {
		playSound = 'true';
	}
	Cookie.write('playSound', playSound, {duration: 30});
}