<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<jdoc:include type="head" />
<?php echo JHTML::_('behavior.mootools');?>
<link href="templates/<?php echo $this->template ?>/css/estilos.css" rel="stylesheet" type="text/css" />
</head>
<body>
<?php 
$language =& JFactory::getLanguage();$language->load('tpl_siniestro' , dirname(__FILE__), $language->getTag(), true); 
$menu = &JSite::getMenu();
if ($menu->getActive() == $menu->getDefault()) {$isFrontpage = "-fp";}
?>

	
<div class="header">
    <div class="content">
      <div class="logo"><a href="<?php echo JURI::base(); ?>"><img src="templates/<?php echo $this->template ?>/images/logo.png" /></a></div>
      <jdoc:include type="modules" name="header" style="default" />
    </div>
</div>

<div class="mainmenu">
    <div class="content">
      <jdoc:include type="modules" name="mainmenu" style="default" />
    </div>
</div>

<div class="main">
    <div class="content">
        
        <?php if ($this->countModules( 'content-top' )) : ?>
        <div class="content-top">
            <jdoc:include type="modules" name="content-top" style="default" />
        </div>
        <?php endif; ?>
        
        <div class="left<?php echo $isFrontpage;?>">
            <jdoc:include type="message" />
            <jdoc:include type="component" />
            <jdoc:include type="modules" name="left" style="default" />
        </div>
        
		<?php if ($this->countModules( 'right' )) : ?>
        <div class="right<?php echo $isFrontpage;?>">
            <jdoc:include type="modules" name="right" style="default" />
        </div>
        <?php endif; ?>
        
		<?php if ($this->countModules( 'content-bottom' )) : ?>
        <div class="content-bottom<?php if ($menu->getActive() == $menu->getDefault()) {echo " content-bottom-fp";}?>">
            <jdoc:include type="modules" name="content-bottom" style="default" />
        </div>
        <?php endif; ?>
    
    </div>
</div>

<div class="footer">
    <div class="content">
        <div class="logo"><a href="<?php echo JURI::base(); ?>"><img src="templates/<?php echo $this->template ?>/images/logo_footer.png" /></a></div>
        <jdoc:include type="modules" name="footer" style="default" />
        <div class="siniestro">
           <p>
    <a href="http://www.siniestro.net" title="Marketing Digital en Uruguay" target="_blank">
    
        <img src="templates/<?php echo $this->template ?>/images/siniestro.png" alt="Marketing Digital" />
        
    </a>
    
    www.siniestro.net <br />
    
    <a href="http://www.siniestro.net" title="Marketing Digital en Uruguay" target="_blank"> 
        Marketing Digital
    </a>
</p>
        </div>
    </div>
</div>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-18147141-16']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</body>
</html>