<?php 
  include("captcha/sesion_capchap.php");  
  ob_start("ob_gzhandler");
  include("connect.php");
  include("functions.php");
  include("mime_type.php");
  if($page=="") $page="actual";
  if(!file_exists(str_replace("http://","",$page).".php")) $page="actual";
  check_valid();
  if($action!="") include($page.".php");
  
?>
<html>
<head>
<title>:: COL.LEGI DE MEDIADORS D'ASSEGURAN&Ccedil;ES DE BARCELONA :: ........  :: www.elcol-legi.org :: ........</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="robots" content="ALL">
<meta name="rating" content="">
<meta name="Language" content="ca">
<meta name="revisit-after" content="30 Days">
<meta name="audience" content="general">
<meta name="privacy" content="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Pragma" content="">
<meta http-equiv="cache-control" value="">
<meta http-equiv="Expires" content="">
<link href="stilos.css" rel="stylesheet" type="text/css">
<script language="JavaScript" SRC="vent.js"></script>
<STYLE type="text/css">
BODY {
        SCROLLBAR-FACE-COLOR:       #E7E5DD;
        SCROLLBAR-3DLIGHT-COLOR:    #999999;
        SCROLLBAR-DARKSHADOW-COLOR: #999999;
        SCROLLBAR-SHADOW-COLOR:     #999999;
        SCROLLBAR-ARROW-COLOR:      #999999;
        SCROLLBAR-TRACK-COLOR:      #F5F4F1;

 }
</STYLE>
<style type="text/css">
<!--
body {
        margin-top: 5px;
}
a:link {
        color: #333333;
        text-decoration: underline;
}
a:visited {
        text-decoration: underline;
        color: #333333;
}
a:hover {
        text-decoration: none;
        color: #657992;
}
a:active {
        text-decoration: underline;
        color: #333333;
}
-->
</style>
<script>
var cache=new Image(); 
cache.src="loading.gif";
</script>
</head>
<?php if(isset($flash) && $flash) { ?>
<body link="#990000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="95%">
    <param name="movie" value="fla/intro.swf?<?php echo $querystring; ?>">
    <param name="quality" value="high">
    <embed src="fla/intro.swf?<?php echo $querystring; ?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="95%"></embed>
  </object>
  <br>
  <a href="inicio.php?<?php echo $querystring ?>"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Saltar Intro&gt;&gt;</font></a>
</div>
</body>
<?php } else { ?>
<body background="img/fons.gif" onLoad="MM_preloadImages('img/bot1.2.gif','img/bot2.1.gif','img/bot3.1.gif','img/bot5.1.gif','img/bot6.1.gif','img/bot7.1.gif')">
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="stilos">
  <tr>
    <td colspan="3"><img src="<?=getValor("cabecera_foto1")?>" width="100%" height="81"></td>
  </tr>
  <tr>
    <td colspan="3">
      <?php include("menusup.php"); ?>
    </td>
  </tr>
  <tr>
    <td width="150" height="19" valign="top">
      <?php include("menuizq.php"); ?>
	  <?php include("buscaizq.php"); ?>
      <?php include("encuizq.php"); ?>
      
    </td>
    </td>
    <td width="680" height="364" valign="top">
	<!-- aqui va el nuevo contenido de la pagina -->
<? include("finestra-content.php"); ?>
	  <!-- fin nuevo contenido de la pagina -->
    </td>
    <td width="100%" valign="top">
      <?php include("acceso.php"); ?>
      <table width="100%"  border="0" cellspacing="2" cellpadding="2">
        <tr>
          <td></td>
        </tr>
      </table>
      <table border=0 cellspacing=2 cellpadding=2 width=100% class=tablalogin bgcolor="#E7E5DD">
        <tr bgcolor="#07294E">
          <td colspan="2" class="verblanc"><div align="center"><strong>Agenda</strong></div></td>
        </tr>
        <tr>
          <td><center><?php include("calendario.php"); ?></center></td>
        </tr>
      </table>
      <?php include("logoder.php"); ?>
    </td>
  </tr>
  <tr bgcolor="#FEFEFE">
    <td height="19" colspan="3"><table width="100%"  border="0" cellpadding="2" cellspacing="2" class="tablasup">
      <tr class="verddeu">
        <td width="41%"><div align="left"><a href="http://www.elcol-legi.org" target="_blank">www.elcol-legi.org Copyright 2009</a></div></td>
        <td width="23%">&nbsp;</td>
        <td width="13%">&nbsp;</td>
        <td width="10%"><div align="center"><a href=inicio.php?page=contactar>Contacti</a></div></td>
        <td width="12%"><div align="center">Av&iacute;s Legal </div></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<?php } ?>
</html>
<?php show_permision(); ?>
<?php disconnect(); ?>
<?php ob_end_flush(); ?>
