How to download and use the KML mapping data

[Handler onQueryFinished attached to 'lmb_test' (504393) on page 'roads/roads/status-enquiries/row/row/row-maps/row-maps-download.htm'] Line 14: ReferenceError: swatch is not defined