var css_style=document.createElement("link"); css_style.setAttribute("rel", "stylesheet"); css_style.setAttribute("type", "text/css"); css_style.setAttribute("href", 'https://www.planetoscope.com/css/widget.css'); css_style.setAttribute("media", "screen"); document.getElementsByTagName("head")[0].appendChild(css_style); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln('
Consommation de gazole en France
'); document.writeln('
'); document.writeln('
La France consomme 10 litres de gazole par seconde (compteur), soit 32,9 millions de tonnes de gazole par selon les estimations du Comité professionnel du pétrole (CPDP). L’importance de la consommation de gazole découle de l’importance du parc diesel en France.
'); document.writeln('
'); document.writeln('
Depuis le 1er janvier
'); document.writeln('
Chargement ...
'); document.writeln('
'); document.writeln('
'); document.writeln('
Depuis que vous êtes connecté
'); document.writeln('
Chargement ...
'); document.writeln('
'); document.writeln('
'); document.writeln('
Cette statistique, et bien d’autres, vous est offerte par le Planetoscope
'); document.writeln('
'); var TimeConnecte = new Date(); var newyears = new Date(TimeConnecte.getFullYear(), 0, 1, 0, 0, 0).getTime(); TimeConnecte = new Date().getTime(); var secsSinceNewYears = TimeConnecte - newyears; document.getElementById('planeto_TimeConnecte_907').value = TimeConnecte; document.getElementById('planeto_secsSinceNewYears_907').value = secsSinceNewYears; timeRemaining(907); function timeRemaining(id_planeto) { var tps = parseFloat(document.getElementById('planeto_tps_'+id_planeto).value); var TimeConnecte = parseInt(document.getElementById('planeto_TimeConnecte_'+id_planeto).value); var secsSinceNewYears = parseInt(document.getElementById('planeto_secsSinceNewYears_'+id_planeto).value); var NbSecondesConnecte = new Date().getTime() - TimeConnecte; var secsSince = secsSinceNewYears + NbSecondesConnecte; document.getElementById('afficherStat'+id_planeto).innerHTML = string(secsSince * tps /1000); document.getElementById('Connecte'+id_planeto).innerHTML = string(NbSecondesConnecte * tps /1000); setTimeout("timeRemaining("+id_planeto+")", 100); } function string(number) { var tempnum; tempnum= Math.round(number)+""; if (tempnum.length >3) { tempnum = tempnum.substring(0,tempnum.length-3) + " " + tempnum.substring(tempnum.length-3, 99); } if (tempnum.length >7) { tempnum = tempnum.substring(0,tempnum.length-7) + " " + tempnum.substring(tempnum.length-7, 99); } if (tempnum.length >11) { tempnum = tempnum.substring(0,tempnum.length-11) + " " + tempnum.substring(tempnum.length-11, 99); } switch (tempnum.length) { case 11 : tempnum = " " + tempnum; break; case 10 : tempnum = " " + tempnum; break; case 9 : tempnum = " " + tempnum; break; case 8 : tempnum = " " + tempnum; break; case 6 : tempnum = " " + tempnum; break; case 5 : tempnum = " " + tempnum; break; case 3 : tempnum = " " + tempnum; break; case 2 : tempnum = " " + tempnum; break; case 1 : tempnum = " " + tempnum; break; } return tempnum; }