var sound_mode="on";
	function switch_sound(mm){
		if(parent.bgsound){
			//sound_mode=(sound_mode=='on') ? "off" : "on";
			
			sound_mode = mm;
			if(sound_mode=="off"){
				//parent.bgsound.Stop();
				parent.bgsound.location.href="/bgsound/empty.html";
				document.getElementById("speaker").src = "../images.page/off.gif";
				document.getElementById('switcher').href = 'javascript:switch_sound(\"on\")';
			}else{
				//parent.bgsound.Start();
				parent.bgsound.location.href="/bgsound/embed.html";
				document.getElementById("speaker").src = "../images.page/on.gif";
				document.getElementById('switcher').href = 'javascript:switch_sound(\"off\")';
			}
		}else{
		    //alert('object not found');
		}
	}

function re_init_sound(){
    //alert(sound_mode);
    if(sound_mode=="off"){
	alert(sound_mode);
	switch_sound();
    }
}

