';
body += ' | ';
body += '';
body += ' ';
// build route description
if( response.route_instructions[i][1] != "" )
body += OSRM.loc(OSRM.RoutingDescription._getDrivingInstruction(response.route_instructions[i][0])).replace(/\[(.*)\]/,"$1").replace(/%s/, response.route_instructions[i][1]).replace(/%d/, OSRM.loc(response.route_instructions[i][6]));
else
body += OSRM.loc(OSRM.RoutingDescription._getDrivingInstruction(response.route_instructions[i][0])).replace(/\[(.*)\]/,"").replace(/%d/, OSRM.loc(response.route_instructions[i][6]));
body += ' ';
body += " | ";
body += ''; if( i != response.route_instructions.length-1 ) body += ''+OSRM.Utils.metersToDistance(response.route_instructions[i][2])+''; body += " | "; body += "