var aryServices = new Array();
aryServices[0] = new Array(); aryServices[0][0] = "001"; aryServices[0][1] = "指定介護老人福祉施設（特別養護老人ホーム）";
aryServices[1] = new Array(); aryServices[1][0] = "002"; aryServices[1][1] = "介護老人保健施設";
aryServices[2] = new Array(); aryServices[2][0] = "004"; aryServices[2][1] = "訪問介護／介護予防訪問介護";
aryServices[3] = new Array(); aryServices[3][0] = "005"; aryServices[3][1] = "訪問入浴介護／介護予防訪問入浴介護";
aryServices[4] = new Array(); aryServices[4][0] = "006"; aryServices[4][1] = "訪問看護／介護予防訪問看護";
aryServices[5] = new Array(); aryServices[5][0] = "009"; aryServices[5][1] = "通所介護（デイサービス）／介護予防通所介護";
aryServices[6] = new Array(); aryServices[6][0] = "011"; aryServices[6][1] = "短期入所生活介護（ショートステイ）／介護予防短期入所生活介護";
aryServices[7] = new Array(); aryServices[7][0] = "013"; aryServices[7][1] = "認知症対応型共同生活介護／介護予防認知症対応型共同生活介護";
aryServices[8] = new Array(); aryServices[8][0] = "014"; aryServices[8][1] = "特定施設入居者生活介護／介護予防特定施設入居者生活介護";
aryServices[9] = new Array(); aryServices[9][0] = "015"; aryServices[9][1] = "福祉用具貸与・特定福祉用具販売／介護予防福祉用具貸与・特定介護予防福祉用具販売";
aryServices[10] = new Array(); aryServices[10][0] = "016"; aryServices[10][1] = "居宅介護支援事業者";
aryServices[11] = new Array(); aryServices[11][0] = "017"; aryServices[11][1] = "養護老人ホーム";
aryServices[12] = new Array(); aryServices[12][0] = "019"; aryServices[12][1] = "軽費老人ホーム(Ａ型)";
aryServices[13] = new Array(); aryServices[13][0] = "020"; aryServices[13][1] = "軽費老人ホーム(Ｂ型)";
aryServices[14] = new Array(); aryServices[14][0] = "021"; aryServices[14][1] = "軽費老人ホーム(ケアハウス)";
aryServices[15] = new Array(); aryServices[15][0] = "031"; aryServices[15][1] = "保育所(認可保育所)";
aryServices[16] = new Array(); aryServices[16][0] = "032"; aryServices[16][1] = "認証保育所（Ａ・Ｂ型）";
aryServices[17] = new Array(); aryServices[17][0] = "035"; aryServices[17][1] = "乳児院";
aryServices[18] = new Array(); aryServices[18][0] = "036"; aryServices[18][1] = "母子生活支援施設";
aryServices[19] = new Array(); aryServices[19][0] = "037"; aryServices[19][1] = "児童養護施設";
aryServices[20] = new Array(); aryServices[20][0] = "043"; aryServices[20][1] = "知的障害児施設";
aryServices[21] = new Array(); aryServices[21][0] = "045"; aryServices[21][1] = "自閉症児施設(第2種)";
aryServices[22] = new Array(); aryServices[22][0] = "046"; aryServices[22][1] = "知的障害児通園施設";
aryServices[23] = new Array(); aryServices[23][0] = "048"; aryServices[23][1] = "ろうあ児施設";
aryServices[24] = new Array(); aryServices[24][0] = "050"; aryServices[24][1] = "肢体不自由児施設";
aryServices[25] = new Array(); aryServices[25][0] = "051"; aryServices[25][1] = "肢体不自由児通園施設";
aryServices[26] = new Array(); aryServices[26][0] = "053"; aryServices[26][1] = "重症心身障害児施設";
aryServices[27] = new Array(); aryServices[27][0] = "054"; aryServices[27][1] = "重症心身障害児(者)通所施設";
aryServices[28] = new Array(); aryServices[28][0] = "060"; aryServices[28][1] = "婦人保護施設";
aryServices[29] = new Array(); aryServices[29][0] = "073"; aryServices[29][1] = "身体障害者小規模通所授産施設";
aryServices[30] = new Array(); aryServices[30][0] = "096"; aryServices[30][1] = "知的障害者小規模通所授産施設";
aryServices[31] = new Array(); aryServices[31][0] = "106"; aryServices[31][1] = "精神障害者生活訓練施設";
aryServices[32] = new Array(); aryServices[32][0] = "107"; aryServices[32][1] = "精神障害者福祉ホーム";
aryServices[33] = new Array(); aryServices[33][0] = "108"; aryServices[33][1] = "精神障害者通所授産施設";
aryServices[34] = new Array(); aryServices[34][0] = "109"; aryServices[34][1] = "精神障害者小規模通所授産施設";
aryServices[35] = new Array(); aryServices[35][0] = "110"; aryServices[35][1] = "精神障害者地域生活支援センター";
aryServices[36] = new Array(); aryServices[36][0] = "113"; aryServices[36][1] = "救護施設";
aryServices[37] = new Array(); aryServices[37][0] = "114"; aryServices[37][1] = "更生施設";
aryServices[38] = new Array(); aryServices[38][0] = "116"; aryServices[38][1] = "宿所提供施設";
aryServices[39] = new Array(); aryServices[39][0] = "211"; aryServices[39][1] = "身体障害者更生施設（肢体不自由者）［障害者自立支援法・経過措置］";
aryServices[40] = new Array(); aryServices[40][0] = "212"; aryServices[40][1] = "身体障害者更生施設（視覚障害者・入所）［障害者自立支援法・経過措置］";
aryServices[41] = new Array(); aryServices[41][0] = "214"; aryServices[41][1] = "身体障害者更生施設（聴覚・言語障害者）［障害者自立支援法・経過措置］";
aryServices[42] = new Array(); aryServices[42][0] = "215"; aryServices[42][1] = "身体障害者更生施設（内部障害者・入所）［障害者自立支援法・経過措置］";
aryServices[43] = new Array(); aryServices[43][0] = "217"; aryServices[43][1] = "身体障害者療護施設（入所）［障害者自立支援法・経過措置］";
aryServices[44] = new Array(); aryServices[44][0] = "219"; aryServices[44][1] = "身体障害者入所授産施設［障害者自立支援法・経過措置］";
aryServices[45] = new Array(); aryServices[45][0] = "220"; aryServices[45][1] = "身体障害者通所授産施設［障害者自立支援法・経過措置］";
aryServices[46] = new Array(); aryServices[46][0] = "221"; aryServices[46][1] = "知的障害者入所更生施設［障害者自立支援法・経過措置］";
aryServices[47] = new Array(); aryServices[47][0] = "222"; aryServices[47][1] = "知的障害者通所更生施設［障害者自立支援法・経過措置］";
aryServices[48] = new Array(); aryServices[48][0] = "223"; aryServices[48][1] = "知的障害者入所授産施設［障害者自立支援法・経過措置］";
aryServices[49] = new Array(); aryServices[49][0] = "224"; aryServices[49][1] = "知的障害者通所授産施設［障害者自立支援法・経過措置］";
aryServices[50] = new Array(); aryServices[50][0] = "225"; aryServices[50][1] = "知的障害者通勤寮［障害者自立支援法・経過措置］";
aryServices[51] = new Array(); aryServices[51][0] = "234"; aryServices[51][1] = "居宅介護（ホームヘルプ）[障害者自立支援法]";
aryServices[52] = new Array(); aryServices[52][0] = "235"; aryServices[52][1] = "短期入所（ショートステイ）[障害者自立支援法]";
aryServices[53] = new Array(); aryServices[53][0] = "236"; aryServices[53][1] = "児童デイサービス[障害者自立支援法]";
aryServices[54] = new Array(); aryServices[54][0] = "327"; aryServices[54][1] = "認知症対応型通所介護／介護予防認知症対応型通所介護";
aryServices[55] = new Array(); aryServices[55][0] = "328"; aryServices[55][1] = "小規模多機能型居宅介護／介護予防小規模多機能型居宅介護";

function setService(obj, val) {
	obj.options.length = 1;
	obj.options[0].value = "";
	obj.options[0].text  = "−−選択してください−−";
	obj.selectedIndex = 0;
	for (var i = 0; i < aryServices.length; i++) {
		obj.options.length++;
		obj.options[i + 1].value = aryServices[i][0];
		obj.options[i + 1].text  = aryServices[i][1];
		if (aryServices[i][0] == val || aryServices[i][1] == val) {
				obj.selectedIndex = i + 1;
		}
	}
}

function getServiceName(val) {
	if (val.length == 0) {
		return "";
	}
	for (var i = 0; i < aryServices.length; i++) {
		if (val == aryServices[i][0]) {
			return aryServices[i][1];
		}
	}
	return "";
}

