CONTAMINOMETRO ///// En Toneladas y Metros Cúbicos ///// En Kilogramos y Litros //////
BY ING. STRENDEK
![]()
UPM: 1 P2 + |
|
//******* 150x140 //******* 120x140 |

*/EFECTOS CONTAMINANTES DE BOTNIA/*
*PRODUCCION: 2.000.000 DE TONELADAS DE PULPA DE CELULOSA*
*EMISIONES: 36.800 TONELADAS DE TOXICOS EMITIDOS*
CONTAMINOMETRO
SOFWARE LIBRE
colabore con potenciar el código
<head>
<title>JavaScript - Reloj digital y fecha</title>
<meta name="copyright" content="Copyright (C) 2003-2007 Juan Rodríguez, All Rights Reserved; www.juan-rodriguez.net">
<style>
input{
color:navy;
text-align:left;
font-size:9pt;
font-weight:bold;
border:hidden;
}
.Estilo1 {
font-size: 36px;
font-weight: bold;
}
.Estilo4 {font-size: 18px}
.Estilo8 {font-size: 11.5px}
.Estilo9 {
font-size: 24px;
font-weight: bold;
}
.Estilo10 {font-size: 36px}
.Estilo11 {font-size: 24px}
.Estilo12 {
font-size: 12px;
font-weight: bold;
}
.Estilo13 {
font-size: 18px;
font-weight: bold;
}
.Estilo15 {font-size: 13px}
.Estilo17 {font-size: 14}
</style>
</head>
<body onLoad="IniciarReloj24()">
<p>
<script type="text/javascript">MostrarFechaActual()</script>
<script type="text/javascript">
<!-- inicio
// FECHA
function MostrarFechaActual() {
var nombre_dia = new Array("domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado")
var nombre_mes = new Array("enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre")
var hoy_es = new Date()
dia_mes = hoy_es.getDate()
dia_semana = hoy_es.getDay()
mes = hoy_es.getMonth() + 1
anyo = hoy_es.getYear()
if (anyo < 100) anyo = '19' + anyo
else if ( ( anyo > 100 ) && ( anyo < 999 ) ) { var cadena_anyo = new String(anyo) ; anyo = '20' + cadena_anyo.substring(1,3) }
document.write(nombre_dia[dia_semana] + ",<br> " + dia_mes + " de " + nombre_mes[mes - 1] + " de " + anyo) }
// RELOJ 24 HORAS
var Reloj24H = null
var RelojEnMarcha = false
function DetenerReloj24 () {if(RelojEnMarcha) clearTimeout(Reloj24H); RelojEnMarcha = false }
function MostrarHoraActual() {
var ahora = new Date()
var hora = ahora.getHours()
var minuto = ahora.getMinutes()
var segundo = ahora.getSeconds()
var SS
today=new Date()
var botnia=new Date(2007, 10, 11)
var one_day=1000*60*60*24
var segundos=1000
SS = Math.ceil((today.getTime()-botnia.getTime())/(segundos))
//********** ARMAR DATOS
var segxdia = 24*60*60
var pulpaxseg = SS*((1000000/365)/segxdia) //Pulpa Producida (TN)
var efluliquidos = SS*(84595.7260273973/segxdia) //Volumen Total de Efluentes Líquidos (m3)
var compersbio = SS*(0.152/segxdia) //Compuestos Persistentes Bio-acumulativos (TN)
var totaloxigeno = SS*(17.03/segxdia) //Demanda Total de Oxígeno (TN)
var nutrientes = SS*(0.32/segxdia) //Nutrientes Totales
var toxinfo = SS*(0.717/segxdia) //Otros Compuestos Tóxicos informados
var dioxazufre = SS*(0.685/segxdia) //Dióxido de Azufre
var oxinitrogeno = SS*(5.1/segxdia) //Oxidos de Nitrógeno, NOx = 5.1
var azufredtotal = SS*(0.028/segxdia) //Azufre Reducido Total = 0.028
var matpart = SS*(0.274/segxdia) //Material Particulado (básicamente PM10+PM2.5) = 0.274
var monocarb = SS*(0.822/segxdia) //Monóxido de Carbono = 0.822
var instox = SS*(26/segxdia) //Insumos Tóxicos al Río. Ingresos informados, descarga no informada = 26
var emitotales = compersbio+totaloxigeno+nutrientes+toxinfo+dioxazufre+oxinitrogeno+azufredtotal+matpart+monocarb+instox //Emisiones Totales
var totdioxfuranos = SS*(131506.849315068/segxdia) //Total de Dioxinas y Furanos. Al aire y al Río (unidades tóxicas) = 131506.849315068
var valores = ""
valores = "Pulpa Producida (TN) " +pulpaxseg.toFixed(2)+"\n";
valores = valores+"Total efluentes liquidos (m3) " +efluliquidos.toFixed(2)+"\n";
valores = valores+"Compuestos Persistentes Bio-acumulativos (TN) " +compersbio.toFixed(2)+"\n";
valores = valores+"Demanda Total de Oxígeno (TN) " +totaloxigeno.toFixed(2)+"\n";
valores = valores+"Nutrientes Totales (TN) " +nutrientes.toFixed(2)+"\n";
valores = valores+"Otros Compuestos Tóxicos informados (TN) " +toxinfo.toFixed(2)+"\n";
valores = valores+"Dióxido de Azufre (TN) " +dioxazufre.toFixed(2)+"\n";
valores = valores+"Oxidos de Nitrógeno, NOx (TN) " +oxinitrogeno.toFixed(2)+"\n";
valores = valores+"Azufre Reducido Total (TN) " +azufredtotal.toFixed(2)+"\n";
valores = valores+"Material Particulado (básicamente PM10+PM2.5) (TN) " +matpart.toFixed(2)+"\n";
valores = valores+"Monóxido de Carbono (TN) " +monocarb.toFixed(2)+"\n";
valores = valores+"Insumos Tóxicos al Río. Ingresos informados, descarga no informada (TN) " +instox.toFixed(2)+"\n";
valores = valores+"Emisiones Totales (TN) " +emitotales.toFixed(2)+"\n";
valores = valores+"Total de Dioxinas y Furanos. Al aire y al Río (unidades tóxicas) (ng TEQ) " +totdioxfuranos.toFixed(2)+"\n";
document.Reloj24H.digitos.value = valores;
//individual
document.Reloj24H.pulpaxseg.value = pulpaxseg.toFixed(2);
document.Reloj24H.efluliquidos.value = efluliquidos.toFixed(2);
document.Reloj24H.compersbio.value = compersbio.toFixed(2);
document.Reloj24H.totaloxigeno.value = totaloxigeno.toFixed(2);
document.Reloj24H.nutrientes.value = nutrientes.toFixed(2);
document.Reloj24H.toxinfo.value = toxinfo.toFixed(2);
document.Reloj24H.dioxazufre.value = dioxazufre.toFixed(2);
document.Reloj24H.oxinitrogeno.value = oxinitrogeno.toFixed(2);
document.Reloj24H.azufredtotal.value = azufredtotal.toFixed(2);
document.Reloj24H.matpart.value = matpart.toFixed(2);
document.Reloj24H.monocarb.value = monocarb.toFixed(2);
document.Reloj24H.instox.value = instox.toFixed(2);
document.Reloj24H.emitotales.value = emitotales.toFixed(2);
document.Reloj24H.totdioxfuranos.value = totdioxfuranos.toFixed(2);
Reloj24H = setTimeout("MostrarHoraActual()",1000)
RelojEnMarcha = true
}
function devolvervalor(pos){
}
function IniciarReloj24() {
DetenerReloj24()
MostrarHoraActual() }
// final -->
</script>
<img src="../imagenes/rio/fabrica.gif" width="120" height="120"><img src="../imagenes/rio/10.gif" width="127" height="93"></p>
<form name="Reloj24H" action="">
<textarea name="digitos" cols="100" rows="30" style="color:navy; text-align:left; font-size:9pt; font-weight:bold;border:hidden;"> </textarea>
<img src="../imagenes/rio/peligroso.jpg" width="354" height="354">
<div style="textos">
<input name="pulpaxseg" value="" ></input>
<input name="efluliquidos" value="" ></input>
<input name="compersbio" value="" ></input>
<input name="totaloxigeno" value="" ></input>
<input name="nutrientes" value="" ></input>
<input name="toxinfo" value="" ></input>
<input name="dioxazufre" value="" ></input>
<input name="oxinitrogeno" value="" ></input>
<input name="azufredtotal" value="" ></input>
<input name="matpart" value="" ></input>
<input name="monocarb" value="" ></input>
<input name="instox" value="" ></input>
<input name="emitotales" value="" ></input>
<input name="totdioxfuranos" value="" ></input>
</div>
</form>