';
phocaDirDisplay.setDirections(response);
} else if (google.maps.DirectionsStatus.NOT_FOND) {
alert("One of the locations specified in the requests's origin, destination, or waypoints could not be geocoded.");
} else if (google.maps.DirectionsStatus.ZERO_RESULTS) {
alert("No route could be found between the origin and destination.");
} else if (google.maps.DirectionsStatus.MAX_WAYPOINTS_EXCEEDED) {
alert("Too many DirectionsWaypoints were provided in the DirectionsRequest.");
} else if (google.maps.DirectionsStatus.OVER_QUERY_LIMIT) {
alert("Webpage has sent too many requests within the allowed time period.");
} else if (google.maps.DirectionsStatus.INVALID_REQUEST) {
alert("The provided DirectionsRequest was invalid.");
} else if (google.maps.DirectionsStatus.REQUEST_DENIED) {
alert("Webpage is not allowed to use the directions service.");
} else if (google.maps.DirectionsStatus.UNKNOWN_ERROR) {
alert("Directions request could not be processed due to a server error. The request may succeed if you try again.");
} else {
alert("Directions request could not be processed due to a server error. The request may succeed if you try again.");
}
});
}
function initialize() {
tstPhocaMap.setAttribute("oldValue",0);
tstPhocaMap.setAttribute("refreshMap",0);
tstIntPhocaMap = setInterval("CheckPhocaMap()",500);
}
google.setOnLoadCallback(initialize);
//]]>