public function init()
 {
     $params = $this->actionParams;
     if (isset($params['rec_name'])) {
         $this->_rec = Recruitment::model()->findByName($params['rec_name']);
         // Organizations::model()->findByAttributes(array('name' => $params['org']));
         if (null == $this->_rec) {
             throw new CHttpException(404, O::t('oprecx', 'Recruitment {rec} Not Found.', array('{rec}' => $params['rec_name'])));
         }
         try {
             $timezone = $this->_rec->timezone;
             O::app()->setTimeZone($timezone);
         } catch (Exception $e) {
             O::log('Setting timezone failed');
         }
     } else {
         throw new CHttpException(404, O::t('oprecx', 'Page Not Found "{action}".'));
     }
     //$this->isWizard = isset($params['wiz']) && $params['wiz'] == 1;
     //var_dump($this->actionParams);
 }