// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults


//GMaps route planer
function setDirections(fromAddress, toAddress, locale) {
  gdir.load("from: " + fromAddress + " to: " + toAddress,
            { "locale": locale });
}