Retrieves a collection of the AREA elements defined for the given MAP element.
object.areas(index)
Parameter Description object A MAP element. (index) Optional. An integer or a string specifying the index value of the element to retrieve. Integer indexes are zero-based, meaning the first element in the collection has index 0. A string index is valid only if the string is an identifier of at least one element in the document.
Areas may be added to or removed from the collection. If duplicate identifiers are found, a collection of those items is returned. Collections of duplicates must subsequently be referenced by ordinal position.