function submit_form(destination_value, date_value, duration_value, depart_airport){
	destination_value = unescape(destination_value)
	destination_value = replaceAllCharacters(destination_value, "'", "\"")
	document.results_summary_form.region.value 			= destination_value
	document.results_summary_form.holiday_date.value	= date_value
	document.results_summary_form.dur.value				= duration_value
	document.results_summary_form.dep.value				= depart_airport
	document.results_summary_form.submit()
}

function replaceAllCharacters(the_string, old_character, new_character){
	if(the_string.indexOf(old_character) != -1){
		var the_string_arry = the_string.split(old_character)
		the_string = the_string_arry.join(new_character)
	}
	return the_string
}
