// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
function result(from, to)
{
	new Ajax.Updater("MapResult", "result.php?from_id="+$(from).getValue()+"&to_id="+$(to).getValue());
}


function CallingTo(from)
{
	new Ajax.Updater("spanTo", "callingto.php?from_id="+$(from).getValue());
}