protected function _initDoctype()
{
global $Campsite;
$this->bootstrap('view');
$view = $this->getResource('view');
Zend_Registry::set('view', $view);
// @todo http://framework.zend.com/manual/en/zend.application.available-resources.html
$view->doctype('HTML5');
// set help url
$view->helpUrl = $Campsite['site']['help_url'];
// set locale
$locale = isset($_COOKIE['TOL_Language']) ? $_COOKIE['TOL_Language'] : 'en';
$locale_fix = array('cz' => 'cs');
$view->locale = isset($locale_fix[$locale]) ? $locale_fix[$locale] : $locale;
}