var msgList = new Array();
var unitList = new Array();
var sUnitList = new Array();
var modeList = new Array();
var titleList = new Array();
var buttonList = new Array();
msgList[0] = "Unable to load one of the following Javascript Libraries:\naimsCommon.js\naimsXML.js\naimsMap.js";
msgList[1] = "No request for Limit Extent";
msgList[2] = "Unable to start. Required HTML Form missing (jsForm.htm).";
msgList[3] = "Current Extent:\nLeft: ";
msgList[4] = "\nBottom: ";
msgList[5] = "\nRight: ";
msgList[6] = "\nTop: ";
msgList[7] = "\n\nRatio to Full Extent: ";
msgList[8] = "ServiceName: ";
msgList[9] = "\nArcXML Request:\n ";
msgList[10] = "Response from previous request(s) not received.";
msgList[11] = "Form for posting request not found. Unable to communicate with server.";
msgList[12] = "Sending:\n\n";
msgList[13] = "ArcXML Response:\n ";
msgList[14] = "Unable to display MapService\n";
msgList[15] = "Cannot send request";
msgList[16] = "Unable to display Overview Map MapService\n";
msgList[17] = "Unable to set parameters";
msgList[18] = "Unable to get image for click positions.";
msgList[19] = "\nUnable to execute response.";
msgList[20] = " is now the Active Layer";
msgList[21] = "Unable to obtain Field names.\nUnable to query layer.";
msgList[22] = "Name:";
msgList[23] = "Id:";
msgList[24] = "Type:";
msgList[25] = "Extent:";
msgList[26] = "Min Scale:";
msgList[27] = "Max Scale:";
msgList[28] = "Fields:";
msgList[29] = "Size:";
msgList[30] = "Precision:";
msgList[31] = "Unknown";
msgList[32] = "String";
msgList[33] = "Id";
msgList[34] = "Shape";
msgList[35] = "Integer";
msgList[36] = "Double";
msgList[37] = "Boolean";
msgList[38] = "Floating";
msgList[39] = "Small Integer";
msgList[40] = "BLOB";
msgList[41] = "Date";
msgList[42] = "None";
msgList[43] = "Address Match";
msgList[44] = "No";
msgList[45] = "A MapService must be loaded";
msgList[46] = "Cannot query MapService\nIdentify, Select, and Query functions are disabled.";
msgList[47] = "This layer does not have any Hyperlinks.";
msgList[48] = "No selected features to buffer.";
msgList[49] = "Buffer Mode disabled.";
msgList[50] = "Legend Library (aimsLegend.js) not loaded.";
msgList[51] = "Function not enabled.";
msgList[52] = "Map: ";
msgList[53] = "Image: ";
msgList[54] = "ScaleFactor: ";
msgList[55] = "Unknown Mode:";
msgList[56] = "\nUnable to execute request.";
msgList[57] = "Locate Results";
msgList[58] = "Address";
msgList[59] = "Score";
msgList[60] = "Unable to locate address";
msgList[61] = "Previous ";
msgList[62] = " Records";
msgList[63] = "More Records";
msgList[64] = "No Features found.";
msgList[65] = "Returned ArcXML Response:";
msgList[66] = "Server returned:";
msgList[67] = "Hyperlink to ";
msgList[68] = "Unable to hyperlink with submitted request.";
msgList[69] = "Unable to hyperlink.";
msgList[70] = "Measure Totals cleared.";
msgList[71] = "Selection cleared.";
msgList[72] = "Field";
msgList[73] = "Operator";
msgList[74] = "Requesting sample values for the layer ";
msgList[75] = "The first ";
msgList[76] = " records are being accessed. There may be duplicate values.";
msgList[81] = "Distance must be at least zero.\\nStart all numbers less than one with a leading zero.";
msgList[82] = "Highlight features from ";
msgList[83] = " within a distance of&nbsp;";
msgList[84] = " around the selected features of ";
msgList[85] = "Display Attributes";
msgList[86] = "Rec";
msgList[93] = "A minimum of two points are required.";
msgList[94] = "A minimum of three points are required.";
msgList[95] = "Select with Line or Polygon";
msgList[96] = "Click on \"Create Print Page\" to open a new Browser window with the Map Image ";
msgList[97] = "displayed. You can then use the File/Print menu item";
msgList[98] = "to send the display to your printer.";
msgList[99] = "Please enter a string";
msgList[100] = "The modules available on this site make extensive use of JavaScript <br> and requires a 4.0 or newer Browser.<br>Internet Explorer is not supported on the Macintosh."; 
msgList[101] = " is not visible due to scale and features cannot be selected.\n\nZoom to a scale where the layer is visible.\n\n";
msgList[102] = " is not visible and features cannot be selected.\n\nCheck Visible for ";
msgList[103] = "Check Visible for the layer and click Refresh Map.";
msgList[104] = "The Active Layer ";
msgList[105] = "At least one point is required";
msgList[106] = "Buffer Shape";
msgList[107] = "Buffer Size:";
msgList[108] = " and click Refresh Map.";
msgList[109] = "No operator in query";
msgList[110] = "Query expression is blank.\nNo features have been selected.";
msgList[111] = "No Layers visible.";
msgList[112] = "No features found at click location.";
msgList[113] = "Loading Explore Qatar. . .";
msgList[114] = "No hyperlinks defined for any of the visible layers.";
msgList[115] = "No Hyperlinks defined.";
msgList[116] = "No hyperlink defined for any layer at click location";
msgList[117] = "Retrieving Data. . .";
msgList[118] = "Retrieving Map. . .";
msgList[119] = "You are not authorized to make map requests to this MapService.";
msgList[120] = "Debug Mode On";
msgList[121] = "Debug Mode Off";
msgList[122] = " records are being accessed. Duplicate values will be sorted out, resulting in fewer samples.";
msgList[123] = "";
msgList[124] = "";
msgList[125] = "";
msgList[126] = "";
msgList[127] = "";
msgList[128] = "";
msgList[129] = "";
msgList[130] = "";
unitList[0] = "DEGREES";
unitList[1] = "FEET";
unitList[2] = "MILES";
unitList[3] = "METERS";
unitList[4] = "Kilometers";
sUnitList[0] = "DEGREES";
sUnitList[1] = "FEET";
sUnitList[2] = "MILES";
sUnitList[3] = "METERS";
sUnitList[4] = "KILOMETERS";
modeList[0] = "Zoom In";
modeList[1] = "Zoom Out";
modeList[2] = "Pan";
modeList[3] = "Identify";
modeList[4] = "Select Rectangle";
modeList[5] = "Select Point";
modeList[6] = "Select Line";
modeList[7] = "Select Polygon";
modeList[8] = "Select Line/Polygon";
modeList[9] = "Hyperlink";
modeList[10] = "Select Shape";
modeList[11] = "Buffer Shape";
modeList[12] = "Measure";
modeList[13] = "Create Shape";
modeList[14] = "Locate Address";
modeList[15] = "Query";
modeList[16] = "Search";
modeList[17] = "Find";
modeList[18] = "Buffer";
modeList[19] = "Identify All";
modeList[20] = "ID Visible Features";
modeList[21] = "Get Address";
titleList[0] = "ArcIMS HTML Viewer"; 
titleList[1] = "Current Active Layer";	
titleList[2] = "Layer Information";	
titleList[3] = "Legend";	
titleList[4] = "ArcIMS HTML Viewer Map"; 
titleList[5] = "Map Output";
titleList[6] = "Address Match Candidates";	
titleList[7] = "Query/Selection Results";	
titleList[8] = "Select Results";
titleList[9] = "Hyperlink Results";
titleList[10] = "Buffer Results";
titleList[11] = "Address Matching";
titleList[12] = "Toolbar";
titleList[13] = "Layers";
titleList[14] = " Visible ";
titleList[15] = " Active ";
titleList[16] = "Display Units";
titleList[17] = "Map Units";
titleList[18] = "PrintForm";
titleList[19] = "Title to display on Map:<BR>";
titleList[20] = "Explore Qatar";
titleList[21] = "Print Map";
titleList[22] = "";;	
titleList[23] = "";
titleList[24] = "";
titleList[25] = "";
titleList[26] = "";
titleList[27] = "";
titleList[28] = "";
titleList[29] = "";
titleList[30] = "";
buttonList[0] = "Hide Legend";
buttonList[1] = "Locate Another Address";
buttonList[2] = "Value";
buttonList[3] = "Sample Values";
buttonList[4] = "Get Samples";
buttonList[5] = "Add to Query String";
buttonList[6] = "Execute";
buttonList[7] = "Undo";
buttonList[8] = "Clear";
buttonList[9] = "Create Buffer";
buttonList[10] = "Yes";
buttonList[11] = "No";
buttonList[12] = "Select Layer";
buttonList[13] = "Locate";
buttonList[14] = "Toggle between Legend and LayerList";
buttonList[15] = "Toggle Overview Map";
buttonList[16] = "Zoom In";
buttonList[17] = "Zoom Out";
buttonList[18] = "Zoom to Full Extent";
buttonList[19] = "Zoom to Active Layer";
buttonList[20] = "Back to Last Extent";
buttonList[21] = "Pan";
buttonList[22] = "Pan to North";	
buttonList[23] = "Pan to South";	
buttonList[24] = "Pan to West";		
buttonList[25] = "Pan to East";
buttonList[26] = "HyperLink";
buttonList[27] = "Identify";
buttonList[28] = "Query";
buttonList[29] = "Search";
buttonList[30] = "Find";
buttonList[31] = "Measure";
buttonList[32] = "Set Units";	
buttonList[33] = "Buffer";	
buttonList[34] = "Select by Rectangle";		
buttonList[35] = "Select by Line/Polygon";
buttonList[36] = "Clear Selection";
buttonList[37] = "Locate Address";
buttonList[38] = "Print";
buttonList[39] = "Extract";
buttonList[40] = "Options";
buttonList[41] = "Load MapService";
buttonList[42] = "Hide LayerList";
buttonList[43] = "Info";	
buttonList[44] = "Refresh Map";		
buttonList[45] = "    Restart    ";
buttonList[46] = " Delete Last Point ";
buttonList[47] = "  Complete Line & Select  ";
buttonList[48] = "Complete Polygon & Select";
buttonList[49] = "Cancel"; 
buttonList[50] = "Create Print Page"; 
buttonList[51] = "Buffer Point & Select";
buttonList[52] = "Buffer Line & Select";	
buttonList[53] = "Complete Polygon, Buffer, Select";	
buttonList[54] = "Use Point to Select";		
buttonList[55] = "Get Address @ Click";
buttonList[56] = "Find Route";

