<?php
require_once GTFWConfiguration::GetValue( 'application', 'docroot').
   'module/pic_ref/response/ProcessPic.proc.class.php';

class DoDeletePic extends JsonResponse
{

   function TemplateModule()
   {
   }
   
   function ProcessRequest()
   {
      $Obj = new Process;
      $urlRedirect = $Obj->Delete();
      
		return array( 'exec' => 'GtfwAjax.replaceContentWithUrl("subcontent-element","'.$urlRedirect.'&ascomponent=1")');  
   }

   function ParseTemplate($data = NULL)
   {
   }
}
?>