function search_chk_list_m(intNum) {

	var InfoPath = '';
	var cnt = 0;
	var StnCnt = 0;
	var TsCnt = 0;

	InfoPath += get_List_Division();
	InfoPath += get_List_Pref();

	if (intNum == 1){

		InfoPath += get_List_City();
		InfoPath += get_List_Region();

	}else if (intNum == 2){ 

		for (i=0;i < document.getElementsByName('StnChk').length; i++) {
			if (document.getElementsByName('StnChk')[i].checked) {
				cnt++;
			}
		}
		//ExtCheckなし
		if (cnt == 0) {

			InfoPath += get_List_Line();
			InfoPath += get_List_Station();
			InfoPath += get_List_TimeStation();

		//ExtCheckあり
		} else {

			if(document.getElementsByName('TsCd').length > 0) {
				InfoPath += get_TsCd();
			} else{
				InfoPath += get_StnCd();
			}
		}
	}

	InfoPath += get_List_DispCnt();
	InfoPath += get_List_PriceFrom();
	InfoPath += get_List_PriceTo();
	InfoPath += get_List_Layout();
	InfoPath += get_List_UseSzSquFrom();
	InfoPath += get_List_UseSzSquTo();
	InfoPath += get_List_CompDt();
	InfoPath += get_List_WalkTm();
	InfoPath += get_List_PjRmEnvFrom();
//	InfoPath += get_List_PjRmEnvTo();
	InfoPath += get_List_PjSusBit();
	InfoPath += get_List_Radius();
	InfoPath += get_List_Facility();

	if (InfoPath != '') {
		InfoPath = '/' + InfoPath.substring(1, InfoPath.length);
	}

	document.search.action = document.search.action + InfoPath;
	document.search.submit();
}


function search_chk_list_k(intNum) {

	var InfoPath = '';
	var cnt = 0;
	var StnCnt = 0;
	var TsCnt = 0;

	InfoPath += get_List_Division();
	InfoPath += get_List_Pref();

	if (intNum == 1){

		InfoPath += get_List_City();
		InfoPath += get_List_Region();

	}else if (intNum == 2){ 

		for (i=0;i < document.getElementsByName('StnChk').length; i++) {
			if (document.getElementsByName('StnChk')[i].checked) {
				cnt++;
			}
		}
		//ExtCheckなし
		if (cnt == 0) {

			InfoPath += get_List_Line();
			InfoPath += get_List_Station();
			InfoPath += get_List_TimeStation();

		//ExtCheckあり
		} else {

			if(document.getElementsByName('TsCd').length>0) {
				InfoPath += get_TsCd();
			} else{
				InfoPath += get_StnCd();
			}
		}
	}

	InfoPath += get_List_DispCnt();
	InfoPath += get_List_PriceFrom();
	InfoPath += get_List_PriceTo();
	InfoPath += get_List_K_Layout();
	InfoPath += get_List_CompDt();
	InfoPath += get_List_WalkTm();
	InfoPath += get_List_PjSusBit();
	InfoPath += get_List_BdSzFrom();
	InfoPath += get_List_BdSzTo();
	InfoPath += get_List_Radius();
	InfoPath += get_List_Facility();

	if (InfoPath != '') {
		InfoPath = '/' + InfoPath.substring(1, InfoPath.length);
	}

	document.search.action = document.search.action + InfoPath;
	document.search.submit();
}

function search_chk_list_t(intNum) {

	var InfoPath = '';
	var cnt = 0;
	var StnCnt = 0;
	var TsCnt = 0;

	InfoPath += get_List_Division();
	InfoPath += get_List_Pref();

	if (intNum == 1){

		InfoPath += get_List_City();
		InfoPath += get_List_Region();

	}else if (intNum == 2){ 

		for (i=0;i < document.getElementsByName('StnChk').length; i++) {
			if (document.getElementsByName('StnChk')[i].checked) {
				cnt++;
			}
		}
		//ExtCheckなし
		if (cnt == 0) {

			InfoPath += get_List_Line();
			InfoPath += get_List_Station();
			InfoPath += get_List_TimeStation();

		//ExtCheckあり
		} else {

			if(document.getElementsByName('TsCd').length>0) {
				InfoPath += get_TsCd();
			} else{
				InfoPath += get_StnCd();
			}
		}
	}

	InfoPath += get_List_DispCnt();
	InfoPath += get_List_PriceFrom();
	InfoPath += get_List_PriceTo();
	InfoPath += get_List_WalkTm();
	InfoPath += get_List_PjSusBit();
	InfoPath += get_List_LandSzFrom();
	InfoPath += get_List_LandSzTo();
	InfoPath += get_List_Radius();
	InfoPath += get_List_Facility();

	if (InfoPath != '') {
		InfoPath = '/' + InfoPath.substring(1, InfoPath.length);
	}

	document.search.action = document.search.action + InfoPath;
	document.search.submit();
}

function search_chk_list_j(intNum) {

	var InfoPath = '';
	var cnt = 0;
	var StnCnt = 0;
	var TsCnt = 0;

	InfoPath += get_List_Division();
	InfoPath += get_List_Pref();

	if (intNum == 1){

		InfoPath += get_List_City();
		InfoPath += get_List_Region();

	}else if (intNum == 2){ 

		for (i=0;i < document.getElementsByName('StnChk').length; i++) {
			if (document.getElementsByName('StnChk')[i].checked) {
				cnt++;
			}
		}
		//ExtCheckなし
		if (cnt == 0) {

			InfoPath += get_List_Line();
			InfoPath += get_List_Station();
			InfoPath += get_List_TimeStation();

		//ExtCheckあり
		} else {

			if(document.getElementsByName('TsCd').length>0) {
				InfoPath += get_TsCd();
			} else{
				InfoPath += get_StnCd();
			}
		}
	}

	InfoPath += get_List_DispCnt();
	InfoPath += get_List_PriceFrom();
	InfoPath += get_List_PriceTo();
	InfoPath += get_List_UseSzSquFrom();
	InfoPath += get_List_UseSzSquTo();
	InfoPath += get_List_WalkTm();
	InfoPath += get_List_CompDt();
	InfoPath += get_List_PjSusBit();
	InfoPath += get_List_PjUse();
	InfoPath += get_List_ProKd();
	InfoPath += get_List_PossForm();;
	InfoPath += get_List_Yield();
	InfoPath += get_List_Radius();
	InfoPath += get_List_Facility();

	if (InfoPath != '') {
		InfoPath = '/' + InfoPath.substring(1, InfoPath.length);
	}

	document.search.action = document.search.action + InfoPath;
	document.search.submit();
}



