/*	DATA FLAG	*/s1 = "0";	/*	性別：　０＝未選択、１＝Female、２＝Male	*/s2 = "0";	/*	種族	*/s2flg = "0";s3 = "0";s3flg = "0";s4 = "0";s4flg ="0";dntbl = new Array();	/*	表示DiscName保存用	*//*	DATA TABLE	*/seibtbl = new Array();seibtbl[0] = new Array("3","性別選択","Female","Male");seibtbl[1] = new Array("Female","1");seibtbl[2] = new Array("Male","2");racetbl = new Array();racetbl[0] = new Array("13","種族選択",			"Aelfborn","Aracoix","Centaur","Dwarf","Elf","Half Giant",			"Human","Irekei","Minotaur","Nephilim","Shade","Vampire");/*	データ配列"Name",	"FeMale","Male",	"STRb","DEXb","CONb","INTb","SPIb","STRm","DEXm","CONm","INTm","SPIm");*/racetbl[1] = new Array("Aelfborn"	,"1","1",	"40","50","40","45","30","95","120","95","105","95");racetbl[2] = new Array("Aracoix"	,"1","1",	"55","55","50","25","30","115","125","105","85","85");racetbl[3] = new Array("Centaur"	,"1","1",	"45","35","60","35","45","110","85","125","85","105");racetbl[4] = new Array("Dwarf"		,"0","1",	"45","35","60","30","40","110","80","140","70","100");racetbl[5] = new Array("Elf"		,"1","1",	"35","60","35","50","40","70","140","70","120","100");racetbl[6] = new Array("Half Giant"	,"1","1",	"65","30","55","20","35","140","75","130","85","80");racetbl[7] = new Array("Human"		,"1","1",	"40","40","40","40","40","100","100","100","100","100");racetbl[8] = new Array("Irekei"		,"1","1",	"40","55","40","45","30","90","130","90","115","95");racetbl[9] = new Array("Minotaur"	,"0","1",	"75","25","70","25","25","170","70","130","65","65");racetbl[10] = new Array("Nephilim"	,"1","1",	"55","15","40","65","30","140","60","90","130","80");racetbl[11] = new Array("Shade"		,"1","1",	"35","50","40","45","30","90","115","95","110","90");racetbl[12] = new Array("Vampire"	,"1","1",	"45","50","45","50","30","120","120","120","120","65");bclstbl = new Array();bclstbl[0] = new Array("5","Bクラス選択","Fighter","Healer","Mage","Rogue");/*	データ配列"Name",	"FeMale","Male",	"Aelfborn","Aracoix","Centaurs","Dwarf","Elf","Half Giant","Human","Irekei","Minotaur","Nephilim","Shade","Vampire",	"STRc","DEXc","CONc","INTc","SPIc");*/bclstbl[1] = new Array("Fighter","1","1"			,"1","1","1","1","1","1","1","1","1","1","1","1",	"5","0","5","-10","0");bclstbl[2] = new Array("Healer"	,"1","1"			,"1","1","1","1","1","0","1","1","1","1","0","0",	"0","-10","5","0","5");bclstbl[3] = new Array("Mage"	,"1","1"			,"1","0","0","0","1","0","1","1","0","1","1","1",	"-10","0","0","5","5");bclstbl[4] = new Array("Rogue"	,"1","1"			,"1","1","0","0","1","0","1","1","0","1","1","1",	"0","5","0","5","-10");pclstbl = new Array();pclstbl[0] = new Array("23","Pクラス選択",		"Assassin","Barbarian","Bard","Channeler","Confessor",		"Crusader","Doomsayer","Druid","Fury","Huntress",		"Necromancer","Nightstalker","Prelate","Priest","Ranger",		"Scout","Sentinel","Templar","Thief","Warlock",		"Warrior","Wizard");/*	データ配列"Name",	"FeMale","Male",	"Aelfborn","Aracoix","Centaurs","Dwarf","Elf","Half Giant","Human","Irekei","Minotaur","Nephilim","Shade","Vampire",	"Fighter","Healer","Mage","Rogue");*/pclstbl[1] = new Array("Assassin",	"1","1",			"1","1","0","0","1","0","1","1","0","1","1","1",			"0","0","1","1");pclstbl[2] = new Array("Barbarian",	"1","1",			"1","1","1","0","0","1","1","0","1","1","0","0",			"1","0","0","1");pclstbl[3] = new Array("Bard",		"1","1",			"1","0","0","0","1","0","1","1","0","1","0","0",			"0","0","1","1");pclstbl[4] = new Array("Channeler",	"1","1",			"1","0","0","0","1","0","1","1","0","1","1","0",			"0","1","1","0");pclstbl[5] = new Array("Confessor",	"1","1",			"0","0","0","0","0","0","1","0","0","0","0","0",			"0","1","0","0");pclstbl[6] = new Array("Crusader",	"1","1",			"1","0","1","1","1","1","1","0","0","0","0","0",			"1","1","0","0");pclstbl[7] = new Array("Doomsayer",	"1","1",			"1","0","0","0","1","0","1","0","1","1","0","0",			"0","1","1","0");pclstbl[8] = new Array("Druid",		"1","1",			"1","0","1","0","1","0","1","0","0","0","0","0",			"0","1","0","0");pclstbl[9] = new Array("Fury",		"1","0",			"1","0","0","0","1","0","1","1","0","1","0","0",			"0","0","1","0");pclstbl[10] = new Array("Huntress",	"1","0",			"1","1","1","0","1","1","1","1","0","0","0","0",			"1","0","0","1");pclstbl[11] = new Array("Necromancer",	"1","1",			"1","0","0","0","1","0","1","0","0","0","1","1",			"0","0","1","0");pclstbl[12] = new Array("Nightstalker",	"1","1",			"1","0","0","0","0","0","1","1","0","0","0","0",			"0","0","0","1");pclstbl[13] = new Array("Prelate",	"1","1",			"1","0","1","1","1","0","1","0","0","0","0","0",			"0","1","0","0");pclstbl[14] = new Array("Priest",	"1","1",			"1","1","1","1","1","0","1","1","0","0","0","0",			"0","1","0","0");pclstbl[15] = new Array("Ranger",	"1","1",			"1","1","1","0","1","1","1","1","0","0","1","0",			"1","0","0","1");pclstbl[16] = new Array("Scout",	"1","1",			"1","1","0","0","1","0","1","1","0","1","1","1",			"0","0","0","1");pclstbl[17] = new Array("Sentinel",	"1","1",			"1","0","1","1","1","1","1","0","0","0","0","0",			"1","0","0","0");pclstbl[18] = new Array("Templar",	"1","1",			"0","0","0","0","0","1","1","0","0","0","0","0",			"1","0","0","0");pclstbl[19] = new Array("Thief",	"1","1",			"1","1","0","0","1","0","1","1","0","1","1","1",			"0","0","0","1");pclstbl[20] = new Array("Warlock",	"0","1",			"1","1","0","0","0","0","1","0","0","1","1","1",			"1","0","1","0");pclstbl[21] = new Array("Warrior",	"1","1",			"1","1","1","1","1","1","1","1","1","1","1","1",			"1","0","0","0");pclstbl[22] = new Array("Wizard",	"1","1",			"1","0","0","0","1","0","1","1","0","1","1","1",			"0","0","1","0");disctbl = new Array();disctbl[0] = new Array("49","装着可能Discリスト",			"Animator","Archer","Archmage","Artillerist","BattleMagus",			"Belgosh","Berserker","BlackMask","BladeMaster","Bladeweaver",			"BloodHorn","BloodProphet","BountyHunter","Clanwarden","Commander",			"Conjurer","Drannok","DarkKnight","DarkSworn","Enchanter",			"ForgeMaster","GiantKiller","Gladiator","Gorgoi","Huntsman",			"Knight","Prospector","RatCatcher","RuneCaseter","Saboteru",			"Sanctifer","Sapper","Savant","ShroudBoune","SkyDancer",			"StormLord","Strigoi","Summoner","SunDancer","Thrall",			"Traveler","UndeadHunter","Valkyr","WereBear","WereRat",			"WereWolf","Wyrmslayer");/*	データ配列"Name",	"FeMale","Male",	"Aelfborn","Aracoix","Centaurs","Dwarf","Elf","Half Giant","Human","Irekei","Minotaur","Nephilim","Shade","Vampire",	"Fighter","Healer","Mage","Rogue",	"Assassin","Barbarian","Bard","Channeler","Confessor","Crusader","Doomsayer","Druid","Fury","Huntress",	"Necromancer","Nightstalker","Prelate","Priest","Ranger","Scout","Sentinel","Templar","Thief","Warlock",	"Warrior","Wizard",	"not1","not2","not3","not4","not5");*/disctbl[1] = new Array("Animator",	"1","1",				"1","0","0","1","1","0","1","1","0","0","1","0",				"1","1","1","1",				"0","0","1","0","1","0","0","0","1","0",				"0","0","1","1","0","0","0","0","0","0",				"0","0",				"","","","","",				"http://chronicle.ubi.com/Animator.php");disctbl[2] = new Array("Archer",		"1","1",				"1","1","1","0","1","1","1","1","0","1","1","1",				"1","1","1","1",				"1","0","1","0","0","0","0","0","0","1",				"0","1","0","0","1","0","0","0","1","0",				"1","0",				"","","","","",				"http://chronicle.ubi.com/Archer+Discipline.php");disctbl[3] = new Array("Archmage",	"1","1",				"0","0","0","0","1","0","0","0","0","0","0","0",				"0","0","1","0",				"1","0","1","1","0","0","1","0","1","0",				"0","0","0","0","0","0","0","0","0","1",				"0","1",				"BladeWeaver","","","","",				"http://chronicle.ubi.com/Archmage.php");disctbl[4] = new Array("Artillerist",	"1","1",				"1","1","1","1","1","1","1","1","1","1","1","1",				"1","0","0","1",				"1","0","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"Commander","Saboteur","Sapper","","",				"http://chronicle.ubi.com/Artillerist.php");disctbl[5] = new Array("BattleMagus",	"1","1",				"1","1","1","1","1","1","1","1","1","1","1","1",				"0","0","1","0",				"1","1","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"Commander","","","","",				"http://chronicle.ubi.com/Battle+Magus.php");disctbl[6] = new Array("Belgosh",	"1","1",				"0","0","0","0","0","0","0","0","0","0","0","1",				"0","0","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"Gorgoi","Strigoi","","","",				"http://chronicle.ubi.com/Belgosch.php");disctbl[7] = new Array("Berserker",	"1","1",				"1","0","0","0","0","1","1","0","1","0","1","0",				"1","1","1","1",				"0","1","0","0","0","0","0","0","0","1",				"0","0","0","0","1","0","0","0","0","0",				"1","0",				"","","","","",				"http://chronicle.ubi.com/Berserker.php");disctbl[8] = new Array("BlackMask",	"1","1",				"1","1","1","1","1","1","1","1","1","1","1","1",				"0","0","0","1",				"0","0","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"","","","","",				"http://chronicle.ubi.com/Black+Mask.php");disctbl[9] = new Array("BladeMaster",	"1","1",				"1","0","0","0","0","0","1","0","0","0","1","0",				"1","1","1","1",				"0","0","1","0","0","1","0","0","0","0",				"0","0","0","0","1","0","1","1","0","1",				"1","0",				"","","","","",				"http://chronicle.ubi.com/Blade+Master.php");disctbl[10] = new Array("Bladeweaver",	"1","1",				"0","0","0","0","1","0","0","0","0","0","0","0",				"1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"Archmage","","","","",				"http://chronicle.ubi.com/Blade+Weaver.php");disctbl[11] = new Array("BloodHorn",	"1","1",				"0","0","0","0","0","0","0","0","1","0","0","0",				"1","1","1","1",				"0","1","0","0","0","0","1","0","0","0",				"0","0","0","0","0","0","0","0","0","0",				"1","0",				"Thrall","","","","",				"http://chronicle.ubi.com/Blood+Horn.php");disctbl[12] = new Array("BloodProphet",	"1","1",				"0","0","0","0","0","0","0","1","0","0","0","0",				"0","0","1","0",				"1","1","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"","","","","",				"http://chronicle.ubi.com/Blood+Prophet.php");disctbl[13] = new Array("BountyHunter",	"1","1",				"1","1","1","1","1","1","1","1","1","1","1","1",				"1","0","0","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"","","","","",				"http://chronicle.ubi.com/Bounty+Hunter.php");disctbl[14] = new Array("Clanwarden",	"1","1",				"0","0","0","1","0","0","0","0","0","0","0","0",				"1","1","1","1",				"0","0","0","0","0","0","0","0","0","0",				"0","0","0","1","0","0","0","0","0","0",				"0","0",				"","","","","",				"http://chronicle.ubi.com/Clanwarden.php");disctbl[15] = new Array("Commander",	"1","1",				"1","1","1","1","1","1","1","1","0","1","1","1",				"1","1","1","1",				"0","1","1","1","1","1","1","0","0","1",				"0","0","1","1","1","0","1","1","0","1",				"1","1",				"Artillerist","BattleMagus","Sapper","Sanctifer","Saboteur",				"http://chronicle.ubi.com/Commander.php");disctbl[16] = new Array("Conjurer",	"1","1",				"1","0","0","0","1","0","1","1","0","0","1","0",				"0","0","1","0",				"0","0","1","1","0","0","1","0","1","0",				"0","0","0","0","0","0","0","0","0","1",				"0","1",				"","","","","",				"http://chronicle.ubi.com/Conjurer.php");disctbl[17] = new Array("DarkKnight",	"1","1",				"1","1","1","0","0","1","1","0","1","1","1","1",				"1","1","1","1",				"0","0","0","0","0","0","0","0","0","0",				"0","0","0","0","0","0","0","1","0","0",				"1","0",				"Knight","","","","",				"http://chronicle.ubi.com/Dark+Knight.php");disctbl[18] = new Array("DarkSworn",	"1","1",				"1","0","1","1","1","0","1","0","0","0","0","0",				"0","1","0","0",				"0","0","0","1","1","1","0","1","0","0",				"0","0","1","1","0","0","0","0","0","0",				"0","0",				"","","","","",				"http://chronicle.ubi.com/Darksworn.php");disctbl[19] = new Array("Drannok",	"1","1",				"0","0","0","0","0","0","0","0","0","0","0","1",				"1","0","0","0",				"1","1","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"","","","","",				"http://chronicle.ubi.com/Drannok.php");disctbl[20] = new Array("Enchanter",	"1","1",				"1","0","1","1","1","0","1","1","0","0","1","1",				"1","1","1","1",				"1","0","1","1","1","0","1","1","1","0",				"1","0","1","0","0","0","0","0","0","1",				"0","1",				"","","","","",				"http://chronicle.ubi.com/Enchanter.php");disctbl[21] = new Array("ForgeMaster",	"1","1",				"0","0","0","1","0","0","0","0","0","0","0","0",				"1","1","1","1",				"0","0","0","0","0","1","0","0","0","0",				"0","0","1","1","0","0","1","0","0","0",				"1","0",				"","","","","",				"http://chronicle.ubi.com/Forge+Master.php");disctbl[22] = new Array("GiantKiller",	"1","1",				"0","0","0","1","0","0","0","0","0","0","0","0",				"1","1","1","1",				"0","0","0","0","0","1","0","0","0","0",				"0","0","1","1","0","0","1","0","0","0",				"1","0",				"","","","","",				"http://chronicle.ubi.com/Giant+Killer.php");disctbl[23] = new Array("Gladiator",	"1","1",				"1","1","1","1","1","1","1","1","1","1","1","0",				"1","1","1","1",				"0","1","0","0","0","0","0","0","0","1",				"0","0","0","0","1","1","0","0","0","0",				"1","0",				"","","","","",				"http://chronicle.ubi.com/Gladiator.php");disctbl[24] = new Array("Gorgoi",	"1","1",				"0","0","0","0","0","0","0","0","0","0","0","1",				"0","0","1","0",				"1","1","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"Belgosch","","","","",				"http://chronicle.ubi.com/Gorgoi.php");disctbl[25] = new Array("Huntsman",	"1","1",				"1","1","1","0","1","1","1","1","1","1","1","0",				"1","1","1","1",				"0","1","1","0","0","1","0","1","0","1",				"0","1","0","0","1","1","1","1","1","0",				"1","0",				"WereBear","WereRat","WereWolf","","",				"http://chronicle.ubi.com/Huntsman.php");disctbl[26] = new Array("Knight",	"1","1",				"1","0","1","0","0","1","1","0","0","0","0","0",				"1","1","1","1",				"0","0","1","0","0","1","0","0","0","0",				"0","0","0","0","1","0","1","0","0","0",				"1","0",				"DarkKnight","","","","",				"http://chronicle.ubi.com/Knight.php");disctbl[27] = new Array("Prospector",	"1","1",				"1","1","1","1","1","1","1","1","1","1","1","1",				"1","0","0","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"","","","","",				"http://chronicle.ubi.com/Prospector.php");disctbl[28] = new Array("RatCatcher",	"1","1",				"1","0","1","1","1","0","1","1","0","1","1","1",				"1","1","1","1",				"1","0","1","1","0","0","1","1","0","0",				"0","1","0","0","1","1","0","0","1","0",				"0","0",				"","","","","",				"http://chronicle.ubi.com/Rat+Catcher.php");disctbl[29] = new Array("RuneCaseter",	"1","1",				"1","1","1","1","1","1","1","1","0","0","1","0",				"1","1","1","1",				"0","1","1","0","0","1","0","1","1","0",				"0","0","0","0","1","1","1","0","0","0",				"0","0",				"","","","","",				"http://chronicle.ubi.com/Rune+Caster.php");disctbl[30] = new Array("Saboteru",	"1","1",				"1","1","1","1","1","1","1","1","1","1","1","1",				"0","0","0","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"Artillerist","Commander","WereRat","","",				"http://chronicle.ubi.com/Saboteur.php");disctbl[31] = new Array("Sanctifer",	"1","1",				"1","1","1","1","1","1","1","1","1","1","1","1",				"0","1","0","0",				"1","1","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"Commander","","","","",				"http://chronicle.ubi.com/Sanctifier.php");disctbl[32] = new Array("Sapper",	"1","1",				"1","1","1","1","1","1","1","1","1","1","1","1",				"1","0","0","0",				"1","1","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"Artillerist","Commander","","","",				"http://chronicle.ubi.com/Sapper.php");disctbl[33] = new Array("Savant",	"1","1",				"0","1","0","0","0","0","0","0","0","0","0","0",				"1","1","1","1",				"1","0","0","0","0","0","0","0","0","1",				"0","0","0","0","1","0","0","0","0","1",				"0","0",				"","","","","",				"http://chronicle.ubi.com/Savant.php");disctbl[34] = new Array("ShroudBoune",	"1","1",				"0","0","0","0","0","0","0","0","0","0","1","0",				"0","0","1","0",				"1","0","0","0","0","0","0","0","0","0",				"1","0","0","0","0","0","0","0","0","1",				"0","1",				"","","","","",				"http://chronicle.ubi.com/Skydancer.php");disctbl[35] = new Array("SkyDancer",	"1","1",				"0","1","0","0","0","0","0","0","0","0","0","0",				"1","1","1","1",				"0","1","0","0","0","0","0","0","0","0",				"0","0","0","0","0","1","0","0","1","0",				"1","0",				"","","","","",				"http://chronicle.ubi.com/Skydancer.php");disctbl[36] = new Array("StormLord",	"1","1",				"1","1","1","0","0","1","1","0","0","0","0","0",				"1","1","1","1",				"0","1","0","0","0","0","0","0","0","0",				"0","0","0","0","0","0","0","0","0","0",				"0","0",				"","","","","",				"http://chronicle.ubi.com/Storm+Lord.php");disctbl[37] = new Array("Strigoi",	"1","1",				"0","0","0","0","0","0","0","0","0","0","0","1",				"0","0","0","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1","1","1","1","1","1","1","1","1",				"1","1",				"Belgosch","","","","",				"http://chronicle.ubi.com/Strigoi.php");disctbl[38] = new Array("Summoner",	"1","1",				"1","1","0","0","1","0","1","1","0","1","1","1",				"1","1","1","1",				"0","1","0","0","0","0","1","1","1","1",				"0","0","1","1","0","0","0","0","1","1",				"1","0",				"","","","","",				"http://chronicle.ubi.com/Summoner.php");disctbl[39] = new Array("SunDancer",	"1","1",				"0","0","0","0","0","0","0","1","0","0","0","0",				"1","1","1","1",				"1","0","0","0","0","0","0","0","0","0",				"0","1","0","0","0","1","0","0","1","0",				"1","0",				"","","","","",				"http://chronicle.ubi.com/Sun+Dancer.php");disctbl[40] = new Array("Thrall",	"1","1",				"0","0","0","0","0","0","0","0","1","0","0","0",				"1","1","1","1",				"0","1","0","0","0","0","1","0","0","0",				"0","0","0","0","0","0","0","0","0","0",				"1","0",				"BloodHorn","","","","",				"http://chronicle.ubi.com/Thrall.php");disctbl[41] = new Array("Traveler",	"1","1",				"1","1","1","1","1","1","1","1","0","1","1","1",				"1","1","1","1",				"1","0","1","1","1","0","0","1","1","0",				"1","1","1","1","0","1","0","0","1","1",				"1","1",				"","","","","",				"http://chronicle.ubi.com/Traveller.php");disctbl[42] = new Array("UndeadHunter",	"1","1",				"1","1","1","1","1","1","1","1","0","0","1","0",				"1","1","1","1",				"1","1","1","0","1","1","0","1","1","1",				"0","0","1","1","1","1","0","1","1","0",				"1","1",				"","","","","",				"http://chronicle.ubi.com/Undead+Hunter.php");disctbl[43] = new Array("Valkyr",	"1","0",				"1","0","0","0","0","0","1","0","0","0","0","0",				"1","0","0","0",				"0","1","0","0","0","0","0","0","0","1",				"0","0","0","0","1","0","0","0","0","0",				"1","0",				"","","","","",				"http://chronicle.ubi.com/Valkyr.php");disctbl[44] = new Array("WereBear",	"1","1",				"0","0","0","0","0","1","1","0","0","0","0","0",				"1","1","1","1",				"0","1","0","0","0","0","0","1","0","0",				"0","0","0","0","1","0","0","0","0","0",				"1","0",				"Huntsman","WereRat","WereWolf","","",				"http://chronicle.ubi.com/Werebear.php");disctbl[45] = new Array("WereRat",	"1","1",				"0","0","0","0","0","0","1","0","0","0","1","0",				"1","1","1","1",				"1","0","0","0","0","0","0","0","0","0",				"0","0","0","0","1","1","0","0","1","0",				"0","0",				"Huntsman","Saboteur","WereBear","WereWolf","",				"http://chronicle.ubi.com/Wererat.php");disctbl[46] = new Array("WereWolf",	"1","1",				"1","0","0","0","0","0","1","0","0","0","0","0",				"1","1","1","1",				"0","0","1","0","0","0","0","1","0","0",				"0","0","0","0","1","0","0","0","0","0",				"1","0",				"","","","","",				"http://chronicle.ubi.com/Werewolf.php");disctbl[47] = new Array("Wyrmslayer",	"1","1",				"1","1","1","1","1","1","1","0","0","1","1","1",				"1","1","1","1",				"1","1","1","0","0","1","0","0","0","1",				"1","0","0","1","1","0","1","1","1","0",				"1","1",				"","","","","",				"http://chronicle.ubi.com/Wyrmslayer.php");/*	表示領域の消去		*/function datacls(){	document.data.outstrb.value = "";	document.data.outdexb.value = "";	document.data.outconb.value = "";	document.data.outintb.value = "";	document.data.outspib.value = "";	document.data.outstrm.value = "";	document.data.outdexm.value = "";	document.data.outconm.value = "";	document.data.outintm.value = "";	document.data.outspim.value = "";	document.data.disc.options.length = 1;	document.data.disc.options[0].value = "0";	document.data.disc.options[0].text = "";}/*	装着不可DATA付加	*/function bikou(txt,idx){	if(disctbl[idx][41] != ""){		txt = txt + "　　併用不可(" + disctbl[idx][41];		for(k = 42; k <= 45; k++ ){			if(disctbl[idx][k] != ""){				txt = txt + "," + disctbl[idx][k];			}		}		txt = txt + ")";	}	return txt;}/*	Disc公式HP表示	*/function seldisc() {	sdidx = document.data.disc.selectedIndex;	for(m = 2; m <= disctbl[0][0]; m++ ){		if(dntbl[sdidx] == disctbl[0][m]){			sdidx2 = m - 1;		}	}	newWin = window.open("","new","");	newWin.location = disctbl[sdidx2][46];}/*	種族list表示	*/function subcate1() {	s1 = document.menu.main.options[document.menu.main.selectedIndex].value;	datacls();	j = 0;	for(i = 0;i < racetbl[0][0];i++) {		if(racetbl[i][s1] == "0"){		}		else {			document.menu.sub1.options.length = i + 1;			document.menu.sub1.options[j].value = j;			document.menu.sub1.options[j].text = racetbl[0][i + 1];			j = j + 1;		}	}	document.menu.sub1.options.length = j;	document.menu.sub1.options[0].selected = true;	return(0);}/*	基本クラスlist表示	*/function subcate2() {	s2txt = document.menu.sub1.options[document.menu.sub1.selectedIndex].text;	datacls();	for(i = 0; i < racetbl[0][0]; i++ ){		if(s2txt == racetbl[i][0]){			s2 = i;		}	}	s2t = eval(s2) + 2;	j = 0;	for(i = 0;i < bclstbl[0][0];i++) {		if(bclstbl[i][s2t] == "0"){		}		else {			document.menu.sub2.options.length = i + 1;			document.menu.sub2.options[j].value = i;			document.menu.sub2.options[j].text = bclstbl[0][i + 1];			j = j + 1;		}	}	document.menu.sub2.options.length = j;	document.menu.sub2.options[0].selected = true;	return(0);}/*	専門クラスlist表示	*/function subcate3() {	s3txt = document.menu.sub2.options[document.menu.sub2.selectedIndex].text;	datacls();	for(i = 0; i < bclstbl[0][0]; i++ ){		if(s3txt == bclstbl[i][0]){			s3 = i;		}	}	s3t = eval(s3) + 14;	j = 0;	for(i = 0;i < pclstbl[0][0];i++) {		if(pclstbl[i][s3t] == "0"){		}		else if(pclstbl[i][s2t] == "0"){		}		else if(pclstbl[i][s1] == "0"){		}		else {			document.menu.sub3.options.length = i + 1;			document.menu.sub3.options[j].value = i;			document.menu.sub3.options[j].text = pclstbl[0][i + 1];			j = j + 1;		}	}	document.menu.sub3.options.length = j;	document.menu.sub3.options[0].selected = true;	return(0);}/*	初期ステータス＆Disclist表示	*/function subcate4() {	document.data.outstrb.value = eval(racetbl[s2][3]) + eval(bclstbl[s3][15]);	document.data.outdexb.value = eval(racetbl[s2][4]) + eval(bclstbl[s3][16]);	document.data.outconb.value = eval(racetbl[s2][5]) + eval(bclstbl[s3][17]);	document.data.outintb.value = eval(racetbl[s2][6]) + eval(bclstbl[s3][18]);	document.data.outspib.value = eval(racetbl[s2][7]) + eval(bclstbl[s3][19]);	document.data.outstrm.value = racetbl[s2][8];	document.data.outdexm.value = racetbl[s2][9];	document.data.outconm.value = racetbl[s2][10];	document.data.outintm.value = racetbl[s2][11];	document.data.outspim.value = racetbl[s2][12];	document.data.disc.options.length = 1;	s4txt = document.menu.sub3.options[document.menu.sub3.selectedIndex].text;	for(l = 0; l < pclstbl[0][0]; l++ ){		if(s4txt == pclstbl[l][0]){			s4 = l;		}	}	s4t = eval(s4) + 18;	j = 0;	for(i = 1; i <= (disctbl[0][0] - 1); i++ ){/*	flg設定処理	*/		s4flg = "0";/*	装着不可チェック	*/		if(disctbl[i][s1] == "1"){			if(disctbl[i][s2t] == "1"){				if(disctbl[i][s3t] == "1"){					if(disctbl[i][s4t] == "1"){						s4flg = "1";/*	テーブル格納処理	*/						document.data.disc.options.length = j + 1;						document.data.disc.options[j].value = i;						dtxt = bikou(disctbl[i][0],i);						document.data.disc.options[j].text = dtxt;						dntbl[j] = new Array( disctbl[i][0] );						j = j + 1;					}				}			}		}	}	document.data.disc.options.length = j;	document.data.disc.options[0].selected = true;	return(0);	}function test(){	datacls();	document.menu.main.options.length = 3;	document.menu.main.options[0].value = "0";	document.menu.main.options[0].text = "[選択してください。]";	document.menu.main.options[1].value = "1";	document.menu.main.options[1].text = "Female";	document.menu.main.options[2].value = "2";	document.menu.main.options[2].text = "Male";}