


var resources = Object.prototype.toString.call(resources) == "[object Array]" ? resources : [];
    resources.Client = 'LU';
    resources.Loading = 'Loading...';
    resources.OK = 'OK';
    resources.CouldNotRetrieveMapLocation = 'Could not retrieve map location.<br/>Please try again later.';
    resources.NoLocationsFound = 'You have either not clicked on a roadway or don\'t have agency permissions for this area';
    resources.FromHere = 'From here';
    resources.ToHere = 'To here';
    resources.ErrorRetrievingYourRoute = 'There was an error retrieving your route. Please try again later.';
    resources.RouteNotAvailable = 'Route not available. Please adjust your start and end destination.';
    resources.DriveAndTransitRouteNotAvailable = 'Drive + Transit route not available. Please verify that transit service is available in the area and that there is a Park & Ride lot nearby.';
    resources.TotalTime = 'Total Time:';
    resources.TotalTravelDistance = 'Total Travel Distance:';
    resources.ThisRouteIncludes = 'This route includes';
    resources.Tolls = 'Tolls';
    resources.Ferries = 'Ferries';
    resources.Closures = 'Closures';
    resources.And = 'and';
    resources.From = 'From';
    resources.To = 'to';
    resources.AllTravelTimesBasedOnEstimates = '*All travel times are based on estimates when real time data is unavailable.';
    resources.PleaseCheckStartEndLocation = 'Please check that you have entered a valid start and end location.';
    resources.StartAndEndLocationCannotBeSame = 'Start and end location cannot be the same.';
    resources.EnterRouteNameToSave = 'Enter a route name to save';
    resources.SorryUnableToFetchRoute = 'There was an error fetching your route details.';
    resources.PleaseEnterRouteNameToSave = 'Please enter a route name to save.';
    resources.YourRouteHasBeenSaved = 'Your route has been saved.';
    resources.SorryErrorSavingRoute = 'There was an error saving your route.';
    resources.AnUnexpectedErrorOccurred = 'An unexpected error has occurred. Please refresh the page.';
    resources.AClusterOfIcons = 'A cluster of icons. Click to zoom in.';
    resources.StartOver = 'Start over';
    resources.ZoomIn = 'Zoom in';
    resources.ZoomInMap = 'Zoom in on the map';
    resources.ZoomOut = 'Zoom out';
    resources.ZoomOutMap = 'Zoom out on the map';
    resources.CenterHere = 'Center here';
    resources.SiteHeader = '511LA';
    resources.RouteDetails = 'Route Details';
    resources.EnableRouteClosureDisclaimer = 'False';
    resources.RouteIncludesClosuresDisclaimer = 'This route includes CLOSURES. You can still view and save the route for future personalized alerts. If you\'re planning on taking this trip now, select an alternate route that doesn\'t have a closure or modify the route to avoid the closure - <a href="" target="_blank">see how</a>.';
    resources.CurrentLocation = 'Current Location';
    resources.NoRouteDetailGenerated = 'No route or transit detail generated.';
    resources.LinkToYourRoute = 'Link To Your Route';
    resources.CopyFromBrowserText = 'You can also copy the link from your browser\'s address bar.';
    resources.SelectRouteFromDropdownText = 'Select your saved route from the dropdown list.';
    resources.HovLanesLayerId = 'HovLanes';
    resources.WeatherForecastLayerId = 'WeatherForecast';
    resources.MessageSignsLayerId = 'MessageSigns';
    resources.CamerasLayerId = 'Cameras';
    resources.MyCamerasLayerId = 'MyCameras';
    resources.Route = 'Route';
    resources.CreateAlertLink = 'Create an Alert for this route.</a>';
    resources.TransitForImmediateDepartures = '';
    resources.TransitRouteOptionsError = 'Time and/or Date field in Transit Route Options cannot be empty';
    resources.Add = 'Add';
    resources.Remove = 'Remove';
    resources.AddCameras = 'Add to My Cameras';
    resources.RemoveCameras = 'Remove from My Cameras';
    resources.CameraSetupInstructions = 'To add to My Cameras: Click on a camera icon on the map. Then click the \'Add\' button at the top of the camera popup.';
    resources.Visible = 'Visible';
    resources.TooltipDisplayOnHover = 'true';
    resources.MapLegendDisplayByDefault = 'true';
    resources.Hr = 'hr';
    resources.Min = 'min';
    resources.StateOutline = '';
    resources.SaveTransit = 'false';
    resources.MarkererIndexOveride = '2';
    resources.MarkerIconColor = '|0182C4|000000';
    resources.DraggableRoutesEnabled = 'True';
    resources.AutoGenerateDriveRoute = 'False';
    resources.AutocompleteCountryCode = 'US';
    resources.SelectValidLocationList = 'Please select a valid location from the list.';
    resources.InvalidLocation = 'Invalid Location';
    resources.DisplayMessageOnFirstVisit = 'Please note that some of our data is provided by Waze';
    resources.PleaseNote = 'Please Note';
    resources.AreaNotCovered = 'This area is not covered by New York OTP yet.';
    resources.ClickToRemove = 'Click To Remove';
    resources.Point = 'Point';
    resources.Segment = 'Segment';
    resources.NoRoutesError = 'There was an error retrieving your route. Please try again later.';
    resources.DriveTransitHelpText = 'Please select the Park & Ride location that you would like to use for this trip. You can select a Park & Ride location by clicking on the icon on the map. You may need to zoom out from your starting location in order to see a Park & Ride lot near you.';
    resources.bundelling = 'False';
    resources.DisplayLocationsInContextMenu = 'false';
    resources.MinimumZoom = '0';
    resources.ParkAndRideLayers = '';
    resources.CameraImageLink = 'False';
    resources.ToggleFullscreen = 'Toggle Fullscreen';
    resources.EnableToggleFullScreenMapBtn = 'false';
    resources.AddWaypoint = 'Add Waypoint';
    resources.Waypoint = 'Waypoint';
    resources.MyLocation = 'My Location';
    resources.JsDateTimeFormat = 'M/D/YYYY h:mm A';
    resources.WeatherRadarLabel = 'Precipitation';
    resources.WeatherRadarLegendPath = '/Content/images/weatherRadar_Rain_US.png';
    resources.Pause = 'Pause';
    resources.Play = 'Play';
    resources.WeatherRadar = 'Weather Radar';
    resources.DataProvidedByEnvironmentCanada = '';
    resources.Update = 'Update';
    resources.Save = 'Save';
    resources.Cancel = 'Cancel';
    resources.CitizenReporterReportSubmited = '';
    resources.CitizenReporterReportFailed = '';
    resources.MobileFirst = 'True';
    resources.OpenDesktopRoutePlannerDefault = 'True';
    resources.PolylineOpacity = '0.5';
    resources.PolylineWeight = '5';
    resources.PolylineColour = '#003366';
    resources.DetourOpacity = '0.8';
    resources.DetourWeight = '5';
    resources.DetourColour = '#1F33F1';
    resources.EventPolylineLayers = 'Construction,Incidents,Closures,SpecialEvents,WeatherIncidents,WeatherClosures';
    resources.FromNowWithHourPlural = '{0} hours ago';
    resources.FromNowWithHourSingular = '{0} hour ago';
    resources.FromNowWithHoursAndPluralMinutes = '{0} hour {1} minutes ago';
    resources.FromNowWithHoursAndSingularMinutes = '{0} hour {1} minute ago';
    resources.FromNowWithMinutesPlural = '{0} minutes ago';
    resources.FromNowWithMinutesSingular = '{0} minute ago';
    resources.Next = 'Next';
    resources.Previous = 'Previous';
    resources.Skip = 'Skip';
    resources.Done = 'Done';
    resources.MapControlPos = 'RIGHT_BOTTOM';
    resources.MapTypePos = 'BOTTOM_CENTER';
    resources.MapTypeStyle = 'HORIZONTAL_BAR';
    resources.MobileFirstMapControlPos = 'RIGHT_BOTTOM';
    resources.MobileFirstMapTypePos = 'BOTTOM_CENTER';
    resources.MobileMapTypePos = 'TOP_LEFT';
    resources.MobileMapControlPos = 'LEFT';
    resources.TruckerModeMapControlPos = 'BOTTOM_CENTER';
    resources.TruckerModeMobileFirstMapControlPos = 'BOTTOM_CENTER';
    resources.TruckerModeMobileMapControlPos = 'BOTTOM_CENTER';
    resources.UseGoogleMapZoom = 'true';
    resources.CouldNotFindCurrentLocation = 'Could not find your current location.';
    resources.IE8ErrorMessage = 'This website has many advanced features that may not function correctly with your older web browser.\n\nIf you have any issues, please switch to a modern browser.';
    resources.ScreenWidthERSLegend = '768';
    resources.CamTooltipMaxWidth = '510';
    resources.VideoRatio = '';
    resources.CctvVideoCustomErrorImage = '/Content/Images/notfound-video.png';
    resources.ShowVideo = 'Show Video';
    resources.HideVideo = 'Hide Video';
    resources.WeatherRadarFrames = '18';
    resources.EnableVideoTimeout = 'False';
    resources.VideoTimeoutInMilliseconds = '120000';
    resources.EnableLocationSearchBar = 'True';
    resources.CctvNoVideoAtThisTime = 'Video not available at this time.';
    resources.CctvNoVideo = 'Video not available for this camera';
    resources.CctvEnableVideo = 'True';
    resources.EventPolygonStrokeColor = '#1E90FF';
    resources.EventPolygonStrokeOpacity = '0.8';
    resources.EventPolygonStrokeWeight = '2';
    resources.EventPolygonFillColor = '#1E90FF';
    resources.EventPolygonFillOpacity = '0.35';
    resources.RoadConditions = 'Road Conditions';
    resources.Comment = 'Comment';
    resources.ViewOnMap = 'View on map';
    resources.ShowMore = 'Show more';
    resources.ShowLess = 'Show less';
    resources.Description = 'Description';
    resources.TruckerMode = 'Trucker Mode';
    resources.EnableTruckerMode = 'False';
