private static void read_map_indexes(XmlReader Input_XmlReader, Map_Info mapInfo)
        {
            string title = String.Empty;
            string file = String.Empty;
            string html = String.Empty;
            string type = String.Empty;
            string id_string = String.Empty;

            while (Input_XmlReader.Read())
            {
                if (Input_XmlReader.NodeType == XmlNodeType.EndElement)
                {
                    switch (Input_XmlReader.Name)
                    {
                        case "map:indexes":
                            return;

                        case "map:image":
                            try
                            {
                                long id = Convert.ToInt64(id_string.ToUpper().Replace("INDE", "").Replace("X", ""));
                                mapInfo.New_Index(id, title, file, html, type);
                            }
                            catch
                            {
                            }

                            // Clear the variables
                            title = String.Empty;
                            file = String.Empty;
                            html = String.Empty;
                            type = String.Empty;
                            id_string = String.Empty;
                            break;
                    }
                }
                else if (Input_XmlReader.NodeType == XmlNodeType.Element)
                {
                    switch (Input_XmlReader.Name)
                    {
                        case "map:image":
                            if (Input_XmlReader.MoveToAttribute("type"))
                                type = Input_XmlReader.Value;
                            if (Input_XmlReader.MoveToAttribute("id"))
                                id_string = Input_XmlReader.Value;
                            break;

                        case "map:title":
                            Input_XmlReader.Read();
                            if (Input_XmlReader.NodeType == XmlNodeType.Text)
                            {
                                title = Input_XmlReader.Value;
                            }
                            break;

                        case "map:file":
                            Input_XmlReader.Read();
                            if (Input_XmlReader.NodeType == XmlNodeType.Text)
                            {
                                file = Input_XmlReader.Value;
                            }
                            break;

                        case "map:html":
                            Input_XmlReader.Read();
                            if (Input_XmlReader.NodeType == XmlNodeType.Text)
                            {
                                html = Input_XmlReader.Value;
                            }
                            break;
                    }
                }
            }
        }