// サブメニュー表示 ////////////////////////////////////////////////////
	//SFX表示中フラグ
	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';}
}
// メインメニュー効果音部分クリック時のブリンク
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'
}
// 視聴リンク /////////////////////////////////////////////////////////////////////////////////////
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.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.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 = "sfx-g";
  var mlDom = ".net";
  dest = "contact";
    location.href="mai"+"lto:"+dest+mailMk+mlSvr+mlDom;
}

function weml(){
	
	mlmlml = '&#109;ail&#116;o&#58;&#99;&#111;&#110;&#116;&#97;&#99;t&#64;&#115;&#102;x&#45;&#103;.&#110;&#101;t';
	
	document.write('<a href="'+mlmlml+'">'+'co&#110;t&#97;c&#116;&#64;&#115;f&#120;&#45;g.&#110;et'+'</a>');
}

// 効果音ライン背景画像切り替え ///////////////////////////////////////////////////////////////////
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)'
	}
// ヘルプ
function help(about){
	if(about=="howtobuy"){
		window.open('http://www.discoverysound.com/dl/contents/index.php?html=guide');
	}
	
}
