protected function AddHeadShotToPanel($mixSource, $blnSetAsActive, $intIdFromDatabase = null)
 {
     $imgHeadShot = new QImageControl($this->dtrHeadShots);
     if ($mixSource instanceof QFileUploader) {
         $imgHeadShot->SetImagePathFromFileUploader($mixSource);
     } else {
         if (is_file($mixSource)) {
             $imgHeadShot->ImagePath = $mixSource;
         } else {
             $imgHeadShot->ImagePath = __DOCROOT__ . __IMAGE_ASSETS__ . '/no_headshot.png';
         }
     }
     $imgHeadShot->Width = 160;
     $imgHeadShot->Height = 160;
     $imgHeadShot->ActionParameter = $intIdFromDatabase;
     if ($blnSetAsActive) {
         $this->strSelectedImageControlId = $imgHeadShot->ControlId;
     }
     $imgHeadShot->ToolTip = 'Set as Active';
     $imgHeadShot->AddAction(new QClickEvent(), new QAjaxControlAction($this, 'imgHeadShot_Click'));
     $this->imgHeadShotArray[] = $imgHeadShot;
 }