/*
var map = null;
var res = false;
var Location = null;
Location = new VELatLong(
Notice: Undefined variable: latitude in /services/webpages/p/r/preservestaffnow.org/public/virtualEarth.php on line 51
,
Notice: Undefined variable: longitude in /services/webpages/p/r/preservestaffnow.org/public/virtualEarth.php on line 51
);
var pinPoint = null;
var pinPixel = null;
function GetMap()
{
if (Location == null) {
return retVal;
}
map = new VEMap('myMap');
if (map && ("object" == typeof(map)) ) {
map.LoadMap(Location, 9);
AddPin();
return true;
}
return false;
}
function ShowTraffic()
{
map.LoadTraffic(true);
map.ShowTrafficLegend(50,50);
map.SetTrafficLegendText("Traffic Conditions");
}
function ClearTraffic()
{
map.ClearTraffic();
}
// called on rollover of Los Angeles link
function MapIt()
{
document.getElementById('myMap').style.display='block';
document.getElementById('mapControls').style.visibility='visible';
if (!res) {
res=GetMap();
if (!res) {
alert("Map of LA feature is unavailable currently");
return false;
}
}
}
function AddPin()
{
// Add a new pushpin to the center of the map.
pinPoint = map.GetCenter();
pinPixel = map.LatLongToPixel(pinPoint);
map.AddPushpin(pinPoint);
}
function closeMap()
{
document.getElementById('mapControls').style.visibility='hidden';
document.getElementById('myMap').style.display='none';
window.close();
}
//window.onload = MapIt; */
location.href="https://www.google.com/maps/dir/Downtown+Los+Angeles,+Los+Angeles,+CA/Santa+Monica+Beach,+Santa+Monica,+CA/@33.9892985,-118.4571058,12z/data=!3m1!4b1!4m14!4m13!1m5!1m1!1s0x80c2c634253dfd01:0x26fe52df19a5a920!2m2!1d-118.2517828!2d34.0487969!1m5!1m1!1s0x80c2a4d753e7d5f1:0x1730c10394bec38!2m2!1d-118.4976285!2d34.0091764!3e0!5m1!1e1?entry=ttu";