		$app = JFactory::getApplication(); 
/*		if ($app->isSite()) {
          JPluginHelper::importPlugin('captcha');
          $dispatcher = JEventDispatcher::getInstance();
          $result = $dispatcher->trigger('onCheckAnswer');

          if (in_array(false, $result, true)) {
            return false;
          }
		} 
*/
if ($app->isSite()) {
		TradeHelper::sendEnquiryEmail($data);
		} 