buttonList[57] = "Locate Landmarks";
buttonList[58] = "Locate Services";
buttonList[59] = "Locate Address";
buttonList[60] = "Landmark";
buttonList[61] = "Enter/Select to Locate";
buttonList[62] = "Locate";
buttonList[63] = "Services";
buttonList[64] = "Enter/Select Category";
buttonList[65] = "Select/Enter";
buttonList[66] = "Enter";
buttonList[67] = "Zone Info.";
buttonList[68] = "Street Info.";
buttonList[69] = "Plot Info.";
buttonList[70] = "Zone Name";
buttonList[71] = "Zone Number";
buttonList[72] = "Street Name";
buttonList[73] = "Select to Locate";
buttonList[74] = "NAME";
buttonList[75] = "ADDRESS";
buttonList[76] = "TELEPHONE";
buttonList[77] = "WEBSITE";
buttonList[78] = "Query with reference to";
buttonList[79] = "Search for";
buttonList[80] = "Select Category";
buttonList[81] = "within a distance of";
buttonList[82] = "km.";
buttonList[83] = "SEARCH";
buttonList[84] = "Select Active Layer";
buttonList[85] = "From the list of displayed layers select the layer to use for identify or feature selection";
buttonList[86] = "Municipalities";
buttonList[87] = "Zone Areas";
buttonList[88] = "Street Name";
buttonList[89] = "Print Orientation";
buttonList[90] = "Portrait";
buttonList[91] = "Landscape";
buttonList[92] = "Created from 'Explore Qatar' at ";
buttonList[93] = "Data from 'The Centre for GIS',";
buttonList[94] = "Ministry of Municipal Affairs & Agriculture,";
buttonList[95] = "QATAR.";
buttonList[96] = "Map created on";
buttonList[97] = "Street Number";
buttonList[98] = "Plot Number";
