﻿// JScript File

//<![CDATA[

function load() {
    if (GBrowserIsCompatible()) {
    
        BuildBaseIcon();
        
        //BuildHeatIcon();
        
        SetupImageIconArray();
        
        SetupAddressFailureCodes();
        
        SetMapToFillWindow(mapName);
                
        //The map variable is used for all calls to the Google Map.
        map = new GMap2(document.getElementById(mapName));
        
        SetupDefaultsForMainMap(map);
        
        map.getContainer().appendChild(ReturnContextMenuDiv(mapName));
        
        SetupContextMenuEventListeners(map);
      
        SetupDirectionsPanel();	
        
        SetupMyLocationElements();	
        
        SetupTranslationsArray();		
    }
    MyLocationSearchVal.focus();
}

//]]>