application.ptPhotoGallery.scripts.loadJQuery();
application.ptPhotoGallery.scripts.loadJQueryUI();
application.ptPhotoGallery.scripts.loadADFLightbox();
// Set up an app config struct that can be passed to the datasheet modules
request.ptphotogallery.configStruct = application.ptPhotoGallery.getAppConfig();
request.params.formid = application.ptPhotoGallery.getPhotoFormID();
request.params.addButtonTitle = "Add New Photo";
request.params.editLBWidth = 600;
request.params.editLBHeight = 600;