// イベント地域セレクトボックスのオプションを作成 function make_area_member_options(elem, tname, org) { var area_value = elem.options[elem.selectedIndex].value; var telem = document.getElementsByName(tname).item(0); while(telem.lastChild) { telem.removeChild(telem.lastChild); } // 選択されていなかった場合 if (area_value == 0) { telem.options[0] = new Option('---', 0); telem.selectedIndex = 0; return; } telem.options[0] = new Option('---', 0); var onum = 1; if (1 == area_value) { telem.options[onum] = new Option('札幌駅大通', 1); if (1 == org) { telem.selectedIndex = onum; } onum++; } if (1 == area_value) { telem.options[onum] = new Option('すすきの', 2); if (2 == org) { telem.selectedIndex = onum; } onum++; } if (1 == area_value) { telem.options[onum] = new Option('旭川', 3); if (3 == org) { telem.selectedIndex = onum; } onum++; } if (1 == area_value) { telem.options[onum] = new Option('函館', 4); if (4 == org) { telem.selectedIndex = onum; } onum++; } if (2 == area_value) { telem.options[onum] = new Option('青森', 5); if (5 == org) { telem.selectedIndex = onum; } onum++; } if (2 == area_value) { telem.options[onum] = new Option('八戸', 6); if (6 == org) { telem.selectedIndex = onum; } onum++; } if (2 == area_value) { telem.options[onum] = new Option('弘前', 7); if (7 == org) { telem.selectedIndex = onum; } onum++; } if (3 == area_value) { telem.options[onum] = new Option('盛岡', 8); if (8 == org) { telem.selectedIndex = onum; } onum++; } if (4 == area_value) { telem.options[onum] = new Option('仙台', 9); if (9 == org) { telem.selectedIndex = onum; } onum++; } if (5 == area_value) { telem.options[onum] = new Option('秋田', 10); if (10 == org) { telem.selectedIndex = onum; } onum++; } if (5 == area_value) { telem.options[onum] = new Option('仙北 ', 11); if (11 == org) { telem.selectedIndex = onum; } onum++; } if (6 == area_value) { telem.options[onum] = new Option('山形', 12); if (12 == org) { telem.selectedIndex = onum; } onum++; } if (6 == area_value) { telem.options[onum] = new Option('坂田・鶴岡', 13); if (13 == org) { telem.selectedIndex = onum; } onum++; } if (6 == area_value) { telem.options[onum] = new Option('米沢', 14); if (14 == org) { telem.selectedIndex = onum; } onum++; } if (7 == area_value) { telem.options[onum] = new Option('郡山', 15); if (15 == org) { telem.selectedIndex = onum; } onum++; } if (7 == area_value) { telem.options[onum] = new Option('福島 ', 16); if (16 == org) { telem.selectedIndex = onum; } onum++; } if (7 == area_value) { telem.options[onum] = new Option('会津若松 ', 17); if (17 == org) { telem.selectedIndex = onum; } onum++; } if (8 == area_value) { telem.options[onum] = new Option('水戸', 18); if (18 == org) { telem.selectedIndex = onum; } onum++; } if (8 == area_value) { telem.options[onum] = new Option('つくば・土浦', 19); if (19 == org) { telem.selectedIndex = onum; } onum++; } if (8 == area_value) { telem.options[onum] = new Option('日立・ひたちなか', 20); if (20 == org) { telem.selectedIndex = onum; } onum++; } if (9 == area_value) { telem.options[onum] = new Option('宇都宮', 21); if (21 == org) { telem.selectedIndex = onum; } onum++; } if (9 == area_value) { telem.options[onum] = new Option('日光', 22); if (22 == org) { telem.selectedIndex = onum; } onum++; } if (10 == area_value) { telem.options[onum] = new Option('前橋・高崎', 23); if (23 == org) { telem.selectedIndex = onum; } onum++; } if (11 == area_value) { telem.options[onum] = new Option('浦和', 24); if (24 == org) { telem.selectedIndex = onum; } onum++; } if (11 == area_value) { telem.options[onum] = new Option('大宮', 25); if (25 == org) { telem.selectedIndex = onum; } onum++; } if (11 == area_value) { telem.options[onum] = new Option('川口', 26); if (26 == org) { telem.selectedIndex = onum; } onum++; } if (11 == area_value) { telem.options[onum] = new Option('川越', 27); if (27 == org) { telem.selectedIndex = onum; } onum++; } if (12 == area_value) { telem.options[onum] = new Option('千葉', 28); if (28 == org) { telem.selectedIndex = onum; } onum++; } if (12 == area_value) { telem.options[onum] = new Option('船橋', 29); if (29 == org) { telem.selectedIndex = onum; } onum++; } if (12 == area_value) { telem.options[onum] = new Option('柏', 30); if (30 == org) { telem.selectedIndex = onum; } onum++; } if (12 == area_value) { telem.options[onum] = new Option('舞浜・浦安・行徳 ', 31); if (31 == org) { telem.selectedIndex = onum; } onum++; } if (13 == area_value) { telem.options[onum] = new Option('新宿', 32); if (32 == org) { telem.selectedIndex = onum; } onum++; } if (13 == area_value) { telem.options[onum] = new Option('渋谷', 33); if (33 == org) { telem.selectedIndex = onum; } onum++; } if (13 == area_value) { telem.options[onum] = new Option('銀座', 34); if (34 == org) { telem.selectedIndex = onum; } onum++; } if (13 == area_value) { telem.options[onum] = new Option('原宿', 35); if (35 == org) { telem.selectedIndex = onum; } onum++; } if (13 == area_value) { telem.options[onum] = new Option('池袋', 36); if (36 == org) { telem.selectedIndex = onum; } onum++; } if (13 == area_value) { telem.options[onum] = new Option('上野', 37); if (37 == org) { telem.selectedIndex = onum; } onum++; } if (13 == area_value) { telem.options[onum] = new Option('恵比寿', 38); if (38 == org) { telem.selectedIndex = onum; } onum++; } if (13 == area_value) { telem.options[onum] = new Option('六本木', 39); if (39 == org) { telem.selectedIndex = onum; } onum++; } if (13 == area_value) { telem.options[onum] = new Option('赤坂', 40); if (40 == org) { telem.selectedIndex = onum; } onum++; } if (13 == area_value) { telem.options[onum] = new Option('品川', 41); if (41 == org) { telem.selectedIndex = onum; } onum++; } if (13 == area_value) { telem.options[onum] = new Option('八王子', 42); if (42 == org) { telem.selectedIndex = onum; } onum++; } if (13 == area_value) { telem.options[onum] = new Option('吉祥寺', 43); if (43 == org) { telem.selectedIndex = onum; } onum++; } if (13 == area_value) { telem.options[onum] = new Option('町田', 44); if (44 == org) { telem.selectedIndex = onum; } onum++; } if (14 == area_value) { telem.options[onum] = new Option('横浜・桜木町・関内・新横浜', 45); if (45 == org) { telem.selectedIndex = onum; } onum++; } if (14 == area_value) { telem.options[onum] = new Option('川崎', 46); if (46 == org) { telem.selectedIndex = onum; } onum++; } if (14 == area_value) { telem.options[onum] = new Option('相模原・橋本', 47); if (47 == org) { telem.selectedIndex = onum; } onum++; } if (14 == area_value) { telem.options[onum] = new Option('平塚', 48); if (48 == org) { telem.selectedIndex = onum; } onum++; } if (14 == area_value) { telem.options[onum] = new Option('藤沢', 49); if (49 == org) { telem.selectedIndex = onum; } onum++; } if (15 == area_value) { telem.options[onum] = new Option('新潟駅近郊', 50); if (50 == org) { telem.selectedIndex = onum; } onum++; } if (15 == area_value) { telem.options[onum] = new Option('古町', 51); if (51 == org) { telem.selectedIndex = onum; } onum++; } if (15 == area_value) { telem.options[onum] = new Option('長岡', 52); if (52 == org) { telem.selectedIndex = onum; } onum++; } if (16 == area_value) { telem.options[onum] = new Option('富山', 53); if (53 == org) { telem.selectedIndex = onum; } onum++; } if (17 == area_value) { telem.options[onum] = new Option('片町・香林坊', 54); if (54 == org) { telem.selectedIndex = onum; } onum++; } if (17 == area_value) { telem.options[onum] = new Option('金沢駅・武蔵', 55); if (55 == org) { telem.selectedIndex = onum; } onum++; } if (17 == area_value) { telem.options[onum] = new Option('駅西・県庁周辺', 56); if (56 == org) { telem.selectedIndex = onum; } onum++; } if (17 == area_value) { telem.options[onum] = new Option('金沢東・もりの里・大桑周辺', 57); if (57 == org) { telem.selectedIndex = onum; } onum++; } if (18 == area_value) { telem.options[onum] = new Option('福井・坂井', 58); if (58 == org) { telem.selectedIndex = onum; } onum++; } if (18 == area_value) { telem.options[onum] = new Option('敦賀', 59); if (59 == org) { telem.selectedIndex = onum; } onum++; } if (18 == area_value) { telem.options[onum] = new Option('小浜', 60); if (60 == org) { telem.selectedIndex = onum; } onum++; } if (19 == area_value) { telem.options[onum] = new Option('北杜', 61); if (61 == org) { telem.selectedIndex = onum; } onum++; } if (20 == area_value) { telem.options[onum] = new Option('長野駅周辺', 62); if (62 == org) { telem.selectedIndex = onum; } onum++; } if (20 == area_value) { telem.options[onum] = new Option('権堂駅周辺', 63); if (63 == org) { telem.selectedIndex = onum; } onum++; } if (21 == area_value) { telem.options[onum] = new Option('市役所・柳ヶ瀬・岐阜駅周辺', 64); if (64 == org) { telem.selectedIndex = onum; } onum++; } if (21 == area_value) { telem.options[onum] = new Option('岐阜駅以南', 65); if (65 == org) { telem.selectedIndex = onum; } onum++; } if (22 == area_value) { telem.options[onum] = new Option('浜松駅周辺', 66); if (66 == org) { telem.selectedIndex = onum; } onum++; } if (22 == area_value) { telem.options[onum] = new Option('静岡駅周辺', 67); if (67 == org) { telem.selectedIndex = onum; } onum++; } if (22 == area_value) { telem.options[onum] = new Option('清水駅周辺', 68); if (68 == org) { telem.selectedIndex = onum; } onum++; } if (23 == area_value) { telem.options[onum] = new Option('名古屋駅周辺', 69); if (69 == org) { telem.selectedIndex = onum; } onum++; } if (23 == area_value) { telem.options[onum] = new Option('栄・錦・丸の内', 70); if (70 == org) { telem.selectedIndex = onum; } onum++; } if (23 == area_value) { telem.options[onum] = new Option('金山', 71); if (71 == org) { telem.selectedIndex = onum; } onum++; } if (24 == area_value) { telem.options[onum] = new Option('伊勢・志摩・鳥羽', 72); if (72 == org) { telem.selectedIndex = onum; } onum++; } if (24 == area_value) { telem.options[onum] = new Option('松阪', 73); if (73 == org) { telem.selectedIndex = onum; } onum++; } if (25 == area_value) { telem.options[onum] = new Option('大津', 74); if (74 == org) { telem.selectedIndex = onum; } onum++; } if (25 == area_value) { telem.options[onum] = new Option('長浜・彦根', 75); if (75 == org) { telem.selectedIndex = onum; } onum++; } if (26 == area_value) { telem.options[onum] = new Option('京都駅周辺', 76); if (76 == org) { telem.selectedIndex = onum; } onum++; } if (26 == area_value) { telem.options[onum] = new Option('烏丸御池・四条烏丸', 77); if (77 == org) { telem.selectedIndex = onum; } onum++; } if (26 == area_value) { telem.options[onum] = new Option('河原町・祇園・先斗町', 78); if (78 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('梅田・茶屋町', 79); if (79 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('北新地・堂島', 130); if (130 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('福島', 80); if (80 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('なんば', 81); if (81 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('心斎橋', 82); if (82 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('京橋', 83); if (83 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('淀屋橋・北浜・肥後橋', 84); if (84 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('本町', 85); if (85 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('南船場・堀江', 86); if (86 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('天王寺', 87); if (87 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('西中島・新大阪・江坂', 88); if (88 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('茨木市・高槻市', 89); if (89 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('堺市', 90); if (90 == org) { telem.selectedIndex = onum; } onum++; } if (27 == area_value) { telem.options[onum] = new Option('大阪府その他', 129); if (129 == org) { telem.selectedIndex = onum; } onum++; } if (28 == area_value) { telem.options[onum] = new Option('西宮', 91); if (91 == org) { telem.selectedIndex = onum; } onum++; } if (28 == area_value) { telem.options[onum] = new Option('神戸・明石', 92); if (92 == org) { telem.selectedIndex = onum; } onum++; } if (28 == area_value) { telem.options[onum] = new Option('加古川', 93); if (93 == org) { telem.selectedIndex = onum; } onum++; } if (28 == area_value) { telem.options[onum] = new Option('姫路', 94); if (94 == org) { telem.selectedIndex = onum; } onum++; } if (29 == area_value) { telem.options[onum] = new Option('奈良', 95); if (95 == org) { telem.selectedIndex = onum; } onum++; } if (30 == area_value) { telem.options[onum] = new Option('和歌山', 96); if (96 == org) { telem.selectedIndex = onum; } onum++; } if (31 == area_value) { telem.options[onum] = new Option('鳥取', 97); if (97 == org) { telem.selectedIndex = onum; } onum++; } if (31 == area_value) { telem.options[onum] = new Option('米子', 98); if (98 == org) { telem.selectedIndex = onum; } onum++; } if (32 == area_value) { telem.options[onum] = new Option('松江', 99); if (99 == org) { telem.selectedIndex = onum; } onum++; } if (33 == area_value) { telem.options[onum] = new Option('岡山', 100); if (100 == org) { telem.selectedIndex = onum; } onum++; } if (33 == area_value) { telem.options[onum] = new Option('倉敷', 101); if (101 == org) { telem.selectedIndex = onum; } onum++; } if (34 == area_value) { telem.options[onum] = new Option('広島市中心部', 102); if (102 == org) { telem.selectedIndex = onum; } onum++; } if (34 == area_value) { telem.options[onum] = new Option('広島駅・横川', 103); if (103 == org) { telem.selectedIndex = onum; } onum++; } if (34 == area_value) { telem.options[onum] = new Option('福山市', 104); if (104 == org) { telem.selectedIndex = onum; } onum++; } if (35 == area_value) { telem.options[onum] = new Option('下関', 105); if (105 == org) { telem.selectedIndex = onum; } onum++; } if (36 == area_value) { telem.options[onum] = new Option('徳島駅周辺', 106); if (106 == org) { telem.selectedIndex = onum; } onum++; } if (37 == area_value) { telem.options[onum] = new Option('高松市中心部', 107); if (107 == org) { telem.selectedIndex = onum; } onum++; } if (37 == area_value) { telem.options[onum] = new Option('レインボー・サンフラワー', 108); if (108 == org) { telem.selectedIndex = onum; } onum++; } if (38 == area_value) { telem.options[onum] = new Option('松山', 109); if (109 == org) { telem.selectedIndex = onum; } onum++; } if (39 == area_value) { telem.options[onum] = new Option('高知', 110); if (110 == org) { telem.selectedIndex = onum; } onum++; } if (40 == area_value) { telem.options[onum] = new Option('博多', 111); if (111 == org) { telem.selectedIndex = onum; } onum++; } if (40 == area_value) { telem.options[onum] = new Option('天神・中州', 112); if (112 == org) { telem.selectedIndex = onum; } onum++; } if (40 == area_value) { telem.options[onum] = new Option('北九州', 113); if (113 == org) { telem.selectedIndex = onum; } onum++; } if (40 == area_value) { telem.options[onum] = new Option('久留米', 114); if (114 == org) { telem.selectedIndex = onum; } onum++; } if (41 == area_value) { telem.options[onum] = new Option('佐賀・唐津', 115); if (115 == org) { telem.selectedIndex = onum; } onum++; } if (42 == area_value) { telem.options[onum] = new Option('長崎', 116); if (116 == org) { telem.selectedIndex = onum; } onum++; } if (43 == area_value) { telem.options[onum] = new Option('並木坂・上乃裏・上通り', 117); if (117 == org) { telem.selectedIndex = onum; } onum++; } if (43 == area_value) { telem.options[onum] = new Option('下通り', 118); if (118 == org) { telem.selectedIndex = onum; } onum++; } if (44 == area_value) { telem.options[onum] = new Option('都町・中島西周辺', 119); if (119 == org) { telem.selectedIndex = onum; } onum++; } if (44 == area_value) { telem.options[onum] = new Option('府内町・大手町・金池町', 120); if (120 == org) { telem.selectedIndex = onum; } onum++; } if (44 == area_value) { telem.options[onum] = new Option('中央町・末広町周辺', 121); if (121 == org) { telem.selectedIndex = onum; } onum++; } if (45 == area_value) { telem.options[onum] = new Option('宮崎市中心部 ', 122); if (122 == org) { telem.selectedIndex = onum; } onum++; } if (46 == area_value) { telem.options[onum] = new Option('天文館・中央駅', 123); if (123 == org) { telem.selectedIndex = onum; } onum++; } if (47 == area_value) { telem.options[onum] = new Option('国際通り', 124); if (124 == org) { telem.selectedIndex = onum; } onum++; } if (47 == area_value) { telem.options[onum] = new Option('県庁周辺', 125); if (125 == org) { telem.selectedIndex = onum; } onum++; } if (47 == area_value) { telem.options[onum] = new Option('名護周辺 ', 126); if (126 == org) { telem.selectedIndex = onum; } onum++; } }