reset_kitchen_id = function(event){
	Event.stop(event);
	$('s_kitchen_id').value = 0;
}

change_bt = function(event){
	Event.stop(event);	
	if($F('s_business_type') == 'r' || $F('s_business_type') == 'b' || $F('s_business_type') == 's') {
			$('restaurant_details').show();
	}else{
			$('restaurant_details').hide();
	}
	if($F('s_business_type') == 'r') {
			$('adv_search_restaurants').show();
	}else{
			$('adv_search_restaurants').hide();
	}
	if($F('s_business_type') == 'h') {
			$('hotel_details').show();
			$('adv_search_hotels').show();
	}else{
			$('hotel_details').hide();
			$('adv_search_hotels').hide();
	}	
	if($F('s_business_type') == 'b') {
			$('adv_search_banquets').show();
	}else{
			$('adv_search_banquets').hide();
	}
	if($F('s_business_type') == 's') {
			$('adv_search_seminars').show();
	}else{
			$('adv_search_seminars').hide();
	}
	$('s_name').activate();
}

function get_cities(){
	new Ajax.Updater('city_list', 'city_list.php', { postBody: Form.serialize('search_frm'), evalScripts:true});
	$('s_name').activate();
}

function get_cities_event(){
	new Ajax.Updater('city_list_x', 'city_list_simple.php', { postBody: Form.serialize('search_frm_x'), evalScripts:true});
}

function get_cities_event_nl(){
	new Ajax.Updater('city_list_x', 'city_list_simple_nl.php', { postBody: Form.serialize('search_frm_x'), evalScripts:true});
}

function get_cities_event_e(){
	new Ajax.Updater('city_list_x', 'city_list_simple_e.php', { postBody: Form.serialize('search_frm_x'), evalScripts:true});
}