<?php
require('startinclude.php');
$camara=parametro('camara',0);
setcookie('estado_camara'.$camara,'normal');

// comun para todos..
	$camaras_actual=array();
	$camaras=array();
	leer_camaras($camaras);
	leer_camaras_actual($camaras_actual);
	$totalcamaras=count($camaras);
// fin comun


?>
<head>
<title> No title</title>

<meta name="GENERATOR" content="Namo WebEditor">
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> 
<META NAME="ROBOTS" CONTENT="NOARCHIVE"> 
<script type='text/javascript' src='ajaxlib/utils/southprojects.js'></script>

<script type="text/javascript">

function setCookie(name, value, expires, path, domain, secure)
{
    document.cookie= name + "=" + escape(value) +
        ((expires) ? "; expires=" + expires.toGMTString() : "") +
        ((path) ? "; path=" + path : "") +
        ((domain) ? "; domain=" + domain : "") +
        ((secure) ? "; secure" : "");
}

/**
 * Gets the value of the specified cookie.
 *
 * name  Name of the desired cookie.
 *
 * Returns a string containing value of specified cookie,
 *   or null if cookie does not exist.
 */
function getCookie(name)
{
    var dc = document.cookie;
    var prefix = name + "=";
    var begin = dc.indexOf("; " + prefix);
    if (begin == -1)
    {
        begin = dc.indexOf(prefix);
        if (begin != 0) return null;
    }
    else
    {
        begin += 2;
    }
    var end = document.cookie.indexOf(";", begin);
    if (end == -1)
    {
        end = dc.length;
    }
    return unescape(dc.substring(begin + prefix.length, end));
}



</script>


<script language="javascript">
var paginaactual=0;
var valorpagina=0;



function modiframe(destino)
{

if(document.frames) 
var bodyIframe = document.frames.icontenido //.location=destino
else 
var bodyIframe = icontenido.contentDocument; //.location=destino; 

var prueba=bodyIframe.getElementById('prueba2');

prueba.innerHTML='OKOKOKOK';

}
</script>

</head>
<!--
<BODY  onload="javascript:
inicio_ciclo();
">
-->

<body>


<div id="transportdiv" name='transportdiv' style="border-width:1px; border-color:rgb(0,0,240); border-style:solid; display: none;"></div>            

<table border="1" width="100%">
    <tr>
        <td width="30%" >Temp Minima Actual</td>
        <td width="70%" id='celmin'><img src='images/carga_home.gif'/></td>
    </tr>
    <tr>
        <td width="30%">Temp Maxima Actual</td>
        <td width="70%" id='celmax'><img src='images/carga_home.gif'/></td>
    </tr>
    <tr>
        <td width="30%">Estado :</td>
        <td width="70%" id='celestado'><img src='images/carga_home.gif'/></td>
    </tr>
    <tr>
        <td width="1377" colspan="2">&nbsp;</td>
    </tr>
</table>
<?php




// function leer_temperatura(&$temp,$id_camara) {




?>
</BODY>
