This script uses the Google Maps API to display the KML and KMZ files used by Google Earth. There are three ways to provide the file you want to view: