// **********************************
// **  Flashmaps Dynamic Locator   **
// **     JavaScript Functions     **
// **********************************
// ** (c)2009 Flashmaps Geospatial **
// **   http://www.flashmaps.com   **
// **********************************

//
// Find an Area in the map

// Modified by Parth Patel on May 14, 2010
// Added 1 parameter - objfmEngine
// Before objfmEngine parameter in function static variable "fmEngine" variable was used
function fmDLFocusAndHighlightArea(objfmEngine, objfmDLMcPath, areaID, highlightStyle) {
	objfmEngine.SetVariable("_root." + fmDLMcPath + "DLEngine_mc.outsideAreaID", areaID);	
	objfmEngine.SetVariable("_root." + fmDLMcPath + "DLEngine_mc.outsideAction", "FocusAndHighlightObject");
	objfmEngine.TCallLabel("_root." + fmDLMcPath + "DLEngine_mc.outside_mc", "doAction");
}
//
// Called from the DL's engine when the map is finally loaded
function fmDLMapLoaded() {
    fmDLMapIsReady = true;
}
