<?php use_helper('tvtl'); ?>
<div class="leftmenu">
  <?php $leftRight = blogStore::getParam('config/leftmenu', 'right') ?>
  <?php if ($content != null): ?>
    <?php echo cssMenu($content, array('id'=>'leftmenu2')) ?>
    <?php $sf_context->getResponse()->addJavascriptCommand('var leftMenu = new cssMenu("leftmenu2", "'.($leftRight=='left'?'right':'left').'");'); ?>
  <?php endif ?>
</div>