<!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>

<?php include 'concha.php';
$catba = $_GET['cat'];
$i_publi = 10000000;
?>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $nombresitio ?></title>
<meta http-equiv="description" content="<?php echo $descripcion_web ?>" />
<meta http-equiv="keywords" content="<?php echo $palabras_clave ?>" />
<?php if ($refresh == 0) {} else {?>

<meta http-equiv="refresh" content="<?php echo $refresh ?>; url="<?php echo $dom ?>" >

<?php };

?>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /> 
<link rel="shortcut icon" href="icono.ico" type="image/x-icon" />



<?php echo $link_titulo ?>

<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>


  
<?php $estiloweb = 2; ?>
<?php include 'estilo.css';?>

<?php include 'disable_select.php';
?>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    


    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

</head>
<body>

    <div  align="center" class="container">
    
    

<?php if ($estiloweb == 1) { include 'arriba1.php';};

if ($estiloweb == 2) { include 'arriba2.php'; };


?>

 <div class="content">  


<table width="960px" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">

  

  <tr>
  
  
  
    <td colspan="3" valign="top"> <?php   
include 'cu3erx3.php';
  ?>
  
  
<?php   
include 'cu3erg.php';
  ?></td>
  </tr>
  <tr>
    <td align="center" width="695" valign="top">
    
    
    
    <table width="97%" border="0" align="center" cellpadding="0" cellspacing="0" >
      <tr>
        <td colspan="2" valign="top"><?php include 'cu3er.php';?></td>
        </tr>
      
        
          <tr bgcolor="#FFFFFF" valign="top">
    <td width="370" valign="top"><?php $i = 0; ?> <? include 'marco1.php'; if ($rss == 'no') {} else {include 'marco1_rss.php';}; ?>  </td>
    <td width="280" valign="top"><?php $i = 1; ?> <? include 'marco2.php'; if ($rss == 'no') {} else {include 'marco2_rss.php';}; ?></td>
  </tr>
        
        
    
    </table>
    
    
    
    </td>
    <td width="250" valign="top"><?php   include 'propagandas.php'; ?></td>
  </tr>
  
    <tr>
    <td colspan="3" ><img src="menu.png" width="960" height="10" /></td>
  </tr>
  
  
  <tr>
    <td colspan="3"  height="46" ><div align="center" class="Estilo40"><?php include 'abajo.php';?></div></td>
  </tr>
</table>


</div>
  <footer> 
<?php include 'google.php';?>
  </footer> 


    <script src="http://code.jquery.com/jquery-latest.min.js"></script>
    <script type="text/javascript">
    	// Llamado cuando se cargue la página
		posicionarMenu();

		$(window).scroll(function() {    
		    posicionarMenu();
		});

		function posicionarMenu() {
		    var altura_del_header = $('header').outerHeight(true);
		    var altura_del_menu = $('nav').outerHeight(true);

		    if ($(window).scrollTop() >= altura_del_header){
		        $('nav').addClass('fixed');
		        $('.content').css('margin-top', (altura_del_menu) + 'px');
		    } else {
		        $('nav').removeClass('fixed');
		        $('.content').css('margin-top', '0');
		    }
		}
    </script>


</div>



 </BODY>
</html>
