/**
** These are the listeners for the externalInterface flash calls.
** We call the btl.externaltool.js to handle the communication with the tool and the Flash
** 
**/
var createToolPopup = function (toolType, data, promptForSave, readOnly) {
	
	var popup = ToolManager.createPopup(toolType, data, promptForSave, readOnly);
	
	ToolManager.show(popup);
}

var closeToolPopup = function (toolType) {
    ToolManager.closeOnly();
}