function ssfConf() {
	return true;

	elm_cate    = document.getElementById("sf_category_id");
	elm_cate2   = document.getElementById("sf_category2_id");
	elm_rail    = document.getElementById("sf_railway_id");
	elm_station = document.getElementById("sf_station_id");

	if (elm_cate.value == '' && elm_cate2.value == '' && elm_rail.value == '' && elm_station.value == '' ) {
		alert('検索条件を入力してください');
		return false;
	} else {
		return true;
	}
}

function sf_category_id_Change(e) {
	changed_value = e.value;
	tgtElm = document.getElementById("sf_category2_id");

	for (i=tgtElm.length - 1;i >= 0;i--) {
	    tgtElm.options[i] = null;
	}

	if(changed_value == '') {
	    tgtElm.options[0] = new Option('-----','');
	}
	else if (changed_value == 'gourmet') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('和食', '101');
			tgtElm.options[2] = new Option('洋食', '102');
			tgtElm.options[3] = new Option('中華', '103');
			tgtElm.options[4] = new Option('居酒屋', '107');
			tgtElm.options[5] = new Option('ダイニングバー', '115');
			tgtElm.options[6] = new Option('ビアホール', '116');
			tgtElm.options[7] = new Option('立ち飲み', '117');
			tgtElm.options[8] = new Option('ラーメン', '111');
			tgtElm.options[9] = new Option('焼肉', '112');
			tgtElm.options[10] = new Option('焼鳥', '114');
			tgtElm.options[11] = new Option('イタリアン', '104');
			tgtElm.options[12] = new Option('フレンチ', '105');
			tgtElm.options[13] = new Option('各国料理', '106');
			tgtElm.options[14] = new Option('カフェ・ファーストフード', '108');
			tgtElm.options[15] = new Option('スイーツ', '109');
			tgtElm.options[16] = new Option('ベーカリー', '118');
			tgtElm.options[17] = new Option('ランチ', '113');
			tgtElm.options[18] = new Option('飲食料販売', '110');
			tgtElm.options[19] = new Option('生鮮品', '119');
			tgtElm.options[20] = new Option('加工食品', '120');
			tgtElm.options[21] = new Option('スーパー', '121');
		}
	else if (changed_value == 'amusement') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('アミューズメント', '201');
			tgtElm.options[2] = new Option('アートスポット', '202');
			tgtElm.options[3] = new Option('スパ＆ホテル', '203');
			tgtElm.options[4] = new Option('スポーツ', '204');
			tgtElm.options[5] = new Option('旅行・観光', '205');
			tgtElm.options[6] = new Option('公園', '206');
			tgtElm.options[7] = new Option('いちご摘み', '207');
		}
	else if (changed_value == 'study') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('カルチャー', '301');
			tgtElm.options[2] = new Option('資格・ビジネス', '302');
			tgtElm.options[3] = new Option('スポーツ', '303');
			tgtElm.options[4] = new Option('外国語', '304');
			tgtElm.options[5] = new Option('花嫁修業', '305');
			tgtElm.options[6] = new Option('キッズ', '306');
			tgtElm.options[7] = new Option('音楽', '307');
			tgtElm.options[8] = new Option('学校・塾', '308');
		}
	else if (changed_value == 'life') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('スーパー・コンビニ', '418');
			tgtElm.options[2] = new Option('レンタル', '419');
			tgtElm.options[3] = new Option('書店・写真', '403');
			tgtElm.options[4] = new Option('オフィス用品', '420');
			tgtElm.options[5] = new Option('ペット', '404');
			tgtElm.options[6] = new Option('クリーニング', '421');
			tgtElm.options[7] = new Option('ホーム＆リビング', '405');
			tgtElm.options[8] = new Option('人材派遣', '422');
			tgtElm.options[9] = new Option('車・バイク', '406');
			tgtElm.options[10] = new Option('相談', '407');
			tgtElm.options[11] = new Option('雑貨', '408');
			tgtElm.options[12] = new Option('アパレル・靴', '409');
			tgtElm.options[13] = new Option('リサイクル・金券', '410');
			tgtElm.options[14] = new Option('着物', '411');
			tgtElm.options[15] = new Option('ピアノ・楽器', '412');
			tgtElm.options[16] = new Option('金融機関', '413');
			tgtElm.options[17] = new Option('花', '414');
			tgtElm.options[18] = new Option('不動産', '415');
			tgtElm.options[19] = new Option('メガネ・時計', '416');
			tgtElm.options[20] = new Option('水道・ガス・電気', '417');
			tgtElm.options[21] = new Option('シニア・福祉', '401');
			tgtElm.options[22] = new Option('冠婚葬祭', '402');
			tgtElm.options[23] = new Option('お土産', '423');
			tgtElm.options[24] = new Option('専門店', '424');
			tgtElm.options[25] = new Option('宝石・アクセサリー', '425');
		}
	else if (changed_value == 'beauty') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('エステ', '601');
			tgtElm.options[2] = new Option('リラクゼーション', '602');
			tgtElm.options[3] = new Option('コスメ・ネイル', '603');
			tgtElm.options[4] = new Option('理容美容', '604');
			tgtElm.options[5] = new Option('美容整形外科', '605');
		}
	else if (changed_value == 'health') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('病院', '701');
			tgtElm.options[2] = new Option('歯科医院', '702');
			tgtElm.options[3] = new Option('フィットネス', '703');
			tgtElm.options[4] = new Option('整体・鍼灸', '704');
			tgtElm.options[5] = new Option('薬・健康食品', '705');
		}
}//endfunction

