var aryDbrServices = new Array();
aryDbrServices[0] = new Array(); aryDbrServices[0][0] = "21"; aryDbrServices[0][1] = "高齢者";
aryDbrServices[1] = new Array(); aryDbrServices[1][0] = "22"; aryDbrServices[1][1] = "子ども・ひとり親";
aryDbrServices[2] = new Array(); aryDbrServices[2][0] = "23"; aryDbrServices[2][1] = "障害者・児";
aryDbrServices[3] = new Array(); aryDbrServices[3][0] = "24"; aryDbrServices[3][1] = "女性";
aryDbrServices[4] = new Array(); aryDbrServices[4][0] = "25"; aryDbrServices[4][1] = "生活保護";

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

