echo include_title();
?>
    <meta name="viewport" content="initial-scale=1">
    <?php 
// Mobile IE allows us to activate ClearType technology for smoothing fonts for easy reading
?>
    <meta http-equiv="cleartype" content="on">
    <?php 
// we remove title from metas, because we don't want a <meta name=title>
$response->getParameterHolder()->remove('title', 'helper/asset/auto/meta');
echo include_metas();
echo '<link rel="canonical" href="http://' . $_SERVER['HTTP_HOST'] . ($_SERVER['REQUEST_URI'] != '/' ? $_SERVER['REQUEST_URI'] : '') . '" />';
?>
    <script type="text/javascript">
    (function(m,w){var l='<?php 
echo trim(minify_get_main_stylesheets($combine, $debug));
?>
',r=1
    w.devicePixelRatio?r=w.devicePixelRatio:"matchMedia"in w&&w.matchMedia&&(w.matchMedia("(min-resolution: 2dppx)").matches||w.matchMedia("(min-resolution: 192dpi)").matches?r=2:(w.matchMedia("(min-resolution: 1.5dppx)").matches||w.matchMedia("(min-resolution: 144dpi)").matches)&&(r=1.5))
    if(r>1){l=l.replace(m,m+'@'+(r>=2?2:1.5)+'x');}document.write(l);})('mobile',window);
    </script>
    <?php 
minify_include_custom_stylesheets($combine, $debug);
echo include_meta_links();
?>
    <link rel="apple-touch-icon" href="<?php 
echo $static_base_url;
?>
/apple-touch-icon.png">
</head>
<body>
    $sf_response->addStylesheet('/static/css/default.css', 'first');
    $sf_response->addStylesheet('/static/css/menu.css');
    $sf_response->addStylesheet('/static/css/modal.css');
} else {
    $sf_response->addStylesheet('/static/css/mobile.css', 'last');
}
if ($sf_user->getCulture() == 'en') {
    $sf_response->addStylesheet('/static/css/ac.css');
}
sfLoader::loadHelpers(array('Helper', 'MyMinify', 'Asset'));
$debug = defined('PUN_DEBUG');
if ($mobile_version) {
    ?>
<script type="text/javascript">
(function(m,w){var l='<?php 
    echo trim(minify_get_main_stylesheets(!$debug, $debug));
    ?>
',r=1
w.devicePixelRatio?r=w.devicePixelRatio:"matchMedia"in w&&w.matchMedia&&(w.matchMedia("(min-resolution: 2dppx)").matches||w.matchMedia("(min-resolution: 192dpi)").matches?r=2:(w.matchMedia("(min-resolution: 1.5dppx)").matches||w.matchMedia("(min-resolution: 144dpi)").matches)&&(r=1.5))
if(r>1){l=l.replace(m,m+'@'+(r>=2?2:1.5)+'x');}document.write(l);})('mobile',window);
</script>
<?php 
} else {
    minify_include_main_stylesheets(!$debug, $debug);
}
if (!$mobile_version) {
    ?>
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="all" href="<?php 
    echo minify_get_combined_files_url('/static/css/ie7.css');
    ?>
" /><![endif]-->
function minify_include_main_stylesheets($combine = true, $debug = false)
{
    echo minify_get_main_stylesheets($combine, $debug);
}