var APIPostToNewWindow = false;
var rtnHTML = "";
var formResultHTML = "";
// Find out if the CE contains an RTE field
var formContainRTE = Application.ptCalendar2.cedata.containsFieldType(arguments.formID, "formatted_text_block");
Application.ptCalendar2.scripts.loadJquery(force=1);
Application.ptCalendar2.scripts.loadADFLightbox(force=1);
Application.ptCalendar2.scripts.loadJquery(force=1);
Application.ptCalendar2.scripts.loadADFLightbox(force=1);
#Server.CommonSpot.UDF.UI.RenderSimpleForm(arguments.dataPageID, arguments.formID, APIPostToNewWindow, formResultHTML)#
application.ptCalendar2.scripts.loadJquery(force=1);
application.ptCalendar2.scripts.loadADFLightbox(force=1);
//targetModule = "#request.subsiteCache[1].url#datasheet-modules/delete-form-data.cfm";
targetModule = "/ADF/extensions/datasheet-modules/delete_element_handler.cfm";
request.params.pageID = arguments.dataPageID;
request.params.formID = arguments.formID;
CD_DIALOGNAME = arguments.title;