// FunctionID : f_StartSearch()
function f_SearchStart()
{
	
	//Ž‘—¿ƒ^ƒCƒv
	for(ElementCount = 0; ElementCount < window.form_01.elements.length; ElementCount++){
		if(window.form_01.elements[ElementCount].name.substring(0,9) == "check_ct_"){
			if(window.form_01.elements[ElementCount].checked == true){
				if(window.form_01.hidden_coltype.value == "0"){
					window.form_01.hidden_coltype.value = window.form_01.elements[ElementCount].value;
				}
				else{
					window.form_01.hidden_coltype.value += "," + window.form_01.elements[ElementCount].value;
				}
			}
		}
	}
	
	//¬Ž™‹æ•ª
	if((document.form_01.check_adult.checked == true && document.form_01.check_child.checked == true) || 
		(document.form_01.check_adult.checked == false && document.form_01.check_child.checked == false)){
		document.form_01.hidden_adultchild.value = 0;
	}
	else if(document.form_01.check_adult.checked == true){
		document.form_01.hidden_adultchild.value = 1;
	}
	else{
		document.form_01.hidden_adultchild.value = 2;
	}
	
	//ŠÙ
	for(ElementCount = 0; ElementCount < window.form_01.elements.length; ElementCount++){
		if(window.form_01.elements[ElementCount].name.substring(0,9) == "check_rd_"){
			if(window.form_01.elements[ElementCount].checked == true){
				if(window.form_01.hidden_residence.value == "0"){
					window.form_01.hidden_residence.value = window.form_01.elements[ElementCount].value;
				}
				else{
					window.form_01.hidden_residence.value += "," + window.form_01.elements[ElementCount].value;
				}
			}
		}
	}
	
	return true;
}

// FunctionID : f_reset()
function f_reset(key){
	window.location.href = "./lsea030_02.cfm";
}

