// **********************************
// **  Flashmaps Dynamic Locator   **
// **     JavaScript Functions     **
// **********************************
// ** (c)2009 Flashmaps Geospatial **
// **   http://www.flashmaps.com   **
// **********************************

//
// Find an Area in the map
function fmDLFocusAndHighlightArea(areaID, highlightStyle) {
	fmEngine.SetVariable("_root." + fmDLMcPath + "DLEngine_mc.outsideAreaID", areaID);	
	fmEngine.SetVariable("_root." + fmDLMcPath + "DLEngine_mc.outsideAction", "FocusAndHighlightObject");
	fmEngine.TCallLabel("_root." + fmDLMcPath + "DLEngine_mc.outside_mc", "doAction");
}
//
// Called from the DL's engine when the map is finally loaded
function fmDLMapLoaded() {
    //alert("fmDLMapLoaded");
    fmDLMapIsReady = true;
}
