﻿/////////////////////////////////////////////////////////////////////////////
// Locale 1033 (en-US) string/URL resource file
// This file must be included BEFORE MapWebPart.js or any 
// other files that are using it

// This variable must be equal to current LCID
var L_MapLocaleId_General = 1033;

// The following four vars need not be localized.
var MapControlUrl = "/_layouts/" + L_MapLocaleId_General + "/wh/MapWebPart/";
var MapDialogUrl = MapControlUrl + "MapDialog.aspx";

// The base URL to the MapPoint service where the map will appear.
var MapLinkBaseUrl = "http://maps.msn.com/home.aspx";
var MapDirBaseUrl = "http://maps.msn.com/directionsFind.aspx";

/* These are for en-CA
http://maps.sympatico.msn.ca/directionsFind.aspx
http://maps.sympatico.msn.ca/home.aspx
*/
 
// error messages for map dialog
//var L_MapError_Button = "Try again";
var L_MapFormCaption_ErrorMessage = "Type text in at least one field.";
var L_MapFormErrHeader_HTMLText = "&nbsp;";
//var L_MapDialogErrCaption_ErrorMessage = "Type text in all the required fields.";
//var L_MapDialogErrHeader_HTMLText = "&nbsp;";
var L_MapDialogEmptyAddr_ErrorMessage = "The Street address field cannot be blank or contain invalid characters like %.";
var L_MapDialogEmptyCity_ErrorMessage = "The City field cannot be blank or contain invalid characters like %.";
var L_MapDialogEmptyState_ErrorMessage = "The State/Province field cannot be blank or contain invalid characters like %.";
var L_MapDialogInvalidZip_ErrorMessage = "The Postal code field cannot be blank, non-numeric or contain invalid characters like %.";
var L_MapDialogEmptyCountry_ErrorMessage = "The Country field cannot be blank or contain invalid characters like %.";
var L_MapDialogLinkDir_ErrorMessage = 'Select either or both "Link to map" and "Driving directions."';

var L_MapReqFields_ErrorMessage = "Select at least one of the following: City, State/Province, Postal code.";
