// show submenu ////////////////////////////////////////////////////
	//isshow flag
	var nowVisibleSub = "";
function viewMenu(obj){
	if(obj=="subMenuSFX"){document.getElementById(obj).style.display='';nowVisibleSub=true}
	else{document.getElementById('subMenuSFX').style.display='none';nowVisibleSub=false}

	if(obj=="subMenuHOW"){document.getElementById(obj).style.display='';}
	else{document.getElementById('subMenuHOW').style.display='none';}

	if(obj=="subMenuINFO"){document.getElementById(obj).style.display='';}
	else{document.getElementById('subMenuINFO').style.display='none';}
}
// blink mainmenu 
var blinkTime = 0;
function blinkSub(){
	if(!nowVisibleSub){
		blinkTime = 0;
		return false;
	}
	if(blinkTime == 4){
		blinkTime = 0;
		return false;
	}
	setTimeout(blinkSub,80)
	document.getElementById('subMenuSFX').style.display=='none'?document.getElementById('subMenuSFX').style.display='':document.getElementById('subMenuSFX').style.display='none'
	blinkTime++;
}
function test(){
	document.getElementById('subMenuSFX').style.display=='none'?document.getElementById('subMenuSFX').style.display='':document.getElementById('subMenuSFX').style.display='none'
}
// preview Tag /////////////////////////////////////////////////////////////////////////////////////
function samplePrev(sampleURL){
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"\n');
	document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"\n');
	document.write('WIDTH="53" HEIGHT="31" id="testa" ALIGN="">\n');
	document.write('<PARAM NAME=movie VALUE="../preview_eng.swf?sndURL='+sampleURL+'"><PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF>\n');
	document.write('<PARAM NAME=FlashVars VALUE="testTxt=images/mainmenu02_0.gif">\n');
	document.write('<EMBED src="../preview_eng.swf?sndURL='+sampleURL+'" quality=high bgcolor=#FFFFFF WIDTH="53" HEIGHT="31" NAME="testa" ALIGN=""\n');
	document.write('FlashVars="testTxt=images/mainmenu02_0.gif"\n');
	document.write('TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>\n');
	document.write('</OBJECT>\n');
}
// emailaddress ///////////////////////////////////////////////////////////////////////////////////
function emalAddr(){
  var mailMk = "@";
  var mlSvr = "yahoo";
  var mlDom = ".co.jp";
  dest = "sfx_g";
    location.href="mai"+"lto:"+dest+mailMk+mlSvr+mlDom;
}


// SFX background behavior ///////////////////////////////////////////////////////////////////
function bgCng(tgtLine){
	document.getElementById(tgtLine).style.background='url(../img/samplelineBG_1.gif)'
	}
function bgBck(tgtLine){
	document.getElementById(tgtLine).style.background='url(../img/samplelineBG_0.gif)'
	}
// help
function help(about){
	if(about=="howtobuy"){
		window.open('http://www.discoverysound.com/dl/en/index.php?html=guide');
	}
	
}
