/**
** These are the listeners for the externalInterface flash calls for the 'Generic Tool'
** We call the toolHostCallbacks.js to handle the communication between the tool and the Flash
**/

var launchGenericTool = function (toolID, data) {
	toolHostCallbacks.getTool(toolID, data);
}

var closeGenericTool = function (toolID) {
    toolHostCallbacks.close(toolID);
}

var closeAllGenericTools = function () {
    toolHostCallbacks.closeAllTools();
}