function JSstartBGM(){
	parent.ue.JSstartBGM();
}
function JSstopBGM(){
	parent.ue.JSstopBGM();
}
function JSisBGM(){
	return parent.ue.JSisBGM();
}
function isSoundFlg(){
	if(parent.ue != null){
		return parent.ue.isSoundFlg();
	}else{
		return 1;
	}
}
function setSoundImage(){
	if(isSoundFlg()==0){
		document.getElementById("sButton").src="images/bgm_on.gif";
	}else{
		document.getElementById("sButton").src="images/bgm_off.gif";
	}
}
function changeSound(){
	if(parent.ue != null){
		parent.ue.changeSound();
		setSoundImage();
	}
}

function changeSound_off(){
	if(isSoundFlg()==0){
		changeSound();
	}
}