// JavaScript Document

// 東京支店
function submitFunc_tky(theForm){
  // 地域確認
  if (theForm.chiki1.value == "1")
  {
    // 東京都へ移動
    location.href = "index2_tokyo.html#tokyo";
    
  }
  else if(theForm.chiki1.value == "2")
  {
    // 茨城県へ移動
    location.href = "index2_tokyo.html#ibaraki";
  
  }
  else if(theForm.chiki1.value == "3")
  {
    // 千葉県へ移動
    location.href = "index2_tokyo.html#chiba";
  
  }
  else if(theForm.chiki1.value == "4")
  {
    // 山梨県へ移動
    location.href = "index2_tokyo.html#yamanashi";
  
  }
  else if(theForm.chiki1.value == "5")
  {
    // 三重県へ移動
    location.href = "index2_tokyo.html#mie";
  
  }
  else if(theForm.chiki1.value == "6")
  {
    // 大阪府へ移動
    location.href = "index2_tokyo.html#oosaka";
  
  }
  else if(theForm.chiki1.value == "7")
  {
    // 兵庫県へ移動
    location.href = "index2_tokyo.html#hyogo";
  
  }
  else if(theForm.chiki1.value == "8")
  {
    // 徳島県へ移動
    location.href = "index2_tokyo.html#tokushima";
  
  }
  else if(theForm.chiki1.value == "9")
  {
    // 福岡県へ移動
    location.href = "index2_tokyo.html#fukuoka";
  
  }
  else if(theForm.chiki1.value == "10")
  {
    // 大分県へ移動
    location.href = "index2_tokyo.html#ooita";
  
  }
  else if(theForm.chiki1.value == "11")
  {
    // 鹿児島県へ移動
    location.href = "index2_tokyo.html#kagoshima";
  
  }
  else if(theForm.chiki1.value == "12")
  {
    // 沖縄県へ移動
    location.href = "index2_tokyo.html#okinawa";
  }
  else if(theForm.chiki1.value == "13")
  {
    // 神奈川県へ移動
    location.href = "index2_tokyo.html#kanagawa";
  }
  else if(theForm.chiki1.value == "14")
  {
    // 愛知県へ移動
    location.href = "index2_tokyo.html#aiti";
  }
}

//福岡支店
function submitFunc_haka(theForm){
  // 地域確認
  if (theForm.chiki2.value == "1")
  {
    // 博多区へ移動
    location.href = "index2.html#hakata";
    
  }
  else if(theForm.chiki2.value == "2")
  {
    // 東区へ移動
    location.href = "index2.html#higashi";
  
  }
  else if(theForm.chiki2.value == "3")
  {
    // 南区へ移動
    location.href = "index2.html#minami";
  
  }
  else if(theForm.chiki2.value == "4")
  {
    // 中央区へ移動
    location.href = "index2.html#tyuoh";
  
  }
  else if(theForm.chiki2.value == "5")
  {
    // 早良区へ移動
    location.href = "index2.html#sawara";
  
  }
  else if(theForm.chiki2.value == "6")
  {
    // 筑紫郡へ移動
    location.href = "index2.html#chikushi";
  
  }
  else if(theForm.chiki2.value == "7")
  {
    // 糟屋郡へ移動
    location.href = "index2.html#kasuya";
  
  }
  else if(theForm.chiki2.value == "8")
  {
    // 古賀市へ移動
    location.href = "index2.html#koga";
  
  }
  else if(theForm.chiki2.value == "9")
  {
    // 大野城市へ移動
    location.href = "index2.html#oonojyo";
  
  }
  else if(theForm.chiki2.value == "10")
  {
    // 熊本県へ移動
    location.href = "index2.html#kumamoto";
  
  }
  else if(theForm.chiki2.value == "11")
  {
    // 大分県へ移動
    location.href = "index2.html#ooita";
  
  }
  else if(theForm.chiki2.value == "12")
  {
    // 鹿児島県へ移動
    location.href = "index2.html#kagoshima";
  
  }
  else if(theForm.chiki2.value == "13")
  {
    // 沖縄県へ移動
    location.href = "index2.html#okinawa";
  
  }
  else if(theForm.chiki2.value == "14")
  {
    // 徳島県へ移動
    location.href = "index2.html#tokushima";
  
  }
  else if(theForm.chiki2.value == "15")
  {
    // 佐賀県へ移動
    location.href = "index2.html#saga";
  
  }

}

// 東京支店
function submitFunc2_tky(theForm){
  // 占有面積確認
  if (theForm.menseki1.value == "1")
  {
    //0〜20へ移動
    location.href = "index3_tokyo.html#00";
    
  }
  else if(theForm.menseki1.value == "2")
  {
    // 20〜30へ移動
    location.href = "index3_tokyo.html#20";
  
  }
  else if(theForm.menseki1.value == "3")
  {
    // 30〜40へ移動
    location.href = "index3_tokyo.html#30";
  
  }
  else if(theForm.menseki1.value == "4")
  {
    // 40〜50へ移動
    location.href = "index3_tokyo.html#40";
  
  }
  else if(theForm.menseki1.value == "5")
  {
    // 50〜60へ移動
    location.href = "index3_tokyo.html#50";
  
  }
  else if(theForm.menseki1.value == "6")
  {
    // 60〜70へ移動
    location.href = "index3_tokyo.html#60";
  
  }
  else if(theForm.menseki1.value == "7")
  {
    // 70〜80へ移動
    location.href = "index3_tokyo.html#70";
  
  }
  else if(theForm.menseki1.value == "8")
  {
    // 80〜90へ移動
    location.href = "index3_tokyo.html#80";
  
  }
  else if(theForm.menseki1.value == "9")
  {
    // 90〜100へ移動
    location.href = "index3_tokyo.html#90";
  
  }
  else if(theForm.menseki1.value == "10")
  {
    // 100〜へ移動
    location.href = "index3_tokyo.html#100";
  
  }
}

// 福岡支店
function submitFunc2_haka(theForm){
  // 占有面積確認
  if (theForm.menseki2.value == "1")
  {
    //0〜20へ移動
    location.href = "index3.html#00";
    
  }
  else if(theForm.menseki2.value == "2")
  {
    // 20〜30へ移動
    location.href = "index3.html#20";
  
  }
  else if(theForm.menseki2.value == "3")
  {
    // 30〜40へ移動
    location.href = "index3.html#30";
  
  }
  else if(theForm.menseki2.value == "4")
  {
    // 40〜50へ移動
    location.href = "index3.html#40";
  
  }
  else if(theForm.menseki2.value == "5")
  {
    // 50〜60へ移動
    location.href = "index3.html#50";
  
  }
  else if(theForm.menseki2.value == "6")
  {
    // 60〜70へ移動
    location.href = "index3.html#60";
  
  }
  else if(theForm.menseki2.value == "7")
  {
    // 70〜80へ移動
    location.href = "index3.html#70";
  
  }
  else if(theForm.menseki2.value == "8")
  {
    // 80〜90へ移動
    location.href = "index3.html#80";
  
  }
  else if(theForm.menseki2.value == "9")
  {
    // 90〜100へ移動
    location.href = "index3.html#90";
  
  }
  else if(theForm.menseki2.value == "10")
  {
    // 100〜へ移動
    location.href = "index3.html#100";
  
  }
}
