// JavaScript Document
document.domain='joycity.jp';

function gamestart()
{
   if (document.all.item("frameGameStart") == null)
   {
       document.body.insertAdjacentHTML("beforeEnd","<iframe id='frameGameStart' name='frameGameStart' src='http://gateway.fsbb.jp/jcg/gamestart.asp' style='position:absolute;left:0;top:0;width:0;height:0;display:;'></div>");
   }
   else
   {
       document.all.item("frameGameStart").src = "http://gateway.fsbb.jp/jcg/gamestart.asp";
   }
}

function isLogin(){
	alert("ログインが必要です");
	return;
}

function img_change(obj0,gfnam0){
	obj0.src = gfnam0;
}

function FAQ(id) {
var el = document.getElementById(id);
if (el.style.display=="block") 
  　　el.style.display = 'none';
else 
  　　el.style.display = 'block';
}



function openSpecialchara(){
	window.open('http://fs.joycity.jp/gameguide/database/specialcharacter/index.asp', 'spesialcharacter', 'width=800,height=615,scrollbars=no');
}

function openLesson(){
	window.open('http://fs.joycity.jp/gameguide/lesson/index.asp', 'gameguide', 'width=865,height=650,scrollbars=no');
}

function Skill(url){
	window.open(url,'skill','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,width=350,height=350');
}

function SS(url) {
	window.open(url,'ss','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,width=840,height=740');
}

function CrossOver(url) {
	window.open(url,'crossover','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,width=1000,height=700');
}

function openClubhelp() {
	window.open('http://fs.joycity.jp/club/clubhelp/index.asp', 'clubhelp', 'width=800,height=680,scrollbars=no');
}