<div id="investimentsHomeContainer" class="contentPageContainer1 clearfix">

	<div id="dbPresentationContainer" class="clearfix">

                <div id="dbpresentationContainerleft">

                <h2><?php echo t('Evaluaci&oacute;n General'); ?></h2>
				<?php echo evaluacion_general($_GET['depto'],$_SERVER['QUERY_STRING']); ?>

                </div>



		<div id="dbpresentationContainerRight">

			<div id="dbPresContRt2">

				<h2><?php echo t('Historial de Evaluaciones'); ?></h2>

			  <table >

			  <tbody>

				<tr>

					<td>
						
						<?php echo histiorial_evaluaciones($_SERVER['QUERY_STRING']); ?>

					</td>

					<td>
						<?php
							$evalres = number_format(promedio_responsable($_SERVER['QUERY_STRING']),1);
							$procosto = number_format(promedio_costo(),1);
							$proplan = number_format(promedio_plan(),1);
						?>
						<p class="pieLabel clearfix"><span class="pieEval"></span><?php echo t('Evaluaci&oacute;n (Responsable)'); ?></span></p>
						<div><span class="<?php echo colorvalor("eval",$evalres); ?>"><?php echo $evalres; ?></span>		
						<?php echo evaluacion_responsable("FFFFFF",$_SERVER['QUERY_STRING']); ?>
						</div>

						<p class="pieLabel clearfix"><span class="pieCost">&nbsp;</span><span class="pieCostL"><?php echo t('Costo'); ?></span></p>
						<div><span class="<?php echo colorvalor("costo",$procosto); ?>"><?php echo $procosto; ?></span>
						<?php echo costo("FFFFFF",$_SERVER['QUERY_STRING']); ?>
						</div>

						<p class="pieLabel clearfix"><span class="pieSchedule">&nbsp;</span><span class="pieSceduleL"><?php echo t('Plan'); ?></span></p>
						<div><span class="<?php echo colorvalor("plan",$proplan); ?>"><?php echo $proplan; ?></span>
						<?php echo plan("FFFFFF",$_SERVER['QUERY_STRING']); ?>
						</div>

					</td>

				</tr>

			  </tbody>

			  </table>

			</div>

		</div>	