function sf_railway_id_Change(e) {
	changed_value = e.value;
	tgtElm = document.getElementById("sf_station_id");

	for (i=tgtElm.length - 1;i >= 0;i--) {
	    tgtElm.options[i] = null;
	}

	if(changed_value == '') {
	    tgtElm.options[0] = new Option('-----','');
	}
	else if (changed_value == '11313') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('市川', '1131327');
			tgtElm.options[2] = new Option('本八幡', '1131328');
			tgtElm.options[3] = new Option('下総中山', '1131329');
			tgtElm.options[4] = new Option('西船橋', '1131330');
			tgtElm.options[5] = new Option('船橋', '1131331');
			tgtElm.options[6] = new Option('東船橋', '1131332');
			tgtElm.options[7] = new Option('津田沼', '1131333');
			tgtElm.options[8] = new Option('幕張本郷', '1131334');
		}
	else if (changed_value == '11326') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('市川塩浜', '1132609');
			tgtElm.options[2] = new Option('西船橋', '1132610');
			tgtElm.options[3] = new Option('二俣新町', '1132611');
			tgtElm.options[4] = new Option('南船橋', '1132612');
			tgtElm.options[5] = new Option('新習志野', '1132613');
			tgtElm.options[6] = new Option('海浜幕張', '1132614');
		}
	else if (changed_value == '21004') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('新鎌ケ谷', '2100430');
			tgtElm.options[2] = new Option('鎌ヶ谷', '2100431');
			tgtElm.options[3] = new Option('馬込沢', '2100432');
			tgtElm.options[4] = new Option('塚田', '2100433');
			tgtElm.options[5] = new Option('新船橋', '2100434');
			tgtElm.options[6] = new Option('船橋', '2100435');
		}
	else if (changed_value == '23001') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('市川真間', '2300114');
			tgtElm.options[2] = new Option('菅野', '2300115');
			tgtElm.options[3] = new Option('京成八幡', '2300116');
			tgtElm.options[4] = new Option('鬼越', '2300117');
			tgtElm.options[5] = new Option('京成中山', '2300118');
			tgtElm.options[6] = new Option('東中山', '2300119');
			tgtElm.options[7] = new Option('京成西船', '2300120');
			tgtElm.options[8] = new Option('海神', '2300121');
			tgtElm.options[9] = new Option('京成船橋', '2300122');
			tgtElm.options[10] = new Option('大神宮下', '2300123');
			tgtElm.options[11] = new Option('船橋競馬場', '2300124');
			tgtElm.options[12] = new Option('谷津', '2300125');
			tgtElm.options[13] = new Option('京成津田沼', '2300126');
			tgtElm.options[14] = new Option('京成大久保', '2300127');
			tgtElm.options[15] = new Option('実籾', '2300128');
			tgtElm.options[16] = new Option('八千代台', '2300129');
		}
	else if (changed_value == '28004') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('妙典', '2800421');
			tgtElm.options[2] = new Option('原木中山', '2800422');
			tgtElm.options[3] = new Option('西船橋', '2800423');
		}
	else if (changed_value == '99329') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('京成津田沼', '9932901');
			tgtElm.options[2] = new Option('新津田沼', '9932902');
			tgtElm.options[3] = new Option('前原', '9932903');
			tgtElm.options[4] = new Option('薬園台', '9932904');
			tgtElm.options[5] = new Option('習志野', '9932905');
			tgtElm.options[6] = new Option('北習志野', '9932906');
			tgtElm.options[7] = new Option('高根木戸', '9932907');
			tgtElm.options[8] = new Option('高根公団', '9932908');
			tgtElm.options[9] = new Option('滝不動', '9932909');
			tgtElm.options[10] = new Option('三咲', '9932910');
			tgtElm.options[11] = new Option('二和向台', '9932911');
			tgtElm.options[12] = new Option('鎌ケ谷大仏', '9932912');
			tgtElm.options[13] = new Option('初富', '9932913');
			tgtElm.options[14] = new Option('新鎌ケ谷', '9932914');
			tgtElm.options[15] = new Option('北初富', '9932915');
			tgtElm.options[16] = new Option('くぬぎ山', '9932916');
		}
	else if (changed_value == '99338') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('西船橋', '9933801');
			tgtElm.options[2] = new Option('東海神', '9933802');
			tgtElm.options[3] = new Option('飯山満', '9933803');
			tgtElm.options[4] = new Option('北習志野', '9933804');
			tgtElm.options[5] = new Option('船橋日大前', '9933805');
			tgtElm.options[6] = new Option('八千代緑が丘', '9933806');
		}
	else if (changed_value == '11305') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('市川大野', '1130522');
			tgtElm.options[2] = new Option('船橋法典', '1130523');
			tgtElm.options[3] = new Option('西船橋', '1130524');
		}
	else if (changed_value == '99999') {
		tgtElm.options[0] = new Option('-----', '');
			tgtElm.options[1] = new Option('その他の駅', '9999999');
		}
}//endfunction

