// Does a MapQuest OpenAPI directions search. Give the Origin (o*), and Destination (d*) address.
// Fills result into a #directions div
function getDirections(oAddress, oCity, oState, oPostalCode, dAddress, dCity, dState, dPostalCode)
{
	mqRoute = new MQRoute("directions");

	var thumbSize = new MQSize();
	thumbSize.setHeight(150);
	thumbSize.setWidth(300);

	var overviewSize = new MQSize();
	overviewSize.setHeight(300);
	overviewSize.setWidth(400);

	mqRoute.primaryMapSize = overviewSize;

	mqRoute.origin.setAddress(oAddress);
	mqRoute.origin.setCity(oCity);
	mqRoute.origin.setStateProvince(oState);
	mqRoute.origin.setPostalCode(oPostalCode);
	mqRoute.origin.setName("orig");

	mqRoute.destination.setAddress(dAddress);
	mqRoute.destination.setCity(dCity);
	mqRoute.destination.setStateProvince(dState);
	mqRoute.destination.setPostalCode(dPostalCode);
	mqRoute.destination.setName("dest");

	mqRoute.doRoute("routeReturn");
}

function routeReturn(mqRoute, status) {
}