 <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>fines &#8211; Conseil Chauffage</title>
	<atom:link href="https://conseil-chauffage.com/tag/fines/feed/" rel="self" type="application/rss+xml" />
	<link>https://conseil-chauffage.com</link>
	<description>Pour Bien choisir Votre Chauffage</description>
	<lastBuildDate>Wed, 18 Nov 2020 20:09:30 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.3</generator>

<image>
	<url>https://conseil-chauffage.com/wp-content/uploads/2020/02/cropped-apple-icon-152x152-1-32x32.png</url>
	<title>fines &#8211; Conseil Chauffage</title>
	<link>https://conseil-chauffage.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Suisse: La nocivité des particules fines sous la loupe</title>
		<link>https://conseil-chauffage.com/suisse-la-nocivite-des-particules-fines-sous-la-loupe/</link>
		
		<dc:creator><![CDATA[Conseil-Chauffage]]></dc:creator>
		<pubDate>Wed, 18 Nov 2020 20:09:30 +0000</pubDate>
				<category><![CDATA[Chauffage au Bois]]></category>
		<category><![CDATA[des]]></category>
		<category><![CDATA[fines]]></category>
		<category><![CDATA[loupe]]></category>
		<category><![CDATA[nocivité]]></category>
		<category><![CDATA[particules]]></category>
		<category><![CDATA[sous]]></category>
		<category><![CDATA[Suisse]]></category>
		<guid isPermaLink="false">https://conseil-chauffage.com/suisse-la-nocivite-des-particules-fines-sous-la-loupe/</guid>

					<description><![CDATA[Suisse: La nocivité des particules fines sous la loupe Des chercheurs de l&#39;Institut suisse Paul Scherrer ont découvert que les particules fines à fort potentiel oxydatif déclenchent une réponse inflammatoire dans les cellules. Le trafic routier contribue à la production de particules fines avec un potentiel oxydant important et donc une nocivité élevée, selon les résultats de chercheurs de l&#39;Institut Paul Scherrer (image d&#39;illustration), KEYSTONE / CYRIL ZINGARO La nocivité de certaines fines ne dépend pas seulement ... <p class="read-more-container"><a title="Suisse: La nocivité des particules fines sous la loupe" class="read-more button" href="https://conseil-chauffage.com/suisse-la-nocivite-des-particules-fines-sous-la-loupe/#more-3145" aria-label="Plus sur Suisse: La nocivité des particules fines sous la loupe">Lire l'Article</a></p>]]></description>
										<content:encoded><![CDATA[<h1>Suisse: La nocivité des particules fines sous la loupe</h1>
<p></p>
<div id="">
<p><h2>Des chercheurs de l&#39;Institut suisse Paul Scherrer ont découvert que les particules fines à fort potentiel oxydatif déclenchent une réponse inflammatoire dans les cellules.</h2>
</p>
<div class="Article_elementImage__19G9C">
<figure class="Caption_caption__2mqz9">
<div class="Image_imgContainer__1eC_y" style="padding-bottom:59.523809523809526%"><img decoding="async" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxIDEiPjxwYXRoIGZpbGw9IiM3QzcwNjUiIGQ9Ik0wIDBoMXYxSDB6Ii8+PC9zdmc+" alt="Le trafic routier contribue à la production de particules fines avec un potentiel oxydant important et donc une nocivité élevée, selon les résultats de chercheurs de l&#39;Institut Paul Scherrer (image d&#39;illustration)," title="Le trafic routier contribue à la production de particules fines avec un potentiel oxydant important et donc une nocivité élevée, selon les résultats de chercheurs de l&#39;Institut Paul Scherrer (image d&#39;illustration)," srcset="" width="0" height="0"/></div><figcaption class="Caption_captionContainer__iaHRc">
<div class="Caption_captionText__vARZl">
<p>Le trafic routier contribue à la production de particules fines avec un potentiel oxydant important et donc une nocivité élevée, selon les résultats de chercheurs de l&#39;Institut Paul Scherrer (image d&#39;illustration),</p>
</div>
<p><span class="Caption_creditsText__1Mf6D">KEYSTONE / CYRIL ZINGARO</span></figcaption></figure>
</div>
<div class="Article_elementTextblockarray__WdRYM">
<p>La nocivité de certaines fines ne dépend pas seulement de la quantité de poussières fines, mais aussi de leur potentiel oxydant, ont découvert des chercheurs de l&#39;Institut suisse Paul Scherrer (PSI) en collaboration avec plusieurs institutions européennes.</p>
</div>
<div class="Article_elementTextblockarray__WdRYM">
<p>Des chercheurs de l&#39;Institut Paul Scherrer (AG) ont découvert que ce n&#39;est pas seulement la quantité de poussières fines qui pose le plus de risques pour la santé. Ce pourrait être principalement leur potentiel oxydant qui définit leur degré de nocivité, indique un communiqué de presse de l&#39;Institut Paul Scherrer. Ils publient leurs résultats mercredi dans la revue spécialisée Nature.</p>
</div>
<div class="Article_elementTextblockarray__WdRYM">
<p>Le potentiel oxydant des particules fines est caractérisé par leur capacité à décomposer les antioxydants, qui peuvent endommager les cellules et les tissus du corps humain. Les chercheurs ont exposé des cellules des voies respiratoires humaines à des échantillons de particules fines tout en surveillant leur réponse biologique. Ils ont ainsi réussi à montrer que des particules fines à fort potentiel oxydant induisent une réaction inflammatoire dans les cellules.</p>
</div>
<div class="Article_elementTextblockarray__WdRYM">
<p>&quot;Cette découverte ne prouve pas encore clairement l&#39;existence d&#39;une relation de cause à effet entre un potentiel oxydant élevé et un risque pour la santé&quot;, admet Kaspar Dällenbach du laboratoire de chimie atmosphérique du PSI, cité dans le communiqué de presse. «Mais l&#39;étude est encore un autre indice que cette relation existe», poursuit-il.</p>
</div>
<p><h3 class="Crosshead_crosshead__1H9Xt Crosshead_siteAreaNews__bkbua Crosshead_typeStandard__20hdY">Chauffage au bois et circulation routière</h3>
</p>
<div class="Article_elementTextblockarray__WdRYM">
<p>Les chercheurs ont également retracé l&#39;origine des fines particules collectées à différents endroits en Suisse. Des chercheurs français ont ensuite déterminé le potentiel oxydant de ces mêmes échantillons afin d&#39;obtenir leur indice de nocivité.</p>
</div>
<div class="Article_elementTextblockarray__WdRYM">
<p>Les particules à fort potentiel oxydant, et donc particulièrement nocives, proviennent principalement du chauffage au bois, et les métaux de l&#39;abrasion des freins et des pneumatiques dans la circulation routière. La majorité des particules, uniquement composées de poussières minérales et d&#39;aérosols, comme le nitrate et le sulfate d&#39;ammonium, seraient moins nocives.</p>
</div>
<p><h3 class="Crosshead_crosshead__1H9Xt Crosshead_siteAreaNews__bkbua Crosshead_typeStandard__20hdY">Plus de particules nocives dans les zones urbaines</h3>
</p>
<div class="Article_elementTextblockarray__WdRYM">
<p>«Nos résultats montrent que les sources qui déterminent le potentiel oxydant des particules et les sources qui déterminent leur quantité ne sont pas les mêmes», résume Kaspar Dällenbach. Les zones urbaines ne sont pas exposées à de plus grandes quantités de particules fines, mais dans ces régions, les poussières fines ont un potentiel oxydant plus important et sont donc plus nocives pour la santé que les particules fines dans les zones rurales.</p>
</div>
<div class="Article_elementTextblockarray__WdRYM">
<p>&quot;Nos résultats montrent que la régulation des quantités de particules fines à elle seule ne permet pas nécessairement d&#39;atteindre l&#39;objectif&quot; de réduire leur impact sur la santé, explique Kaspar Dällenbach.</p>
</div>
<p><span class="Agencies_agencies__2DYcz">(<!-- -->ATS / NXP<!-- -->)</span></p>
</div>
<p><script id="__NEXT_DATA__" type="application/json">{"props":{"data":{"id":"558246416772","date":"2020-11-18T16:12:29.542636815Z","copyright":"tx group","jurisdiction":"ch","type":"article","content":{"id":"67720e89-e434-4137-9b1a-0bf3bbad3a2c","created":"2020-11-18T16:12:27.371Z","updated":"2020-11-18T16:12:27.371Z","paywall":{"docType":"article"},"meta":{"type":"metadata","publishStatus":"published","published":"2020-11-18T16:13:50.000Z","updated":"2020-11-18T16:13:50.000Z","settings":{"premium":false,"breakingNews":false,"live":false,"opinion":false,"contest":false,"sponsored":false,"ratingEnabled":false,"feedbackEnabled":true,"commentingEnabled":false,"commentRisk":"low","sharingEnabled":true,"likesEnabled":true,"newsletterSubscribingEnabled":false,"adsEnabled":true,"renderedInWebView":false,"videoInContent":false,"allowRobots":true,"visibleInNewestContent":true,"publicationDateExposed":true},"authors":({"type":"agency","info":"","name":"ATS/NXP"}),"infobox":(),"kickword":{},"tags":({"id":32438,"name":"Suisse"},{"id":39126,"name":"Pollution"},{"id":36170,"name":"Santé"}),"mainCategory":6,"mainCategoryName":"Suisse","mainCategoryUrlPath":"suisse","mainCategoryFullUrlPath":"suisse","mainPageStyle":"default","categories":(6),"urlSlug":"la-nocivite-des-particules-fines-sous-la-loupe","url":"/story/la-nocivite-des-particules-fines-sous-la-loupe-558246416772","teaser":{"default":{"paywall":{"docType":"article"},"published":"2020-11-18T16:13:50.000Z","updated":"2020-11-18T16:13:50.000Z","mainCategoryFullUrlPath":"suisse","urlSlug":"la-nocivite-des-particules-fines-sous-la-loupe","url":"/story/la-nocivite-des-particules-fines-sous-la-loupe-558246416772","openInNewWindow":false,"settings":{"premium":false,"breakingNews":false,"live":false,"opinion":false,"contest":false,"sponsored":false,"ratingEnabled":false,"feedbackEnabled":true,"commentingEnabled":false,"commentRisk":"low","sharingEnabled":true,"likesEnabled":true,"newsletterSubscribingEnabled":false,"adsEnabled":true,"renderedInWebView":false,"videoInContent":false,"allowRobots":true,"visibleInNewestContent":true,"publicationDateExposed":true},"authors":({"type":"agency","info":"","name":"ATS/NXP"}),"titleHeader":"Suisse","title":"La nocivité des particules fines sous la loupe","lead":"Des chercheurs de l’Institut suisse Paul Scherrer ont découvert que les particules fines avec un potentiel oxydant élevé entraînaient une réaction inflammatoire des cellules.","useEmbedUrl":false,"image":{"id":"1BjuymOra4XA5-5zavYFRt","promcolor":"#7C7065","name":"Le trafic routier contribue à produire des particules fines avec un important potentiel oxydant et donc une haute nocivité, selon les découvertes des chercheurs de l’Institut Paul Scherrer (image d’illustration),","slugifiedName":"le-trafic-routier-contribue-a-produire-des-particules-fines-avec-un-important-potentiel-oxydant-et-donc-une-haute-nocivite-selon-les-decouvertes-des-chercheurs-de-linstitut-paul-scherrer-image-dillustration","variants":{"1200px":{"src":"https://cdn.unitycms.io/image/ocroped/1200,1200,1000,1000,0,0/ZZx-NjZeqak/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1200,"maxHeight":1200,"aspectRatio":1.3333333333333333,"width":1200,"height":900,"focusPoint":{"x":0.5,"y":0.5}},"1600px":{"src":"https://cdn.unitycms.io/image/ocroped/1600,1600,1000,1000,0,0/mNSme6vbbM8/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1600,"maxHeight":1600,"aspectRatio":1.3333333333333333,"width":1600,"height":1200,"focusPoint":{"x":0.5,"y":0.5}},"2000px":{"src":"https://cdn.unitycms.io/image/ocroped/2001,2000,1000,1000,0,0/M-lp-LjXLcY/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":2001,"maxHeight":2000,"aspectRatio":1.3333333333333333,"width":2001,"height":1500,"focusPoint":{"x":0.5,"y":0.5}},"400px":{"src":"https://cdn.unitycms.io/image/ocroped/400,400,1000,1000,0,0/1Qca-cH13HM/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":400,"maxHeight":400,"aspectRatio":1.3333333333333333,"width":400,"height":300,"focusPoint":{"x":0.5,"y":0.5}},"800px":{"src":"https://cdn.unitycms.io/image/ocroped/800,800,1000,1000,0,0/Bd8TE1i5uAY/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":800,"maxHeight":800,"aspectRatio":1.3333333333333333,"width":800,"height":600,"focusPoint":{"x":0.5,"y":0.5}},"big":{"src":"https://cdn.unitycms.io/image/ocroped/1200,1200,1000,1000,0,0/ZZx-NjZeqak/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1200,"maxHeight":1200,"aspectRatio":1.3333333333333333,"width":1200,"height":900,"focusPoint":{"x":0.5,"y":0.5}},"fix1200x1200px":{"src":"https://cdn.unitycms.io/image/focus/1200,1200,1000,1000,0,0,500,500/0-TBEJHjClM/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1200,"maxHeight":1200,"aspectRatio":1,"width":1200,"height":1200,"focusPoint":{"x":0.5,"y":0.5}},"fix1200x675px":{"src":"https://cdn.unitycms.io/image/focus/1200,675,1000,1000,0,0,500,500/LhwDM-nGMkU/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1200,"maxHeight":675,"aspectRatio":1.7777777777777777,"width":1200,"height":675,"focusPoint":{"x":0.5,"y":0.5}},"fix1200x900px":{"src":"https://cdn.unitycms.io/image/focus/1200,900,1000,1000,0,0,500,500/j79uGi5TY3o/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1200,"maxHeight":900,"aspectRatio":1.3333333333333333,"width":1200,"height":900,"focusPoint":{"x":0.5,"y":0.5}},"small":{"src":"https://cdn.unitycms.io/image/ocroped/400,400,1000,1000,0,0/1Qca-cH13HM/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":400,"maxHeight":400,"aspectRatio":1.3333333333333333,"width":400,"height":300,"focusPoint":{"x":0.5,"y":0.5}}}},"kickword":{},"styles":{"name":"Default"}},"facebook":{"paywall":{"docType":"article"},"published":"2020-11-18T16:13:50.000Z","updated":"2020-11-18T16:13:50.000Z","mainCategoryFullUrlPath":"suisse","urlSlug":"la-nocivite-des-particules-fines-sous-la-loupe","url":"/story/la-nocivite-des-particules-fines-sous-la-loupe-558246416772","openInNewWindow":false,"settings":{"premium":false,"breakingNews":false,"live":false,"opinion":false,"contest":false,"sponsored":false,"ratingEnabled":false,"feedbackEnabled":true,"commentingEnabled":false,"commentRisk":"low","sharingEnabled":true,"likesEnabled":true,"newsletterSubscribingEnabled":false,"adsEnabled":true,"renderedInWebView":false,"videoInContent":false,"allowRobots":true,"visibleInNewestContent":true,"publicationDateExposed":true},"authors":({"type":"agency","info":"","name":"ATS/NXP"}),"titleHeader":"Suisse","title":"La nocivité des particules fines sous la loupe","lead":"Des chercheurs de l’Institut suisse Paul Scherrer ont découvert que les particules fines avec un potentiel oxydant élevé entraînaient une réaction inflammatoire des cellules.","useEmbedUrl":false,"image":{"id":"1BjuymOra4XA5-5zavYFRt","promcolor":"#7C7065","name":"Le trafic routier contribue à produire des particules fines avec un important potentiel oxydant et donc une haute nocivité, selon les découvertes des chercheurs de l’Institut Paul Scherrer (image d’illustration),","slugifiedName":"le-trafic-routier-contribue-a-produire-des-particules-fines-avec-un-important-potentiel-oxydant-et-donc-une-haute-nocivite-selon-les-decouvertes-des-chercheurs-de-linstitut-paul-scherrer-image-dillustration","variants":{"1200px":{"src":"https://cdn.unitycms.io/image/ocroped/1200,1200,1000,1000,0,0/ZZx-NjZeqak/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1200,"maxHeight":1200,"aspectRatio":1.3333333333333333,"width":1200,"height":900,"focusPoint":{"x":0.5,"y":0.5}},"1600px":{"src":"https://cdn.unitycms.io/image/ocroped/1600,1600,1000,1000,0,0/mNSme6vbbM8/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1600,"maxHeight":1600,"aspectRatio":1.3333333333333333,"width":1600,"height":1200,"focusPoint":{"x":0.5,"y":0.5}},"2000px":{"src":"https://cdn.unitycms.io/image/ocroped/2001,2000,1000,1000,0,0/M-lp-LjXLcY/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":2001,"maxHeight":2000,"aspectRatio":1.3333333333333333,"width":2001,"height":1500,"focusPoint":{"x":0.5,"y":0.5}},"400px":{"src":"https://cdn.unitycms.io/image/ocroped/400,400,1000,1000,0,0/1Qca-cH13HM/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":400,"maxHeight":400,"aspectRatio":1.3333333333333333,"width":400,"height":300,"focusPoint":{"x":0.5,"y":0.5}},"800px":{"src":"https://cdn.unitycms.io/image/ocroped/800,800,1000,1000,0,0/Bd8TE1i5uAY/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":800,"maxHeight":800,"aspectRatio":1.3333333333333333,"width":800,"height":600,"focusPoint":{"x":0.5,"y":0.5}},"big":{"src":"https://cdn.unitycms.io/image/ocroped/1200,1200,1000,1000,0,0/ZZx-NjZeqak/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1200,"maxHeight":1200,"aspectRatio":1.3333333333333333,"width":1200,"height":900,"focusPoint":{"x":0.5,"y":0.5}},"small":{"src":"https://cdn.unitycms.io/image/ocroped/400,400,1000,1000,0,0/1Qca-cH13HM/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":400,"maxHeight":400,"aspectRatio":1.3333333333333333,"width":400,"height":300,"focusPoint":{"x":0.5,"y":0.5}}}},"kickword":{},"styles":{"name":"Default"}},"twitter":{"paywall":{"docType":"article"},"published":"2020-11-18T16:13:50.000Z","updated":"2020-11-18T16:13:50.000Z","mainCategoryFullUrlPath":"suisse","urlSlug":"la-nocivite-des-particules-fines-sous-la-loupe","url":"/story/la-nocivite-des-particules-fines-sous-la-loupe-558246416772","openInNewWindow":false,"settings":{"premium":false,"breakingNews":false,"live":false,"opinion":false,"contest":false,"sponsored":false,"ratingEnabled":false,"feedbackEnabled":true,"commentingEnabled":false,"commentRisk":"low","sharingEnabled":true,"likesEnabled":true,"newsletterSubscribingEnabled":false,"adsEnabled":true,"renderedInWebView":false,"videoInContent":false,"allowRobots":true,"visibleInNewestContent":true,"publicationDateExposed":true},"authors":({"type":"agency","info":"","name":"ATS/NXP"}),"titleHeader":"Suisse","title":"La nocivité des particules fines sous la loupe","lead":"Des chercheurs de l’Institut suisse Paul Scherrer ont découvert que les particules fines avec un potentiel oxydant élevé entraînaient une réaction inflammatoire des cellules.","useEmbedUrl":false,"image":{"id":"1BjuymOra4XA5-5zavYFRt","promcolor":"#7C7065","name":"Le trafic routier contribue à produire des particules fines avec un important potentiel oxydant et donc une haute nocivité, selon les découvertes des chercheurs de l’Institut Paul Scherrer (image d’illustration),","slugifiedName":"le-trafic-routier-contribue-a-produire-des-particules-fines-avec-un-important-potentiel-oxydant-et-donc-une-haute-nocivite-selon-les-decouvertes-des-chercheurs-de-linstitut-paul-scherrer-image-dillustration","variants":{"1200px":{"src":"https://cdn.unitycms.io/image/ocroped/1200,1200,1000,1000,0,0/ZZx-NjZeqak/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1200,"maxHeight":1200,"aspectRatio":1.3333333333333333,"width":1200,"height":900,"focusPoint":{"x":0.5,"y":0.5}},"1600px":{"src":"https://cdn.unitycms.io/image/ocroped/1600,1600,1000,1000,0,0/mNSme6vbbM8/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1600,"maxHeight":1600,"aspectRatio":1.3333333333333333,"width":1600,"height":1200,"focusPoint":{"x":0.5,"y":0.5}},"2000px":{"src":"https://cdn.unitycms.io/image/ocroped/2001,2000,1000,1000,0,0/M-lp-LjXLcY/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":2001,"maxHeight":2000,"aspectRatio":1.3333333333333333,"width":2001,"height":1500,"focusPoint":{"x":0.5,"y":0.5}},"400px":{"src":"https://cdn.unitycms.io/image/ocroped/400,400,1000,1000,0,0/1Qca-cH13HM/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":400,"maxHeight":400,"aspectRatio":1.3333333333333333,"width":400,"height":300,"focusPoint":{"x":0.5,"y":0.5}},"800px":{"src":"https://cdn.unitycms.io/image/ocroped/800,800,1000,1000,0,0/Bd8TE1i5uAY/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":800,"maxHeight":800,"aspectRatio":1.3333333333333333,"width":800,"height":600,"focusPoint":{"x":0.5,"y":0.5}},"big":{"src":"https://cdn.unitycms.io/image/ocroped/1200,1200,1000,1000,0,0/ZZx-NjZeqak/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1200,"maxHeight":1200,"aspectRatio":1.3333333333333333,"width":1200,"height":900,"focusPoint":{"x":0.5,"y":0.5}},"small":{"src":"https://cdn.unitycms.io/image/ocroped/400,400,1000,1000,0,0/1Qca-cH13HM/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":400,"maxHeight":400,"aspectRatio":1.3333333333333333,"width":400,"height":300,"focusPoint":{"x":0.5,"y":0.5}}}},"kickword":{},"styles":{"name":"Default"}}},"relatedContent":{"content":(),"displayAsBundle":false},"clientdata":{"community":{"likes":"","shares":"4","reads":"","views":"","bookmarks":"","comments":"","contentRatings":"51"}}},"article":{"title":"La nocivité des particules fines sous la loupe","lead":"Des chercheurs de l’Institut suisse Paul Scherrer ont découvert que les particules fines avec un potentiel oxydant élevé entraînaient une réaction inflammatoire des cellules.","elements":({"type":"publishDate","publishedTime":"2020-11-18T16:13:50.000Z","isUpdated":false},{"type":"title","htmlText":"u003cspanu003eSuisseu003cspan class="visually-hidden" aria-hidden="true" role="presentation"u003e: u003c/spanu003eu003c/spanu003eLa nocivité des particules fines sous la loupe"},{"type":"lead","htmlText":"Des chercheurs de l’Institut suisse Paul Scherrer ont découvert que les particules fines avec un potentiel oxydant élevé entraînaient une réaction inflammatoire des cellules."},{"type":"image","image":{"id":"1BjuymOra4XA5-5zavYFRt","promcolor":"#7C7065","name":"Le trafic routier contribue à produire des particules fines avec un important potentiel oxydant et donc une haute nocivité, selon les découvertes des chercheurs de l’Institut Paul Scherrer (image d’illustration),","slugifiedName":"le-trafic-routier-contribue-a-produire-des-particules-fines-avec-un-important-potentiel-oxydant-et-donc-une-haute-nocivite-selon-les-decouvertes-des-chercheurs-de-linstitut-paul-scherrer-image-dillustration","caption":{"text":"Le trafic routier contribue à produire des particules fines avec un important potentiel oxydant et donc une haute nocivité, selon les découvertes des chercheurs de l’Institut Paul Scherrer (image d’illustration),","elements":({"type":"textBlockArray","items":({"type":"htmlTextItem","htmlText":"Le trafic routier contribue à produire des particules fines avec un important potentiel oxydant et donc une haute nocivité, selon les découvertes des chercheurs de l’Institut Paul Scherrer (image d’illustration),"})})},"credit":"KEYSTONE/CYRIL ZINGARO","variants":{"1200px":{"src":"https://cdn.unitycms.io/image/ocroped/1200,1200,1000,1000,0,0/ZZx-NjZeqak/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1200,"maxHeight":1200,"aspectRatio":1.3333333333333333,"width":1200,"height":900,"focusPoint":{"x":0.5,"y":0.5}},"1600px":{"src":"https://cdn.unitycms.io/image/ocroped/1600,1600,1000,1000,0,0/mNSme6vbbM8/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1600,"maxHeight":1600,"aspectRatio":1.3333333333333333,"width":1600,"height":1200,"focusPoint":{"x":0.5,"y":0.5}},"2000px":{"src":"https://cdn.unitycms.io/image/ocroped/2001,2000,1000,1000,0,0/M-lp-LjXLcY/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":2001,"maxHeight":2000,"aspectRatio":1.3333333333333333,"width":2001,"height":1500,"focusPoint":{"x":0.5,"y":0.5}},"400px":{"src":"https://cdn.unitycms.io/image/ocroped/400,400,1000,1000,0,0/1Qca-cH13HM/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":400,"maxHeight":400,"aspectRatio":1.3333333333333333,"width":400,"height":300,"focusPoint":{"x":0.5,"y":0.5}},"800px":{"src":"https://cdn.unitycms.io/image/ocroped/800,800,1000,1000,0,0/Bd8TE1i5uAY/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":800,"maxHeight":800,"aspectRatio":1.3333333333333333,"width":800,"height":600,"focusPoint":{"x":0.5,"y":0.5}},"big":{"src":"https://cdn.unitycms.io/image/ocroped/1200,1200,1000,1000,0,0/ZZx-NjZeqak/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":1200,"maxHeight":1200,"aspectRatio":1.3333333333333333,"width":1200,"height":900,"focusPoint":{"x":0.5,"y":0.5}},"small":{"src":"https://cdn.unitycms.io/image/ocroped/400,400,1000,1000,0,0/1Qca-cH13HM/1BjuymOra4XA5-5zavYFRt.jpg","mediaType":"image/jpeg","maxWidth":400,"maxHeight":400,"aspectRatio":1.3333333333333333,"width":400,"height":300,"focusPoint":{"x":0.5,"y":0.5}}},"maxAspectRatio":1.68}},{"type":"textBlockArray","items":({"type":"htmlTextItem","htmlText":"La nocivité des particulières fines ne dépend pas uniquement de la quantité de poussières fines, mais aussi de leur potentiel oxydant, ont découvert des chercheurs de l’Institut suisse Paul Scherrer (PSI) en collaboration avec plusieurs institutions européennes."})},{"type":"textBlockArray","items":({"type":"htmlTextItem","htmlText":"Les chercheurs de l’Institut Paul Scherrer (AG) ont découvert que ce n’est pas seulement la quantité de poussières fines, à elle seule, qui représente le plus grand risque pour la santé. Il se pourrait que ce soit surtout leur potentiel oxydant qui définisse leur degré de nocivité, indique un communiqué de l’Institut Paul Scherrer. Ils publient mercredi leurs résultats dans la revue spécialisée Nature."})},{"type":"ad","availableFor":{"desktop":true,"mobileWeb":true,"app":true},"adUnitName":"inside-full-content-pos1"},{"type":"textBlockArray","items":({"type":"htmlTextItem","htmlText":"Le potentiel oxydant des particules fines se caractérise par leur capacité à dégrader des antioxydants, ce qui peut endommager les cellules et les tissus de l’organisme humain. Les chercheurs ont exposé des cellules de voies respiratoires humaines à des échantillons de particules fines tout en surveillant leur réaction biologique. Ils ont ainsi réussi à montrer que les particules fines avec un potentiel oxydant élevé entraînaient une réaction inflammatoire des cellules."})},{"type":"textBlockArray","items":({"type":"htmlTextItem","htmlText":"«Ce constat ne prouve pas encore clairement l’existence d’une relation de cause à effet entre potentiel oxydatif élevé et risque pour la santé», admet Kaspar Dällenbach du laboratoire Chimie atmosphérique au PSI, cité dans le communiqué. «Mais l’étude constitue un indice de plus suggérant que cette relation existe bel et bien», poursuit-il."})},{"type":"crosshead","htmlText":"Chauffage au bois et trafic routier","style":{}},{"type":"textBlockArray","items":({"type":"htmlTextItem","htmlText":"Les chercheurs sont aussi remontés à l’origine des particules fines prélevées à différents endroits de Suisse. Des chercheurs français ont ensuite déterminé le potentiel oxydant de ces mêmes échantillons dans le but d’obtenir leur indice de nocivité."})},{"type":"textBlockArray","items":({"type":"htmlTextItem","htmlText":"Les particules possédant un important potentiel oxydant, donc particulièrement nocives, proviennent surtout du chauffage au bois, et de métaux issus de l’abrasion des freins et des pneus dans la circulation routière. La majorité des particules, seulement composées de poussière minérale et d’aérosols, comme le nitrate et le sulfate d’ammonium, aurait une nocivité moindre."})},{"type":"crosshead","htmlText":"Particules plus nocives en zone urbaine","style":{}},{"type":"textBlockArray","items":({"type":"htmlTextItem","htmlText":"«Nos résultats montrent que les sources qui déterminent le potentiel oxydant des particules et les sources qui déterminent leur quantité ne sont pas les mêmes», résume Kaspar Dällenbach. Les zones urbaines ne sont pas exposées à de plus importantes quantités de particules fines, mais dans ces régions, les poussières fines ont un potentiel oxydant plus important et sont donc plus nocives pour la santé que les particules fines en zone rurale."})},{"type":"textBlockArray","items":({"type":"htmlTextItem","htmlText":"«Nos résultats montrent que la régulation des quantités de particules fines seule n’atteint pas nécessairement l’objectif» de réduire leur impact sur la santé, estime Kaspar Dällenbach."})},{"type":"agencies","agencies":({"type":"agency","info":"","name":"ATS/NXP"})})}}},"navigation":{"categoryId":6,"isContentPage":true},"siteArea":"siteAreaNews","pageKey":"k77g2w95","context":{"bookmarks":(),"likes":(),"ratings":(),"reactions":()},"sitemap":({"type":"category","name":"Home","categoryId":1,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/1","metaTitle":"Le Matin: toute l'actualité en Suisse romande et dans le monde","metaDescription":"Retrouvez toute l'actualité nationale, internationale sur les thèmes de l'économie, société, culture, environnement, santé et bien plus.","urlPath":"home","fullUrlPath":"home","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":true,"inMenuFooter":true,"inUserPanel":true,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Suisse","categoryId":6,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/6","metaTitle":"Suisse: actualité nationale u0026 régionale en direct - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité suisse et de votre région: Fribourg, Genève, Vaud, Valais, Neuchâtel, Jura et Jura bernois et bien plus.","urlPath":"suisse","fullUrlPath":"suisse","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":true,"inFooter":true,"inMenuFooter":true,"inUserPanel":true,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Sports","categoryId":2,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/2","metaTitle":"Sports: toute l'actualité sportive, les résultats et les grands événements en direct - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité de tous vos sports favoris: football, tennis, hockey, basket et bien plus.","urlPath":"sports","fullUrlPath":"sports","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"children":({"type":"category","name":"Football","categoryId":5,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/5","metaTitle":"Football: actualité, classements u0026 résultats en direct - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité du football national et international: analyses, résultats, classements, commentaires et bien plus.","urlPath":"football","fullUrlPath":"sports/football","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"parent":2},{"type":"category","name":"Uefa Champions League","categoryId":97,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/97","metaTitle":"UEFA Champions League: actualité u0026 résultats en direct - Le Matin","metaDescription":"Retrouvez infos et vidéos sur toute l'actualité et le suivi de la UEFA Champions League: analyses, résultats, classements, commentaires et bien plus.","urlPath":"uefachampionsleague","fullUrlPath":"sports/uefachampionsleague","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"parent":2},{"type":"category","name":"Uefa Europa League","categoryId":98,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/98","metaTitle":"UEFA Europa League: actualité et résultats en direct - Le Matin","metaDescription":"Retrouvez infos et vidéos sur toute l'actualité et le suivi de UEFA Europa League: analyses, infos, résultats, classements, commentaires et bien plus.","urlPath":"uefaeuropaleague","fullUrlPath":"sports/uefaeuropaleague","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"parent":2},{"type":"category","name":"Tennis","categoryId":3,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/3","metaTitle":"Tennis: actualité, classements u0026 résultats en direct - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité du tennis: résultats, classements, commentaires, analyses et bien plus.","urlPath":"tennis","fullUrlPath":"sports/tennis","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"parent":2},{"type":"category","name":"Hockey","categoryId":4,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/4","metaTitle":"Hockey: actualité, classements u0026 résultats en direct - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité du hockey sur glace: infos, résultats, classements, analyses et suivis.","urlPath":"hockey","fullUrlPath":"sports/hockey","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"parent":2},{"type":"category","name":"F1","categoryId":884,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/884","metaTitle":"Formule 1: actualité, classements u0026 résultats en direct - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité de la Formule 1: résultats, classements, commentaires et analyses.","urlPath":"f1","fullUrlPath":"sports/f1","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"parent":2},{"type":"category","name":"Moto GP","categoryId":25,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/25","metaTitle":"Moto: actualité, classements et résultats en direct - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité moto: résultats, classements, commentaires et analyses.","urlPath":"motogp","fullUrlPath":"sports/motogp","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"parent":2},{"type":"category","name":"Sports d'hiver","categoryId":26,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/26","metaTitle":"Sports d'hiver: actualité, classements u0026 résultats en direct - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité des sports d'hiver: résultats, classements, commentaires et analyses.","urlPath":"sportsdhiver","fullUrlPath":"sports/sportsdhiver","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"parent":2},{"type":"category","name":"Chroniques","categoryId":888,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/888","metaTitle":"Chroniques sportives: actualité, classements et résultats en continu - Le Matin","metaDescription":"Retrouvez infos et vidéos sur tout le sport: chroniques, résultats, classements, commentaires et analyses.","urlPath":"chroniques","fullUrlPath":"sports/chroniques","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"parent":2})},{"type":"category","name":"Faits divers","categoryId":81,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/81","urlPath":"faitsdivers","fullUrlPath":"faitsdivers","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Monde","categoryId":32,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/32","metaTitle":"Monde: actualité internationale en direct et en continu - Le Matin","metaDescription":"Retrouvez infos et vidéos sur toute l'actualité internationale: politique, société, économie et bien plus.","urlPath":"monde","fullUrlPath":"monde","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":true,"inFooter":true,"inMenuFooter":true,"inUserPanel":true,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"People","categoryId":980,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/980","metaTitle":"People: toute l'actualité sur vos célébrités et stars préférées - Le Matin","metaDescription":"Retrouvez l'actualité des célébrités: news exclusives, vidéos, images et tout ce que vous devez savoir sur vos stars préférées.","urlPath":"people","fullUrlPath":"people","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":true,"inFooter":true,"inMenuFooter":true,"inUserPanel":true,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Cinéma","categoryId":968,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/968","metaTitle":"Cinéma: interviews, sorties ciné u0026 bandes annonces - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité cinéma: nouvelles sorties, bandes annonces, critiques et bien plus.","urlPath":"cinema","fullUrlPath":"cinema","paywall":{"docType":"section"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Télévision","categoryId":964,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/964","metaTitle":"Télé: actualité du petit écran et de ceux qui le font - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité TV: programme, interviews de stars, critiques. Et ne ratez rien sur les nouvelles séries TV.","urlPath":"television","fullUrlPath":"television","paywall":{"docType":"section"},"visibility":{"inMenu":false,"inTop":false,"inFooter":true,"inMenuFooter":true,"inUserPanel":true,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Musique","categoryId":976,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/976","metaTitle":"Musique: actualité interviews, photos, vidéos en direct - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité musicale: interviews, critiques d'albums, photos, vidéos et toutes les sorties de vos artistes préférés.","urlPath":"musique","fullUrlPath":"musique","paywall":{"docType":"section"},"visibility":{"inMenu":false,"inTop":false,"inFooter":true,"inMenuFooter":true,"inUserPanel":true,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Loisirs","categoryId":11,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/11","metaTitle":"Loisirs: buzz, théâtre, BD, mode, beauté, voyages - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité des loisirs, du divertissement, de la mode et beauté, des animaux et bien plus.","urlPath":"loisirs","fullUrlPath":"loisirs","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":true,"inFooter":true,"inMenuFooter":true,"inUserPanel":true,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"High-Tech","categoryId":65,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/65","metaTitle":"High-Tech: multimédia et tendances en direct - Le Matin","metaDescription":"Retrouvez infos et santé sur l'actualité du monde High-Tech: nouveautés, tests produits, analyses, comparatifs et bien plus encore.","urlPath":"hightech","fullUrlPath":"hightech","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Société","categoryId":17,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/17","metaTitle":"Société: toutes les tendances du moment - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité politique suisse: analyses, interviews, tendances et bien plus.","urlPath":"societe","fullUrlPath":"societe","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Économie","categoryId":10,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/10","metaTitle":"Économie: actualité financière en continu - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité économique suisse et mondiale, la bourse suisse et les marchés financiers.","urlPath":"economie","fullUrlPath":"economie","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Santé u0026 Environnement","categoryId":173,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/173","metaTitle":"Santé u0026 environnement: tout sur votre bien-être - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité santé, médecine, soins, sans oublier les tests et les comparatifs.","urlPath":"santeenvironnement","fullUrlPath":"santeenvironnement","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Auto u0026 Moto","categoryId":51,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/51","metaTitle":"Autos u0026 motos: analyses, tendances et tests - Le Matin","metaDescription":"Retrouvez infos et vidéos sur l'actualité auto-moto: résultats de tests de voiture, chroniques, tendances et bien plus.","urlPath":"auto","fullUrlPath":"auto","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Bien Manger","categoryId":174,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/174","metaTitle":"Bien manger: actualité nutritionnelle et cuisine en direct - Le Matin","metaDescription":"Retrouvez infos et vidéos sur la gastronomie et ses valeurs: cuisine, recettes, restaurants, tests, comparatifs et bien plus.","urlPath":"bienmanger","fullUrlPath":"bienmanger","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"News piquantes","categoryId":904,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/904","metaTitle":"News piquantes: l'actualité décalée vue avec humour - Le Matin","metaDescription":"Retrouvez infos et vidéos sur les news piquantes décalées du moment.","urlPath":"newspiquantes","fullUrlPath":"newspiquantes","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Festivals","categoryId":900,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/900","metaTitle":"Festivals: dans les coulisses de tous les grands rendez-vous - Le Matin","metaDescription":"Retrouvez infos et vidéos sur les festivals et événements qui ont lieu en Suisse et dans le monde.","urlPath":"festivals","fullUrlPath":"festivals","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Pausecafe Nespresso","categoryId":972,"categoryType":"default","allowRobots":false,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/972","urlPath":"pausecafenespresso","fullUrlPath":"pausecafenespresso","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Concours","categoryId":134,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/134","metaTitle":"Concours: gagnez de nombreux cadeaux régulièrement - Le Matin","metaDescription":"Retrouvez nos rendez-vous réguliers sur les concours avec beaucoup de prix divers et variés à gagner.","urlPath":"concours","fullUrlPath":"concours","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Photos","categoryId":896,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/896","urlPath":"photos","fullUrlPath":"photos","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"En Vue","categoryId":908,"categoryType":"default","allowRobots":false,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/908","urlPath":"envue","fullUrlPath":"envue","paywall":{"docType":"section"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Video","categoryId":219,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/219","urlPath":"video","fullUrlPath":"video","paywall":{"docType":"section"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"children":({"type":"category","name":"Actu","categoryId":220,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/220","urlPath":"actu","fullUrlPath":"video/actu","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"parent":219},{"type":"category","name":"Sports","categoryId":248,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/248","urlPath":"sports","fullUrlPath":"video/sports","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"parent":219},{"type":"category","name":"People","categoryId":289,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/289","urlPath":"people","fullUrlPath":"video/people","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"parent":219},{"type":"category","name":"Viral","categoryId":267,"categoryType":"default","allowRobots":true,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/267","urlPath":"viral","fullUrlPath":"video/viral","paywall":{"docType":"section"},"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true},"parent":219})},{"type":"internal","name":"Déclaration de confidentialité","allowRobots":false,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/content/977953976698","metadataID":977953976698,"meta":{"type":"articles","mainCategoryFullUrlPath":"content","mainCategoryName":"Content","settings":{"premium":false}},"urlPath":"","fullUrlPath":"/declarationconfidentialite","paywall":{"docType":"article"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"internal","name":"Conditions Générales","allowRobots":false,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/content/733023648895","metadataID":733023648895,"meta":{"type":"articles","mainCategoryFullUrlPath":"content","mainCategoryName":"Content","settings":{"premium":false}},"urlPath":"","fullUrlPath":"/conditiongenerales","paywall":{"docType":"article"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"internal","name":"Horoscope","allowRobots":false,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/content/373044499923","metadataID":373044499923,"meta":{"type":"articles","mainCategoryFullUrlPath":"suisse","mainCategoryName":"Suisse","settings":{"premium":false}},"urlPath":"","fullUrlPath":"/horoscope","paywall":{"docType":"article"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"internal","name":"Impressum","allowRobots":false,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/content/932617192877","metadataID":932617192877,"meta":{"type":"articles","mainCategoryFullUrlPath":"content","mainCategoryName":"Content","settings":{"premium":false}},"urlPath":"","fullUrlPath":"/impressum","paywall":{"docType":"article"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"internal","name":"Météo","allowRobots":false,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/content/827586798205","metadataID":827586798205,"meta":{"type":"embeds","mainCategoryFullUrlPath":"suisse","mainCategoryName":"Suisse","settings":{"premium":false}},"urlPath":"","fullUrlPath":"/meteo","paywall":{"docType":"article"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"internal","name":"Cercle des lecteurs","allowRobots":false,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/content/621935348101","metadataID":621935348101,"meta":{"type":"articles","mainCategoryFullUrlPath":"content","mainCategoryName":"Content","settings":{"premium":false}},"urlPath":"","fullUrlPath":"/cercledeslecteurs","paywall":{"docType":"article"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"internal","name":"Live TV","allowRobots":false,"pageStyle":"video","feed":"https://feed-prod.unitycms.io/4/content/625003776347","metadataID":625003776347,"meta":{"type":"embeds","mainCategoryFullUrlPath":"video","mainCategoryName":"Video","settings":{"premium":false}},"urlPath":"","fullUrlPath":"/livetv","paywall":{"docType":"article"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"Content","categoryId":182,"categoryType":"default","allowRobots":false,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/182","urlPath":"content","fullUrlPath":"content","paywall":{"docType":"section"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"internal","name":"Flux RSS","allowRobots":false,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/content/445258824564","metadataID":445258824564,"meta":{"type":"articles","mainCategoryFullUrlPath":"content","mainCategoryName":"Content","settings":{"premium":false}},"urlPath":"","fullUrlPath":"/fluxrss","paywall":{"docType":"article"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"internal","name":"Les règles du commentaire","allowRobots":false,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/content/491158445556","metadataID":491158445556,"meta":{"type":"articles","mainCategoryFullUrlPath":"content","mainCategoryName":"Content","settings":{"premium":false}},"urlPath":"","fullUrlPath":"/reglesducommentaire","paywall":{"docType":"article"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"category","name":"CRASS","categoryId":592,"categoryType":"default","allowRobots":false,"pageStyle":"default","feed":"https://feed-prod.unitycms.io/4/category/592","urlPath":"crass","fullUrlPath":"crass","paywall":{"docType":"section"},"visibility":{"inMenu":false,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}},{"type":"external","name":"Investir","allowRobots":false,"pageStyle":"default","contentLink":"https://migrosbank.commercial-publishing.ch/fr","newWindow":true,"urlPath":"","fullUrlPath":"","paywall":null,"visibility":{"inMenu":true,"inTop":false,"inFooter":false,"inMenuFooter":false,"inUserPanel":false,"highlighted":false},"availableFor":{"desktop":true,"mobileWeb":true,"app":true}}),"isFirstPageRequest":true,"settings":{"isWebView":false,"feature":{"poll":true,"friday":false,"video":true,"radio":true,"comments":true,"sudoku":false,"totalComments":true,"replyComments":true,"login":false,"bookmarks":false,"sidebar":true,"share":true,"communityTicker":false,"loginModal":false,"recommenderStory":true,"recommenderVideo":true,"deeplinkSlider":true,"outbrain":true,"languageInfoBar":false,"lifestyle":false,"cmp":false,"mostCommented":false,"externalDependencies":true},"isFromLegacy":false,"siteArea":"siteAreaNews"}},"page":"/content","query":{"0":"story/la-nocivite-des-particules-fines-sous-la-loupe","1":"-","id":"558246416772"},"buildId":"fHlBIZCiS54vBZGXgjxlO","runtimeConfig":{"localeCode":"fr-CH","language":"fr","languages":("fr"),"languagePaths":("/"),"languageTenants":("4"),"reloadTime":1200000,"dateFormat":{"year":"numeric","month":"2-digit","day":"2-digit","hour":"2-digit","minute":"2-digit"},"dateFormatShort":{"hour":"2-digit","minute":"2-digit"},"feedDomain":"https://feed-prod.unitycms.io","tenantId":"4","frontCategory":"home","feeds":{"activityNewest":"https://api.beta.20min.ch/activities/newest","activity":"https://api.beta.20min.ch","bookmarks":"https://api.beta.20min.ch/user/bookmarks","ratings":"https://api.beta.20min.ch/content-rating/v1/ratings","comment":"https://api.beta.20min.ch/comment/v1/comments","reactions":"https://api.beta.20min.ch/comment/v1/reactions","populars":"https://api.beta.20min.ch/popularity/v1/populars","profile":"https://api.beta.20min.ch/user/v1/profile"},"scripts":{"sourcepoint":"/scripts/messaging.js","initSourcepoint":"/scripts/messagingInit.js","facebook":"https://connect.facebook.net/en_US/sdk.js","instagram":"https://platform.instagram.com/en_US/embeds.js","twitter":"https://platform.twitter.com/widgets.js","tiktok":"https://www.tiktok.com/embed.js","jwplayer":"/scripts/jwplayer.js","gtm":"https://www.googletagmanager.com/gtm.js?id=GTM-PKTSKJX","beagle":"https://beagle.prod.tda.link/scripts/lematin/beagle.min.js","playbuzz":"https://embed.playbuzz.com/sdk.js","recommender":"https://astronomix.prod.tda.link/v1/recommender","reCaptcha":"https://www.google.com/recaptcha/api.js?render=6LfbCaUZAAAAAEWsd5rc_kxFNZOFFOsXW6vFBenb","cmp":{"tcfStub":"https://cdn.cookielaw.org/consent/tcf.stub.js","sdk":"https://cdn.cookielaw.org/scripttemplates/otSDKStub.js","domainId":"5859f785-6065-49dc-a1ad-64ef9484fb67-test"},"ads":{"totm":"https://tdn.da-services.ch/current/lematin_fresh.js","pubads":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","outbrain":"https://widgets.outbrain.com/outbrain.js"}},"embedUrls":{"youtube":"https://www.youtube.com/embed/"},"totm":{"pageName":"fr-lematin.ch"},"rollbar":{"accessToken":"1c2d1e09d15446a7834919bef306c1cf","environment":"production"},"socialMedia":{"facebook":{"appId":"188734271214193","version":"v3.2"},"twitter":{"site":"@Lematinch"}},"accounts":{"loginUrl":"https://api.beta.20min.ch/user/session/new","refreshUrl":"https://api.beta.20min.ch/user/session","logoutUrl":"https://api.beta.20min.ch/user/session","registerUrl":"","moreInfoURL":""},"videoPlayer":{"jwplayerKey":"F+h2YwyEDYSlHKYS1/QgBoBdWKfDV/IgZz0jcA=="},"slideshow":{"preloadSlides":2},"comment":{"createAnonymousCommentUrl":"https://api.beta.20min.ch/anonymous/comments","createCommentUrl":"https://api.beta.20min.ch/user/comments","escalateAnonymousCommentUrl":"https://api.beta.20min.ch/anonymous/comments","escalateCommentUrl":"https://api.beta.20min.ch/user/comments","commentRules":"/reglesducommentaire","maximumCharacters":{"nickname":50,"comment":1000},"service":{"comments":"https://api.beta.20min.ch/comment/v1/comments","validate":"https://api.beta.20min.ch/comment/v1/validate"}},"netmetrix":{"domain":"https://lematin-ssl.wemfbox.ch","profileUrl":"https://lematin-ssl.wemfbox.ch/2004/01/survey.js","profileName":"lematin-ssl"},"gdpr":{"links":"/declarationconfidentialite"},"agb":{"links":"/conditiongenerales"},"imprint":{"links":"/impressum"},"report":{"emailAddress":"lm.online@sr.tamedia.ch"},"feature":{"poll":true,"friday":false,"video":true,"radio":true,"comments":true,"sudoku":false,"totalComments":true,"replyComments":true,"login":false,"bookmarks":false,"sidebar":true,"share":true,"communityTicker":false,"loginModal":false,"recommenderStory":true,"recommenderVideo":true,"deeplinkSlider":true,"outbrain":true,"languageInfoBar":false,"lifestyle":false,"cmp":false,"mostCommented":false,"externalDependencies":true},"debug":{"showComponents":false},"gadget":{"links":{"liveTv":"/livetv","superdeal":"","coupon":"","paidPosts":"","rssFeed":"","twentyMinutenGames":"","crossword":"","sudoku":"","ePaper":"","tarife":"https://publishing.goldbach.com/fr/marques/details/le-matin/type/advertising-digital/tab/werbung","boxFinder":"","charme":"https://www.sexup.ch/","horoscope":"/horoscope","meteo":"/meteo","readerCircle":"/cercledeslecteurs"}},"mainLogoPath":"/icons/lematin.png","nativeApps":{"appleAppStoreId":"307368454"},"deeplinks":{"matcher":"^https://www.lematin.ch/cmd/","fallbackUrl":"https://www.lematin.ch/story/le-matin-app-content-539844822189"},"canonicalBaseUrl":"https://www.lematin.ch","reCaptchaSiteKey":"6LfbCaUZAAAAAEWsd5rc_kxFNZOFFOsXW6vFBenb","ampBaseUrl":"https://amp.lematin.ch","tenantName":"Le Matin"},"isFallback":false,"customServer":true,"gip":true,"appGip":true,"head":(("meta",{"charSet":"utf-8"}),("meta",{"name":"viewport","content":"width=device-width, height=device-height, initial-scale=1"}),("meta",{"name":"mobile-web-app-capable","content":"yes"}),("meta",{"name":"apple-mobile-web-app-capable","content":"yes"}),("meta",{"name":"apple-mobile-web-app-status-bar-style","content":"#0d2880"}),("meta",{"name":"robots","content":"index, follow"}),("script",{"dangerouslySetInnerHTML":{"__html":"n            var szmvars = 'lematin-ssl//CP//';n            var szmopt = {mobile: window.innerWidth u003c 748};n        "}}),("meta",{"name":"theme-color","content":"#0d2880"}),("meta",{"name":"apple-itunes-app","content":"app-id=307368454"}),("script",{"dangerouslySetInnerHTML":{"__html":"window._sp_ = window._sp_ || {}; window._sp_.config = window._sp_.config || {}; window._sp_.config.account_id = 332; window._sp_.config.mms_domain = 'twch.20min.ch'; window._sp_.mms = window._sp_.mms || {}; window._sp_.mms.cmd = window._sp_.mms.cmd || ();"}}),("script",{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{"@context":"http://schema.org","@type":"BreadcrumbList","itemListElement":({"@type":"ListItem","position":1,"item":{"@id":"https://www.lematin.ch/","name":"Home"}},{"@type":"ListItem","position":2,"item":{"@id":"https://www.lematin.ch/suisse","name":"Suisse"}},{"@type":"ListItem","position":3,"item":{"@id":"https://www.lematin.ch/story/la-nocivite-des-particules-fines-sous-la-loupe-558246416772","name":"Suisse: La nocivité des particules fines sous la loupe"}})}"}}),("title",{"children":"Suisse: La nocivité des particules fines sous la loupe - Le Matin"}),("meta",{"name":"title","content":"La nocivité des particules fines sous la loupe"}),("meta",{"name":"description","content":"Des chercheurs de l’Institut suisse Paul Scherrer ont découvert que les particules fines avec un potentiel oxydant élevé entraînaient une réaction inflammatoire des cellules."}),("link",{"rel":"canonical","href":"https://www.lematin.ch/story/la-nocivite-des-particules-fines-sous-la-loupe-558246416772"}),("meta",{"property":"article:published_time","content":"2020-11-18T16:13:50.000Z"}),("link",{"rel":"amphtml","href":"https://amp.lematin.ch/story/la-nocivite-des-particules-fines-sous-la-loupe-558246416772"}),("meta",{"property":"og:type","content":"article"}),("meta",{"property":"og:description","content":"Des chercheurs de l’Institut suisse Paul Scherrer ont découvert que les particules fines avec un potentiel oxydant élevé entraînaient une réaction inflammatoire des cellules."}),("meta",{"property":"og:url","content":"https://www.lematin.ch/story/la-nocivite-des-particules-fines-sous-la-loupe-558246416772"}),("meta",{"property":"og:title","content":"La nocivité des particules fines sous la loupe"}),("meta",{"property":"og:locale","content":"fr_FR"}),("meta",{"property":"article:publisher","content":"https://www.facebook.com/lematin.ch"}),("meta",{"property":"og:site_name","content":"Le Matin"}),("meta",{"property":"og:updated_time","content":"2020-11-18T16:13:50.000Z"}),("meta",{"property":"article:published_time","content":"2020-11-18T16:13:50.000Z"}),("meta",{"property":"article:modified_time","content":"2020-11-18T16:13:50.000Z"}),("meta",{"property":"og:image","content":"https://cdn.unitycms.io/image/ocroped/1200,1200,1000,1000,0,0/ZZx-NjZeqak/1BjuymOra4XA5-5zavYFRt.jpg"}),("meta",{"property":"og:image:width","content":1200}),("meta",{"property":"og:image:height","content":1200}),("meta",{"name":"twitter:card","content":"summary_large_image"}),("meta",{"name":"twitter:site","content":"@Lematinch"}),("meta",{"name":"twitter:title","content":"La nocivité des particules fines sous la loupe"}),("meta",{"name":"twitter:description","content":"Des chercheurs de l’Institut suisse Paul Scherrer ont découvert que les particules fines avec un potentiel oxydant élevé entraînaient une réaction inflammatoire des cellules."}),("meta",{"property":"twitter:image:src","content":"https://cdn.unitycms.io/image/ocroped/1200,1200,1000,1000,0,0/ZZx-NjZeqak/1BjuymOra4XA5-5zavYFRt.jpg"}),("script",{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{"@context":"http://schema.org","@type":"NewsArticle","mainEntityOfPage":{"@type":"WebPage","@id":"https://www.lematin.ch/story/la-nocivite-des-particules-fines-sous-la-loupe-558246416772"},"headline":"Suisse: La nocivité des particules fines sous la loupe","image":({"@type":"ImageObject","url":"https://cdn.unitycms.io/image/focus/1200,1200,1000,1000,0,0,500,500/0-TBEJHjClM/1BjuymOra4XA5-5zavYFRt.jpg","width":1200,"height":1200},{"@type":"ImageObject","url":"https://cdn.unitycms.io/image/focus/1200,900,1000,1000,0,0,500,500/j79uGi5TY3o/1BjuymOra4XA5-5zavYFRt.jpg","width":1200,"height":900},{"@type":"ImageObject","url":"https://cdn.unitycms.io/image/focus/1200,675,1000,1000,0,0,500,500/LhwDM-nGMkU/1BjuymOra4XA5-5zavYFRt.jpg","width":1200,"height":675}),"datePublished":"2020-11-18T17:13:50+01:00","dateModified":"2020-11-18T17:13:50+01:00","author":({"@type":"Person","name":"ATS/NXP"}),"publisher":{"@type":"Organization","name":"Le Matin","logo":{"@type":"ImageObject","url":"https://www.lematin.ch/icons/lematin.png","width":144,"height":192}},"description":"Des chercheurs de l’Institut suisse Paul Scherrer ont découvert que les particules fines avec un potentiel oxydant élevé entraînaient une réaction inflammatoire des cellules."}"}}),("script",{"dangerouslySetInnerHTML":{"__html":"window.OB_ContextKeyValue='suisse';"}}))}</script><br /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>La pollution aux particules fines peut-elle servir de vecteur au Covid-19?</title>
		<link>https://conseil-chauffage.com/la-pollution-aux-particules-fines-peut-elle-servir-de-vecteur-au-covid-19/</link>
		
		<dc:creator><![CDATA[Conseil-Chauffage]]></dc:creator>
		<pubDate>Thu, 02 Apr 2020 18:03:22 +0000</pubDate>
				<category><![CDATA[Chauffage au Gaz]]></category>
		<category><![CDATA[aux]]></category>
		<category><![CDATA[COVID19]]></category>
		<category><![CDATA[fines]]></category>
		<category><![CDATA[particules]]></category>
		<category><![CDATA[peutelle]]></category>
		<category><![CDATA[pollution]]></category>
		<category><![CDATA[servir]]></category>
		<category><![CDATA[vecteur]]></category>
		<guid isPermaLink="false">https://conseil-chauffage.com/la-pollution-aux-particules-fines-peut-elle-servir-de-vecteur-au-covid-19/</guid>

					<description><![CDATA[La pollution aux particules fines peut-elle servir de vecteur au Covid-19? Malgré une pollution en baisse, le nombre de particules fines dans l&#39;air est élevé. Ils affaiblissent les organismes et pourraient favoriser la propagation du virus. Jamais sans doute depuis le début de l&#39;ère industrielle, le ciel est aussi bleu que l&#39;azur que celui dessiné par l&#39;enfermement. Il y a une raison principale à cela: la chute drastique des activités humaines a entraîné une réduction de la ... <p class="read-more-container"><a title="La pollution aux particules fines peut-elle servir de vecteur au Covid-19?" class="read-more button" href="https://conseil-chauffage.com/la-pollution-aux-particules-fines-peut-elle-servir-de-vecteur-au-covid-19/#more-2402" aria-label="Plus sur La pollution aux particules fines peut-elle servir de vecteur au Covid-19?">Lire l'Article</a></p>]]></description>
										<content:encoded><![CDATA[<h1>La pollution aux particules fines peut-elle servir de vecteur au Covid-19?</h1>
<p></p>
<div data-sticky-simple-container="data-sticky-simple-container">
<h2 class="chapo title_gamma">
<p>          Malgré une pollution en baisse, le nombre de particules fines dans l&#39;air est élevé. Ils affaiblissent les organismes et pourraient favoriser la propagation du virus.<br />
  </h2>
<p>Jamais sans doute depuis le début de l&#39;ère industrielle, le ciel est aussi bleu que l&#39;azur que celui dessiné par l&#39;enfermement. Il y a une raison principale à cela: la chute drastique des activités humaines a entraîné une réduction de la pollution dans le monde. &quot;Pour le trafic routier, c&#39;est 40% de dioxyde d&#39;azote (NO2) en moins&quot;, explique Vincent-Henri Peuch, responsable de l&#39;atmosphère de Copernicus, le programme européen de surveillance de la Terre. En plus de prouver que les humains peuvent avoir un impact significatif sur leurs émissions de gaz à effet de serre &#8211; c<a href="https://lentreprise.lexpress.fr/actualites/1/actualites/coronavirus-appel-a-ne-pas-oublier-le-climat-lors-de-la-sortie-de-crise_2122544.html" target="_blank" rel="noopener noreferrer">ce qui pourrait être encourageant dans la lutte contre le changement climatique</a> -, cette moindre pollution n&#39;est pas forcément une bonne nouvelle en termes de propagation du coronavirus et de questions dans le cadre d&#39;une sortie de confinement. </p>
<p>&quot;Les quantités de NO2 ont chuté, mais il n&#39;y a eu aucun effet sur les autres particules fines, qui sont les plus dangereuses pour la santé&quot;, souligne Eric Poincelet, de l&#39;association Pollutrack, dont les véhicules sillonnent Paris pour prendre des mesures sur la plus petite de ces particules &#8211; PM2,5 (moins de 2,5 micromètres de diamètre). Pire, dans le Grand-Est comme dans la capitale, des pics de ce type de pollution ont été observés parallèlement à l&#39;explosion de l&#39;épidémie. Si les voitures n&#39;en sont pas responsables, d&#39;autres polluants sont signalés: ceux issus du chauffage résidentiel, les naturels (sables sahariens, sels de mer), mais surtout l&#39;ammoniac issu des épandages agricoles qui, pour Eric Poincelet, restent très sous-évalués. </p>
<p>              <!-- PREMIUM BLOCK --></p>
<div class="article-premium-block">
<p class="article-premium-block__title">Pour déchiffrer la crise actuelle, <br />Prendre plaisir <strong>Abonnement de 2 mois pour 1 €</strong></p>
<p class="article-premium-block__premier">1 € pour 2 mois</p>
<p class="article-premium-block__info-price">puis 9,90 € / 4 semaines <b>sans engagement</b></p>
<p>  <a class="article-premium-block__cta" href="https://abonnement.lexpress.fr/inscription/offre-numerique-2mois-1euro/?origin=EXWREX03&#038;xtatc=INT-55-(1euro_pour_2mois)&#038;egn-publisher=autopromo-site&#038;egn-name=1euro-pour-2mois_article-abonne">Je soutiens la rédaction</a></p>
<div class="article-premium-block__inclus">
<p><strong>DISPOSITIF SPÉCIAL DE CORONAVIRUS </strong></p>
<ul class="abonnement">
<li>Enquêtes, analyses, déchiffrement, rédaction<br />L &amp; # 39; Express vous aide à mieux comprendre la crise </li>
<li>Une newsletter quotidienne dédiée au suivi de la <br />Coronavirus</li>
<li>Accès illimité à nos articles</li>
<li>Toutes nos newsletters abonnées</li>
</ul>
</div>
<p>      <a class="article-premium-block__signin" onclick="return xt_med('C','24','Actualite::Sciences::::Article_Premium_Se-connecter-numerique','A');" href="https://moncompte.lexpress.fr/connexion?xtatc=INT-56"><span class="article-premium-block__abonne">Déjà inscrit?</span> <strong>Identifiez-vous</strong></a>
  </div>
</p></div>
<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Particules fines dans l’air : alerte activée dans le Finistère</title>
		<link>https://conseil-chauffage.com/particules-fines-dans-lair-alerte-activee-dans-le-finistere/</link>
		
		<dc:creator><![CDATA[Conseil-Chauffage]]></dc:creator>
		<pubDate>Sat, 28 Mar 2020 00:40:11 +0000</pubDate>
				<category><![CDATA[Chauffage Electrique]]></category>
		<category><![CDATA[activée]]></category>
		<category><![CDATA[alerte]]></category>
		<category><![CDATA[dans]]></category>
		<category><![CDATA[fines]]></category>
		<category><![CDATA[Finistère]]></category>
		<category><![CDATA[lair]]></category>
		<category><![CDATA[particules]]></category>
		<guid isPermaLink="false">https://conseil-chauffage.com/particules-fines-dans-lair-alerte-activee-dans-le-finistere/</guid>

					<description><![CDATA[Particules fines dans l’air : alerte activée dans le Finistère Particules fines dans l&#39;air: alerte activée dans le Finistère]]></description>
										<content:encoded><![CDATA[<h1>Particules fines dans l’air : alerte activée dans le Finistère</h1>
<p>
Particules fines dans l&#39;air: alerte activée dans le Finistère<br /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Pollution : le dioxyde d&#8217;azote et les particules fines encore présentes dans l&#8217;air</title>
		<link>https://conseil-chauffage.com/pollution-le-dioxyde-dazote-et-les-particules-fines-encore-presentes-dans-lair/</link>
		
		<dc:creator><![CDATA[Conseil-Chauffage]]></dc:creator>
		<pubDate>Tue, 24 Mar 2020 21:08:00 +0000</pubDate>
				<category><![CDATA[Chauffage au Gaz]]></category>
		<category><![CDATA[dans]]></category>
		<category><![CDATA[dazote]]></category>
		<category><![CDATA[dioxyde]]></category>
		<category><![CDATA[encore]]></category>
		<category><![CDATA[fines]]></category>
		<category><![CDATA[lair]]></category>
		<category><![CDATA[les]]></category>
		<category><![CDATA[particules]]></category>
		<category><![CDATA[pollution]]></category>
		<category><![CDATA[présentes]]></category>
		<guid isPermaLink="false">https://conseil-chauffage.com/pollution-le-dioxyde-dazote-et-les-particules-fines-encore-presentes-dans-lair/</guid>

					<description><![CDATA[Pollution : le dioxyde d&#8217;azote et les particules fines encore présentes dans l&#8217;air Airparif qui surveille la qualité de l&#39;air à Paris et en Ile-de-France continue de mesurer les taux de pollution dans notre région, et malgré le confinement de la population et le très faible trafic routier, on constate que si le niveau de pollution est particulièrement faible dans notre région , ce n&#39;est pas zéro. Les données fournies par l&#39;organisme chargé de surveiller la qualité ... <p class="read-more-container"><a title="Pollution : le dioxyde d&#8217;azote et les particules fines encore présentes dans l&#8217;air" class="read-more button" href="https://conseil-chauffage.com/pollution-le-dioxyde-dazote-et-les-particules-fines-encore-presentes-dans-lair/#more-2116" aria-label="Plus sur Pollution : le dioxyde d&#8217;azote et les particules fines encore présentes dans l&#8217;air">Lire l'Article</a></p>]]></description>
										<content:encoded><![CDATA[<h1>Pollution : le dioxyde d&rsquo;azote et les particules fines encore présentes dans l&rsquo;air</h1>
<p></p>
<div> <a href="http://www.airparif.asso.fr/indices/resultats-jour-citeair#jour" target="_blank" rel="noopener noreferrer">Airparif </a>qui surveille la qualité de l&#39;air à Paris et en Ile-de-France continue de mesurer les taux de pollution dans notre région, et malgré le confinement de la population et le très faible trafic routier, on constate que si le niveau de pollution est particulièrement faible dans notre région , ce n&#39;est pas zéro.</p>
<p>Les données fournies par l&#39;organisme chargé de surveiller la qualité de l&#39;air constatent une baisse importante des niveaux de pollution en général, mais pas pour le NO2, le dioxyde d&#39;azote.</p>
<p><strong>Dioxyde d&#39;azote: </strong>le chiffre communiqué par Airparif pour ce mardi est 16, lundi il était plus bas (11), les prévisions pour demain, mercredi 29.</p>
<p><strong>Particules fines (PM10) </strong>résistent également: hier, 20. Aujourd&#39;hui, 21 et demain 25. </p>
<figure class="article-style--offset offset--full-width figure-full-width--mobile m-b-2 m-t-2"><picture class="force-width"><source media="(min-width: 62em)" data-srcset="https://france3-regions.francetvinfo.fr/paris-ile-de-france/sites/regions_france3/files/styles/asset_list_medium/public/assets/images/2020/03/24/capturem-4717804.jpg?itok=ZlRPxzka 1x, https://france3-regions.francetvinfo.fr/paris-ile-de-france/sites/regions_france3/files/styles/asset_list_medium_2x/public/assets/images/2020/03/24/capturem-4717804.jpg?itok=zgRUwNcO 2x"/><source media="(min-width: 48em)" data-srcset="https://france3-regions.francetvinfo.fr/paris-ile-de-france/sites/regions_france3/files/styles/asset_thumbnail_large_tablet/public/assets/images/2020/03/24/capturem-4717804.jpg?itok=gNiS1Vox 1x, https://france3-regions.francetvinfo.fr/paris-ile-de-france/sites/regions_france3/files/styles/asset_thumbnail_large_tablet_2x/public/assets/images/2020/03/24/capturem-4717804.jpg?itok=BbtfxWKp 2x"/><source media="(min-width: 0em)" data-srcset="https://france3-regions.francetvinfo.fr/paris-ile-de-france/sites/regions_france3/files/styles/asset_thumbnail_large_smarphone/public/assets/images/2020/03/24/capturem-4717804.jpg?itok=3PzD8_XV 1x, https://france3-regions.francetvinfo.fr/paris-ile-de-france/sites/regions_france3/files/styles/asset_thumbnail_large_smarphone_2x/public/assets/images/2020/03/24/capturem-4717804.jpg?itok=SzqJZJVN 2x"/><img class="img-responsive lazyload" data-srcset="https://france3-regions.francetvinfo.fr/paris-ile-de-france/sites/regions_france3/files/styles/asset_list_medium/public/assets/images/2020/03/24/capturem-4717804.jpg?itok=ZlRPxzka" alt="© Capture d&#39;écran / Airparif"/><noscript><img decoding="async" class="img-responsive" src="https://france3-regions.francetvinfo.fr/paris-ile-de-france/sites/regions_france3/files/styles/asset_list_medium/public/assets/images/2020/03/24/capturem-4717804.jpg?itok=ZlRPxzka" alt="© Capture d&#39;écran / Airparif"/></noscript> </picture><figcaption class="figcaption-large-img">© Capture d&#39;écran / Airparif</figcaption></figure>
</p>
<h2>  Pourquoi les polluants ne se dispersent-ils pas?</h2>
<p>Interrogé <a href="https://www.francebleu.fr/infos/environnement/pollution-la-qualite-de-l-air-n-a-jamais-ete-aussi-bonne-a-paris-et-en-ile-de-france-1585048442" target="_blank" rel="noopener noreferrer">par Francebleu</a>, Karine Léger, PDG d&#39;Airparif, explique<em> &quot;On l&#39;oublie parfois mais la météo est un facteur important de pollution&quot;</em>. La haute pression qui apporte du beau temps et des températures fraîches, ne dilue pas les polluants dans l&#39;atmosphère et les hautes pressions les pressent au sol.</p>
<h2>Et les particules fines?</h2>
<p><em>«Près de 12 millions d&#39;Ile-de-France se chauffent actuellement, plus les activités agricoles qui se poursuivent. Cela favorise la formation de particules à partir de gaz »</em>, précise Karine Léger.</p>
<p>Ces fines particules émises par les moteurs diesel, le chauffage au bois des particuliers, la combustion des déchets verts, l&#39;agriculture continuent de se garer, comme pour le dioxyde d&#39;azote, en raison du phénomène de haute pression.</p>
<p>De nouvelles données seront disponibles la semaine prochaine, Airparif annonce qu&#39;elle prépare une évaluation de la qualité de l&#39;air depuis le début du confinement. </p>
</div>
<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions</title>
		<link>https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-68/</link>
		
		<dc:creator><![CDATA[Conseil-Chauffage]]></dc:creator>
		<pubDate>Wed, 18 Mar 2020 00:53:22 +0000</pubDate>
				<category><![CDATA[Chauffage au Bois]]></category>
		<category><![CDATA[avec]]></category>
		<category><![CDATA[bois]]></category>
		<category><![CDATA[fines]]></category>
		<category><![CDATA[finir]]></category>
		<category><![CDATA[les]]></category>
		<category><![CDATA[Linvité]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[pour]]></category>
		<category><![CDATA[poussières]]></category>
		<category><![CDATA[Réflexions]]></category>
		<category><![CDATA[Signatures]]></category>
		<guid isPermaLink="false">https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-68/</guid>

					<description><![CDATA[L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions Le CO2 neutre, deuxième source d&#39;énergie renouvelable en Suisse après l&#39;énergie hydraulique, le chauffage au bois ou le bois énergie, participe activement à la politique climatique. Soutenu par la Confédération et les cantons, il ne cesse de croître et représente désormais plus de 10% de la chaleur consommée en Suisse. Compte tenu des futures économies d&#39;énergie des bâtiments et de la gestion durable ... <p class="read-more-container"><a title="L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions" class="read-more button" href="https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-68/#more-1866" aria-label="Plus sur L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions">Lire l'Article</a></p>]]></description>
										<content:encoded><![CDATA[<h1>L&rsquo;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions</h1>
<p></p>
<div id="mainContent">
<p>	Le CO2 neutre, deuxième source d&#39;énergie renouvelable en Suisse après l&#39;énergie hydraulique, le chauffage au bois ou le bois énergie, participe activement à la politique climatique. Soutenu par la Confédération et les cantons, il ne cesse de croître et représente désormais plus de 10% de la chaleur consommée en Suisse.</p>
<p>Compte tenu des futures économies d&#39;énergie des bâtiments et de la gestion durable de nos forêts, son potentiel est estimé pour le canton de Vaud à 30% de la chaleur consommée.</p>
<p>Mais des voix s&#39;élèvent régulièrement pour alerter sur les émissions polluantes de poussières fines du bois. Comment est-ce vraiment?</p>
<p>La Commission fédérale de l&#39;hygiène de l&#39;air a très bien résumé le problème dans son rapport &quot;Les poussières fines en Suisse 2013&quot;. Elle explique les très grandes différences existant selon le type de chauffage (ancien ou moderne, automatique ou manuel) et le type de bois de chauffage (bûches, granulés, copeaux de bois). Grâce à l&#39;amélioration des conditions de combustion, il met en évidence la diminution très importante de la quantité de poussières fines émises, mais, en plus et surtout, leurs modifications de composition chimique et donc leur nocivité.</p>
<p>Une combustion optimale ou complète signifie l&#39;absence totale ou presque complète de produits imbrûlés, principalement de la suie et du goudron, composés toxiques classés cancérigènes par l&#39;OMS. Les petites quantités de poussières fines résultant de la combustion complète du bois sont composées de sels minéraux peu ou peu toxiques pour la santé.</p>
<p>Concrètement, la Commission fédérale met en évidence une réduction du poids des poussières fines jusqu&#39;à un facteur 100 avec les usines de granulés modernes par rapport aux anciennes usines de grumes. Si l&#39;on tient toujours compte de l&#39;évolution de la composition chimique des poussières, le gain en termes de protection de la santé atteint un facteur de 1000, voire beaucoup plus. Une véritable révolution silencieuse a eu lieu!</p>
<p>Il convient donc d&#39;encourager, d&#39;exploiter et d&#39;entretenir correctement les installations de chauffage modernes en appliquant les règles pertinentes. C&#39;est l&#39;assurance d&#39;une combustion complète et propre du bois.</p>
<p>Pour un usage domestique, c&#39;est notamment le cas des poêles et chaudières à granulés automatiques, choisissez un combustible très sec assurant une combustion complète. Les granulés sont également idéaux pour les bâtiments ou pour un groupe de bâtiments.</p>
<p>Pour le chauffage central des villages ou des quartiers d&#39;habitation, les chaudières à copeaux de bois sont privilégiées et équipées de filtres performants pour respecter les très strictes limites d&#39;émission fixées par la Confédération (OPair). </p>
<p class="publishedDate">Créé: 02.03.2020, 06:49</p>
</p></div>
<p><script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)(0);
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "http://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.3";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script><script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)(0);
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "http://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.3";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script><script language="javascript"></p>
<p>		var commentNotSent = true;
		///////////////////////////////////////////////////
		// object FBcomments, can be reused for FB authentification
        var FBcomments = {
        		fbAppId : '251285271592561',
                version: 'v2.0',
        		fbChannel_path : '/facebook_xd_receiver.html', 
        		isLoggedIn : false, </p>
<p>            ///////////////////////////////////////////////////
        		initFb : function() {	
	        		window.fbAsyncInit = function() {
                    FB.init({appId: FBcomments.fbAppId, version: FBcomments.version});
	                if (typeof FB === 'undefined') {
        		 				alert($("#tr_fbConnectError").html()); 
        		 			} 
	            };</p>
<p>                (function(d, s, id) {
                    var js, fjs = d.getElementsByTagName(s)(0);
                    if (d.getElementById(id)) return;
                    js = d.createElement(s); js.id = id;
                    js.src = "http://connect.facebook.net/fr_FR/sdk.js";
                    fjs.parentNode.insertBefore(js, fjs);
                }(document, 'script', 'facebook-jssdk'));
          	},
          	///////////////////////////////////////////////////
          	fbLogin : function() { 
          	 var populateFbData_ = this.populateFbData;
          	 var fbDisplay_ = this.fbDisplay;	
          	 var promptFanBox_ = this.promptFanBox;</p>
<p>        		 FB.init({appId: FBcomments.fbAppId, version: FBcomments.version}); 
        		 if (typeof FB === 'undefined') {
        		 	alert($("#tr_fbConnectError").html()); 
        		 } 	
							  	FB.login(function(response) {
									  if (response.authResponse) {
									     // granted some permissions 
									     this.isLoggedIn = true; 
									  	 populateFbData_(response.authResponse.accessToken, response.authResponse.userID);
									  	 fbDisplay_(); 
									  	 promptFanBox_(response.authResponse.userID);
									  } 
									  else { 
									    // user is not logged
									    this.isLoggedIn = false;
									  	fbDisplay_();  
									  }
									}, {scope:'publish_actions'});
				},
				///////////////////////////////////////////////////
				fbLogout : function() {  
					var fbDisplay_ = this.fbDisplay;
					$.cookie('fbsNN', '', { path: '/', expires: -1 });
					isLoggedIn = false;
					fbDisplay_();
        		},</p>
<p>				///////////////////////////////////////////////////
				populateFbData : function(accessToken, userID) {
					fbAccessToken = accessToken;
					fbUserID = userID;
					FB.api(
					'/me',
					{
						fields: 'name'
					},
					function(response) {
						var fbUserName = '';
						if (response){
							if (response.name){
								fbUserName = response.name;
							}
						}
						// store a fb-independent cookie for future login 
						$.cookie('fbsNN', "access_token="+escape(fbAccessToken)+""+"&uid="+fbUserID+"&realname="+escape(fbUserName), { path: '/', expires: 30 }); 
						fbDomInsert(fbUserName, fbUserID, fbAccessToken);
					}
					);
				},</p>
<p>				///////////////////////////////////////////////////
				promptFanBox : function(userId) {
  				 	FB.api({
					    method: 'fql.query',        
					    query: 'SELECT uid FROM page_fan WHERE uid='+userId+' AND page_id='+10150100771335484 
						},
							function(response) {
								if (typeof response(0) === 'undefined') {
									// user has not liked the page 
									$(document).ready(function(){  
										var txt = $("#tr_fanBoxPromptTitle").html(); 
										tb_show(txt,'/facebook_iframe.html?&height=250&width=645');
									});
								}	
							}
						 );
  				 },
  				 ///////////////////////////////////////////////////
  				 fbDisplay : function() {    
  				 		fbLoginDisplay(this.isLoggedIn );  
  				 		loginDrop();
  				 }
  				 ///////////////////////////////////////////////////
        } // end object</p>
<p>				///////////////////////////////////////////////////
				// cookie based user registration, maybe replaced by user DB in future
  			function fetch_nnCookie() { 
  				 		var nnRegex = /access_token=((^&)+)&uid=((0-9)+)&realname=(.+)/; 
							nnRegex.exec($.cookie('fbsNN')); 		 
							fbAccessToken = unescape(RegExp.$1);      
							fbUserID = RegExp.$2;
							fbUserName = unescape(RegExp.$3);	  
  			}
				///////////////////////////////////////////////////
  			function check_nnCookie() {	          
  				 	if( $.cookie('fbsNN') == null) {   	 
  				 		return false; 
  				 	}
  				 	else { 
							fetch_nnCookie();   
  				 		// check for valid data, delete cookie otherwise 
  				 		if (fbAccessToken != null && fbAccessToken.length > 0 && fbUserID != null && fbUserID.length > 0  && fbUserName != null && fbUserName.length > 0 && fbUserName != 'undefined') {
  				 			fbDomInsert(fbUserName, fbUserID, fbAccessToken); 
  				 			return true;   
  				 		}
  				 		else {
  				 			$.cookie('fbsNN', '', { expires: -1 }); 
  				 			return false;  
  				 		}
  				 	}
  			}</p>
<p>  			///////////////////////////////////////////////////
  			// form handler 
  			function commentsForm_send () {
  				var fbForm_message = $.trim($("#fbForm_message").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message 
  				var fbForm_uri = $.trim($("#fbForm_uri").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				var fbForm_ip = $.trim($("#fbForm_ip").val());			
  				var fbForm_realName = $.trim($("#fbForm_realName").val());
  				var fbForm_userId = $.trim($("#fbForm_userId").val());
  				var fbForm_userToken = $("#fbForm_userToken").val(); 
  				var fbForm_publishOnFB = $("#fbForm_publishOnFB:checked").val();
  				if (typeof fbForm_publishOnFB === 'undefined') {
  					fbForm_publishOnFB = 0; 
  				}
					var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());	
					var hasErrors = false; 
					var messageReg =  fbForm_message.length > 1; </p>
<p>					if (messageReg == false) {
						$("#commentError_message").show(); 	
						hasErrors = true; 
					}
					if (fbFormN_gotcha.length > 1) {
						hasErrors = true; 
					} </p>
<p>          if (!($('#disclaimerConfirmBtn').is(':checked'))) {
						$("#commentError_disclaimer").show();
						hasErrors = true; 
					}
  				if (!hasErrors) {
						$("#commentsForm_send").attr("disabled", "true");
						$("#commentsForm_send_noFb").attr("disabled", "true");</p>
<p>						$("#commentSendLoading").show(); 
						$.ajax({ type: "POST",
							dataType: "text",
							cache: false,
							url: "/community/talkback_ajax.html",
							async: true,
							data: "action=sendComment&fbForm_realName="+encodeURIComponent(fbForm_realName)+"&fbForm_userId="+fbForm_userId+"&fbForm_userToken="+encodeURIComponent(fbForm_userToken)+"&fbForm_publishOnFB="+fbForm_publishOnFB+"&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID,
							error: function(){
								alert($("#tr_commentSendError").html()); 
							},
							complete: function(reqCode){
								$("#commentLogin").hide();
								$("#fbForm_message").hide();
								$("#fbForm_message_count_class").hide();      	
								$("#commentError_message").hide();
									$("#commentError_name").hide();
									$("#commentError_location").hide();
									$("#commentError_email").hide();
									$("#commentError_disclaimer").hide();
									$(".disclaimerText").hide();
									$("#commentInfo_noFb").hide();
									$("#commentsForm_send").hide();
									$("#fbCommentPublishCheckbox").hide();
									$("#commentsForm_send_noFb").hide();
								$("#commentInfo_Fb").show();
								$("#commentSendLoading").hide();
							}
						});
					} // hasErrors
				}</p>
<p> 			//////////////////////////////////////////////////
 			function delete_cookie(cookie) {
				$.cookie(cookie, null, {path: '/'});
 			}</p>
<p>			//////////////////////////////////////////////////
			function save_form_to_cookie(class_name) {
				var form = new Array();
				$("."+ class_name).each(function(index) {
					form(index) = {};
					form(index)('id') = $(this).attr("id");
					form(index)('val') = $(this).val();
				});
				$.cookie(class_name, JSON.stringify(form), {json:true});
			}</p>
<p> 			//////////////////////////////////////////////////
 			function save_object_to_cookie(data) {
 			    var form = new Array();
 			    form(0)('id') = 'fbFormN_firstName';
 			    form(0)('val') = '';
 			    form(1)('id') = 'fbFormN_surname';
 			    form(1)('val') = '';
 			    form(2)('id') = 'fbFormN_zip';
 			    form(2)('val') = '';
 			    form(3)('id') = 'fbFormN_location';
 			    form(3)('val') = '';
 			    form(4)('id') = 'fbFormN_email';
 			    form(4)('val') = '';
 			    $("."+ class_name).each(function(index) {
 			        form(index) = {};
 			        form(index)('id') = $(this).attr("id");
 			        form(index)('val') = $(this).val();
 			    });
 			    $.cookie(class_name, JSON.stringify(form), {json:true});
 			}</p>
<p>			//////////////////////////////////////////////////
			function set_logged_in_cookie(data) {
			    $.cookie('comment_login_details_email', JSON.stringify(data), {json:true,expires:14,path: '/'});
			}</p>
<p>			//////////////////////////////////////////////////
			function read_logged_in_cookie() {
				var cookie_form_data_json = $.cookie('comment_login_details_email');
				if (cookie_form_data_json != null) {
					var form_data = JSON.parse(cookie_form_data_json);
					if (typeof form_data != 'undefined') {
						if (form_data.user.customer_id == 53){
							if (typeof form_data.pcr != 'undefined' && form_data.pcr != null && form_data.pcr.length > 0){
								if (typeof form_data.uid != 'undefined' && form_data.uid != null && form_data.uid != 0){
									auto_login_email(form_data);
									return;
								}
							}
						} else {
							auto_login_email(form_data);
						}
					}
				}</p>
<p>			}</p>
<p> 			//////////////////////////////////////////////////
 			function read_form_from_cookie(class_name) {
 			    var cookie_form_data_json = $.cookie(class_name);
 			    var form_data = JSON.parse(cookie_form_data_json);
 			    $.each(form_data, function(index, value) {
 			        $("#"+ value.id).val(value.val);
 			    });
 			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_create_account() {
				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
				var fbFormN_zip = $.trim($("#fbFormN_zip").val());
				var fbFormN_location = $.trim($("#fbFormN_location").val());
				var fbFormN_telephone = $.trim($("#fbFormN_telephone").val());
				var fbFormN_email = $.trim($("#fbFormN_email").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				if ($("#fbFormN_password").length) {
				    var fbFormN_password = $.trim($("#fbFormN_password").val());
				}
				if ($("#fbFormN_password_confirm").length) {
				    var fbFormN_password_confirm = $.trim($("#fbFormN_password_confirm").val());
				}</p>
<p>				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; 
if (fbFormN_telephone.length > 1) {</p>
<p>			var telephoneReg = (fbFormN_telephone.match(/^(ds)*$/));</p>
<p>}
				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;</p>
<p>				var password_params = '';</p>
<p>				$("#commentError_name").hide(); 	
				$("#commentError_location").hide(); 
				$("#commentError_telephone").hide(); 
				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); 
				$(".disclaimerText").hide();</p>
<p>				if (nameReg == false) {
					$("#commentError_name").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentError_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (telephoneReg == null) {
					$("#commentError_telephone").show();
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){
					$("#commentError_email").show();
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>				if ($("#fbFormN_password").length && $("#fbFormN_password_confirm").length) {
					if (fbFormN_password != fbFormN_password_confirm) {
					    $("#commentError_password").show();
					    hasErrors = true;
					}
					else {
					    password_params += "&fbFormN_password=" + encodeURIComponent(fbFormN_password);
				        password_params += "&fbFormN_password_confirm=" + encodeURIComponent(fbFormN_password_confirm);
					}
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					save_form_to_cookie('comment_form_input');
					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_create_account&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_telephone="+encodeURIComponent(fbFormN_telephone)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&customer_id="+fbForm_customerId+"&story_id="+encodeURIComponent(fbForm_storyId)+password_params,
						error: function(){ },
						success: function(data){
							if (data.code == 0) {
								setMessageBox(data.message, data.addclass);
							} else {</p>
<p>			$("#disclaimerConfirm").hide();
			$("#commentLogin").hide();
			$("#fbForm_message").hide();
			$("#fbForm_message_count_class").hide();
			$("#commentError_message").hide();
			$("#commentInfo_Fb").hide(); 
			$("#commentsForm_send").hide();
			$("#fbCommentPublishCheckbox").hide();
			$("#commentsForm_send_noFb").hide();</p>
<p>								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p>				/////////////////////////////////////////////////
				function confirm_delete_account() {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=confirm_delete_account&customer_id="+customer_id+"&email="+encodeURIComponent(login_email_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#deleteAccount').html(data.message);
					            $('#deleteAccount').fadeIn(800);
					            $('#commentFormSubContainer').slideUp(1000);
					            $('body,html').stop().animate({
					                'scrollTop': $("#deleteAccount").offset().top-200
					            }, 1000)
					        }
					    }     
				 	});
				}</p>
<p>                /////////////////////////////////////////////////
				function cancel_delete_account() {
					$('#deleteAccount').html('');
					$('#deleteAccount').hide();
					$('#commentFormSubContainer').slideDown(1000);
				}</p>
<p>                /////////////////////////////////////////////////
				function delete_account() {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=delete_account&customer_id="+customer_id+"&email="+encodeURIComponent(login_email_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#deleteAccount').html('');
					            $('#deleteAccount').hide();
					            $('#commentFormSubContainer').slideDown(1000);
					            setMessageBox(data.message, data.addclass);
								delete_cookie('comment_login_details_email');
					        }
					        else if (data.code == 2) {
					            $('#deleteAccount').html('');
					            $('#deleteAccount').hide();
					            $('#commentFormSubContainer').slideDown(1000);
					            setMessageBox(data.message, data.addclass);
					        }
					    }     
				 	});
				}</p>
<p>  			//////////////////////////////////////////////////
  			function commentsForm_update_account_close() {
  			    $("#manageAccount").html('');
  			}</p>
<p> 			///////////////////////////////////////////////////
  			function commentsForm_update_account() {
  				var fbFormN_firstName = $.trim($("#update_firstName").val());
  				var fbFormN_surname = $.trim($("#update_surname").val());
  				var fbFormN_zip = $.trim($("#update_zip").val());
  				var fbFormN_location = $.trim($("#update_location").val());
  				var fbFormN_telephone = $.trim($("#update_telephone").val());
  				var fbFormN_email = $.trim($("#update_email").val());
  				var fbFormN_email_hidden = $.trim($("#update_email_hidden").val());
  				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
  				var login_email_token = $.trim($("#login_email_token").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				if ($("#update_password").length) {
  				    var fbFormN_password = $.trim($("#update_password").val());
  				}
  				if ($("#update_password_confirm").length) {
  				    var fbFormN_password_confirm = $.trim($("#update_password_confirm").val());
  				}</p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; </p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;</p>
<p>				var password_params = '';</p>
<p>				$("#commentErrorUpdate_name").hide(); 	
				$("#commentErrorUpdate_location").hide(); 
				$("#commentErrorUpdate_telephone").hide(); 
				$("#commentErrorUpdate_email").hide(); 
				$("#commentErrorUpdate_password").hide(); 
				$(".disclaimerText").hide();</p>
<p>				if (nameReg == false) {
					$("#commentErrorUpdate_name").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentErrorUpdate_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (telephoneReg == null) {
					$("#commentErrorUpdate_telephone").show();
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){
					$("#commentErrorUpdate_email").show();
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>				if ($("#fbFormN_password").length && $("#fbFormN_password_confirm").length) {
					if (fbFormN_password != fbFormN_password_confirm) {
					    if ((fbFormN_password != 'mot de passe' || fbFormN_password_confirm != 'confirmer le mot de passe') && (fbFormN_password != 'password' || fbFormN_password_confirm != 'confirm password')) {
					        $("#commentErrorUpdate_password").show();
					        hasErrors = true;
					    }
					}
					else {
					    password_params += "&fbFormN_password=" + encodeURIComponent(fbFormN_password);
				        password_params += "&fbFormN_password_confirm=" + encodeURIComponent(fbFormN_password_confirm);
					}
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
	                save_form_to_cookie('comment_form_input');
					jQuery.ajax({ type: "POST",
				          dataType: "json",
				          cache: false,
	                	  url: "/community/talkback_ajax.html",
				          async: true,
				          data: "action=talkback_update_account&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_telephone="+encodeURIComponent(fbFormN_telephone)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbFormN_email_hidden="+encodeURIComponent(fbFormN_email_hidden)+"&customer_id="+fbForm_customerId+password_params+"&token="+login_email_token+"&story_id="+encodeURIComponent(fbForm_storyId),
				          error: function(){ },
				          success: function(data){
				          	if (data.code == 1) {
							    $("#disclaimerConfirm").hide();
				          	    $("#commentLogin").hide();
				          	    $("#fbForm_message").hide();
				          	    $("#fbForm_message_count_class").hide();
				          	    $("#commentErrorUpdate_message").hide();
				          	    $("#commentInfo_Fb").hide(); 
				          	    $("#commentsForm_send").hide();
				          	    $("#fbCommentPublishCheckbox").hide();
							    $("#commentsForm_send_noFb").hide(); 
			          		    $("#commentInfo_noFb").show();
			          		    $("#manageAccount").toggle();
			          		    $("#commentInfo_noFb").text(data.message);
			          		    setMessageBox(data.message, data.addclass);
								delete_cookie('comment_login_details_email');
			          		} else if (data.code == 2){
								$("#commentLogin").show();
								$("#fbForm_message").show();
								$("#fbForm_message_count_class").show();
								$("#commentErrorUpdate_message").hide();
								$("#commentInfo_Fb").hide(); 
								$("#commentsForm_send").hide();
								$("#fbCommentPublishCheckbox").hide();
								$("#commentsForm_send_noFb").hide(); 
								$("#commentInfo_noFb").hide();
								$("#manageAccount").toggle();
								setMessageBox(data.message, data.addclass);
								if (data.user.customer_id == 53){
									auto_login_email(data);
								}
							} else if (data.code == 3){
								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p> 			// Handler to reset the timer on each notification 
 			var timeoutHandle;
 			function setMessageBox(message, boxclass) {
 			    $("#messageBox").hide();
 			    $("#messageBox").html(message);
 			    $("#messageBox").removeClass("warning error success").addClass(boxclass);
 			    $("#messageBox").fadeIn(1500);</p>
<p> 			    clearTimeout(timeoutHandle);</p>
<p> 			    timeoutHandle = setTimeout(function(){
 			        $("#messageBox").fadeOut(2000, function () {
 			      });
 			    }, 12000);
 			}</p>
<p> 			function forgot_password_send() {
				var email = $.trim($('#password_forgot_email').val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				var hasErrors = false;</p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/;</p>
<p>				if(emailRegObj.test(email) == false){      
					$("#commentError_password_forgot_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {</p>
<p>					jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=reset_password&customer_id="+fbForm_customerId+"&email="+encodeURIComponent(email),  
					    error: function(){ },
					    success: function(data){
						        if (data.code = 0) {
						            setMessageBox(data.message, data.addclass);
						        }
						        else if (data.code = 1) {
						            $('#comment_password_reset_form').toggle('slow');
						            $('#comment_login_form').toggle('slow');
						            setMessageBox(data.message, data.addclass);
						        }
					    }     
				 	});</p>
<p>				}
 			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_login_noFb() {
				var fbFormN_email = $.trim($("#fbFormN_email_login").val());
				var fbFormN_password = $.trim($("#fbFormN_password_login").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				var hasErrors = false;</p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/;</p>
<p>				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); </p>
<p>				if(emailRegObj.test(fbFormN_email) == false){      
					$("#commentError_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {</p>
<p>					//$("#commentsForm_send").attr("disabled", "true");
					//$("#commentsForm_send_noFb").attr("disabled", "true");
					//save_form_to_cookie('comment_form_input');</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_login_email&email="+encodeURIComponent(fbFormN_email)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password),
						error: function(){</p>
<p>						},
						success: function(data){
							//$("#commentLogin").hide();
							//$("#fbForm_message").hide();
							//$("#fbForm_message_count_class").hide();
							//$("#commentError_message").hide();
							//$("#commentInfo_Fb").hide(); 
							//$("#commentsForm_send").hide();
							//$("#fbCommentPublishCheckbox").hide();
							//$("#commentsForm_send_noFb").hide(); </p>
<p>							if (data.code == 2) {
								$('.commentFBlogin').hide();
								$('#comment_login_form').hide();
								$("#change_phonenumber").show();
								setMessageBox(data.message, data.addclass);
							} else {
								$("#change_phonenumber").hide();
								//$("#commentInfo_noFb").show();
								//$("#commentLoggedInEmail").text(data.message);
								setMessageBox(data.message, data.addclass);
								$("#commentLoggedInEmail").show();
								if ('user' in data) {
									auto_login_email(data);
								}
							}
						}
					});
				}
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_phone_change() {
				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_email_phone_chnage").hide();
							$("#fbFormN_email_phone_chnage").hide();
							$("#commentError_telephone_change").hide();
							$("#fbFormN_telephone_change").hide();
							$("#commentError_password_phone_chnage").hide();
							$("#fbFormN_password_phone_chnage").hide();
							$("#commentsForm_sms_change_veryfy").hide();</p>
<p>							$("#fbFormN_sms_change_Ver").show();
							$("#commentsForm_sms_send_change_veryfy").show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}</p>
<p>			///////////////////////////////////////////////////</p>
<p>			function comments_modifyForm_phone_change() {</p>
<p>				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_email_phone_chnage").hide();
							$("#fbFormN_email_phone_chnage").hide();
							$("#commentError_telephone_change").hide();
							$("#fbFormN_telephone_change").hide();
							$("#commentError_password_phone_chnage").hide();
							$("#fbFormN_password_phone_chnage").hide();
							$("#commentsForm_sms_change_veryfy").hide();</p>
<p>							$("#fbFormN_sms_change_Ver").show();
							$("#commentsForm_sms_send_change_veryfy").show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_phone_change_sms_verify() {
				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbFormN_sms_change_Ver = $.trim($("#fbFormN_sms_change_Ver").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change_sms_verify&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change)+"&code="+encodeURIComponent(fbFormN_sms_change_Ver),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_sms_change_ver").hide();
							$("#fbFormN_sms_change_Ver").hide();
							$("#commentsForm_sms_send_change_veryfy").hide();
							$("#change_phonenumber").hide();</p>
<p>							$('#comment_login_form').show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}
			///////////////////////////////////////////////////
			function commentsForm_sms_verify() {
				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
				var fbFormN_telephone = $.trim($("#fbFormN_telephone").val());
				var fbFormN_email = $.trim($("#fbFormN_email").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				var fbFormN_smsVer = $.trim($("#fbFormN_smsVer").val());</p>
<p>				var hasErrors = false;</p>
<p>				if (!hasErrors) {</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_sms_verify&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&email="+encodeURIComponent(fbFormN_email)+"&telefone="+encodeURIComponent(fbFormN_telephone)+"&code="+ fbFormN_smsVer +"&customer_id="+fbForm_customerId+"&story_id="+encodeURIComponent(fbForm_storyId),
						error: function(){
						},
						success: function(data){
							if (data.code == 0) {
								setMessageBox(data.message, data.addclass);
							} else {
								$("#commentLogin").hide();
								$("#sms_verify").hide();
								$("#fbFormN_smsVer").hide();
								$("#commentsForm_sms_veryfy").hide();</p>
<p>								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p>			//////////////////////////////////////////
			//swissnoise quiva
			function auto_login_quiva(data) {
				console.log("quiva login start");
				var user = {
					"remoteId": data.uid,
					"username": data.user.email,
					"password": data.pcr,
					"email": data.user.email,
					"firstName": data.user.first_name,
					"lastName": data.user.last_name,
					"zipCode": data.user.post_code,
					"locality": data.user.city,
					"phoneNumber": data.user.mobile_number
				};
				whatif.login(user).always(function() {</p>
<p>				});
				console.log("quiva login done");
			}
			//END swissnoise quiva</p>
<p>  			function auto_login_email(data) {
			    $(".commentFBlogin").hide();
			    $(".commentOhnelogin").hide();
			    var html = '';
			    var name = data.user.first_name +' '+ data.user.last_name;
			    html += '<span class="fbUserWelcome">Bienvenue, <span id="fbUserRealName">'+ name +'</span></span><br />';
			    html += '<a href="" id="commentsForm_send_email" onclick="return false;">Soumettre Commentaire</button>';
			    html += '<a href="" class="emailLogoutButton" onclick="return false;">Déconnecter</a><br />';
			    html += '<a href="" id="emailManageAccount" onclick="return false;">Gérer le profil</a>';
			    html += '<input id="login_email_token" name="login_email_token" value="'+ data.token +'" type="hidden">';
			    html += '<input id="login_email_email" name="login_email_email" value="'+ data.user.email +'" type="hidden">';
			    $("#commentLoggedInEmail").html(html);
			    set_logged_in_cookie(data);
			    $("#commentLoggedInEmail").show();</p>
<p>  			}</p>
<p> 			///////////////////////////////////////////////////
  			function commentsForm_send_noFb() {
  				var fbForm_message = $.trim($("#fbForm_message").val());  
  				fbForm_message = fbForm_message.replace(/&/g, "+");
  				var fbForm_uri = $.trim($("#fbForm_uri").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				var fbForm_ip = $.trim($("#fbForm_ip").val());</p>
<p>  				var is_logged_in = false;
  				if ($("#is_logged_in").length) {
  				    is_logged_in = true;
  				}</p>
<p>  				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
  				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
  				var fbFormN_zip = $.trim($("#fbFormN_zip").val());
  				var fbFormN_location = $.trim($("#fbFormN_location").val());
  				var fbFormN_email = $.trim($("#fbFormN_email").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message 
  				if ($("#fbFormN_password").length) {
  				    var fbFormN_password = $.trim($("#fbFormN_password").val());
  				}
  				if ($("#fbFormN_password_confirm").length) {
  				    var fbFormN_password_confirm = $.trim($("#fbFormN_password_confirm").val());
  				}</p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var messageReg =  fbForm_message.length > 1; 
				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				// dont check for ZIP, cause of foreign countries 
				//var locReg = !(fbFormN_zip.match(/(*)/)) && !(fbFormN_location.match(/(*)/)) && fbFormN_zip.length > 1 && fbFormN_location.length > 1;   
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; 
				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;
				var password_params = '';</p>
<p>				$("#commentError_name").hide();
				$("#commentError_location").hide();
				$("#commentError_email").hide();
				$("#commentError_password").hide();
				$("#commentError_message").hide();
				$("#commentError_disclaimer").hide();
				$(".disclaimerText").hide();</p>
<p>				if (messageReg == false) {
					$("#commentError_message").show();
					hasErrors = true;
				}</p>
<p>				if (nameReg == false) {
					$("#commentError_name").show();
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentError_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){      
					$("#commentError_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;
				}</p>
<p>				if (!($('#disclaimerConfirmBtn').is(':checked'))) {
					$("#commentError_disclaimer").show();
					$(".disclaimerText").show();
					hasErrors = true;
				}</p>
<p>				if (!hasErrors) {</p>
<p>					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					save_form_to_cookie('comment_form_input');</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "html",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=sendComment&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID,
						error: function(){ },
						success: function(){
							$("#commentLogin").hide();
							$("#fbForm_message").hide();
							$("#fbForm_message_count_class").hide();
							$("#commentError_message").hide();
							$("#commentInfo_Fb").hide();
							$("#commentsForm_send").hide();
							$("#fbCommentPublishCheckbox").hide();
							$("#commentsForm_send_noFb").hide();
							$("#disclaimerConfirm").hide();
							$("#commentInfo_noFb").show();
						}
					});
				}
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_send_email() {
				var fbForm_message = $.trim($("#fbForm_message").val());  
				fbForm_message = fbForm_message.replace(/&/g, "+");
				var fbForm_uri = $.trim($("#fbForm_uri").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_ip = $.trim($("#fbForm_ip").val());
				var login_email_token = $.trim($("#login_email_token").val());</p>
<p>  				var is_logged_in = false;
  				if ($("#is_logged_in").length) {
  				    is_logged_in = true;
  				}</p>
<p>  				var fbFormN_email = $.trim($("#login_email_email").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message </p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var messageReg =  fbForm_message.length > 1; </p>
<p>				$("#commentError_name").hide(); 	
				$("#commentError_location").hide(); 
				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); 
				$("#commentError_message").hide(); 	
				$("#commentError_disclaimer").hide(); 	
				$(".disclaimerText").hide();</p>
<p>				if (messageReg == false) {
					$("#commentError_message").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>			    if (!($('#disclaimerConfirmBtn').is(':checked'))) {
					$("#commentError_disclaimer").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					commentNotSent = false;</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=send_comment_email&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&customer_id="+fbForm_customerId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID+"&email="+encodeURIComponent(fbFormN_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
						          	if (data.code == 1) {
						          	    $("#commentLogin").hide();
						          	    $("#fbForm_message").hide();
						          	    $("#fbForm_message_count_class").hide();      	
						          	    $("#commentError_message").hide();
									    $("#commentError_name").hide(); 	 	
									    $("#commentError_location").hide(); 	
									    $("#commentError_email").hide();	
									    $("#commentError_disclaimer").hide(); 	
									    $(".disclaimerText").hide();
									    $("#commentInfo_noFb").hide(); 
    									$("#commentsForm_send").hide(); 
									    $("#fbCommentPublishCheckbox").hide();
									    $("#disclaimerConfirm").hide();
									    $("#commentsForm_send_noFb").hide();	
						          	    $("#commentInfo_noFb").show();  
						          	    $("#commentSendLoading").hide();
						          	    $("#commentInfo_Notice").hide();
						          	    $("#manageAccount").hide();
						          	}
						          	else if (data.code == 2) {
						          	    setMessageBox(data.message, data.addclass);
						          	}
					    }     
				 	});		
				}		
  			}  			</p>
<p>			///////////////////////////////////////////////////
			///////////////////////////////////////////////////
  			// some jquery UI functions
			function fbLoginDisplay(loginState) {
				$(document).ready(function(){
					if (loginState == true) {
						$(".notloggedToFacebook").hide();
						$(".loggedToFacebook").show();
						$('#commentsForm_send_noFb').hide();
						$('#commentsForm_send').show();
						$("#fbCommentPublishCheckbox").show();
						$(".recommendCommentFacebook").show();
					}
	else {
						$(".loggedToFacebook").hide(); 
						$(".notloggedToFacebook").show(); 
						$('#commentsForm_send').hide();
						$('#commentsForm_send_noFb').show();
						$("#fbCommentPublishCheckbox").hide();
						$(".recommendCommentFacebook").hide();
						if ($("#commentLoggedInEmail").length) {
							$("#commentLoggedInEmail").show();
						}
				}});
  			}</p>
<p>  			///////////////////////////////////////////////////
  			function fbDomInsert(username, uid, token) {  
						$(document).ready(function(){  
		           $("#fbUserRealName").html(username); 
		           var imgHtml= "<img src='https://graph.facebook.com/me/picture?access_token="+token+"'/>";
		           $("#fbUserProfilePicture").html(imgHtml);</p>
<p>		           $("#fbForm_realName").val(username); 
		           $("#fbForm_userId").val(uid);
		           $("#fbForm_userToken").val(token);
	        	});
				}
				///////////////////////////////////////////////////
				function loginDrop() {
					$(document).ready(function(){
						$('#commentLogin').slideDown();
						$("textarea#fbForm_message").attr("rows", 6);
						$("#commentsForm_send").removeAttr("disabled");
						$("#commentsForm_send_noFb").attr("disabled", "");
						$("#commentsForm_send_email").removeAttr("disabled");
						$("#fbForm_message").val("");
						$('#fbForm_message').removeAttr("onclick");
					});
				}
		///////////////////////////////////////////////////
		function doOnFbConnect() {
			$(".recommendCommentFacebook").show(); // for comments below: display checkbox to choose if recommended comments get published on facebook
		}</p>
<p>		///////////////////////////////////////////////////
		function log(msg){
			if (typeof console === 'undefined') {
				return false;
			} else {
				return true;
			}
		}</p>
<p>		/////////////////////////////////////////////////////////////////////////////////	
        /////////////////////////////////////////////////////////////////////////////////  
        /////////////////////////////////////////////////////////////////////////////////
        // main </p>
<p>        // fb auth 
        var fbAccessToken = ''; 
        var fbUserID = ''; 
        var fbUserName = '';  
        FBcomments.initFb(); 
        var nnFBloggedIn = check_nnCookie();  
   			if (nnFBloggedIn == true) {
   				fbLoginDisplay(true); </p>
<p>   			}
   			else {
   				fbLoginDisplay(false); 
   			}</p>
<p>function inputFocus(thisFor, thisClass) {
    $('#'+ thisFor).focus(function() {
        $('.'+ thisClass).animate({ opacity: "0" }, "fast");
    }).blur(function() {
        if($(this).val() == "") {
            $('.'+ thisClass).animate({ opacity: "1" }, "fast");
        }
    });
}</p>
<p>			//// some more jquery stuff
   			$(document).ready(function(){
				read_logged_in_cookie();</p>
<p>				// hide 'populär auf facebook' widget in sideline
				//$("#fb_activityFeed").hide(); </p>
<p>				$("#fbCommentPublishCheckbox").hide();</p>
<p>$('#fbFormN_password_login').keypress(function(e){
    if (e.which == 13){
        e.preventDefault();
        $(this).blur();
        $('#commentsForm_post_confirmed').focus().click();
        return false;
    }
});</p>
<p>$('#fbFormN_smsVer').keypress(function(e){
    if (e.which == 13){
        e.preventDefault();
        $(this).blur();
        $('#commentsForm_sms_veryfy').focus().click();
        return false;
    }
});</p>
<p>// Bind to set the fadeout of form labels when clicked or focused
$('.sbsLabel label').each(function () {
    var thisFor = $(this).attr('for');
    var thisClass = $(this).attr('class');
    inputFocus(thisFor, thisClass);
});</p>
<p>   				// some form display handling 
					$('#disclaimerButtonShow').bind('click', function(){
						$('.disclaimerText').show();
						$('#disclaimerButtonShow').css('display','none');
						$('#disclaimerButtonHide').css('display','inline');
					});
					$('#disclaimerButtonHide').bind('click', function(){
						$('.disclaimerText').hide();
						$('#disclaimerButtonHide').css('display','none');
						$('#disclaimerButtonShow').css('display','inline');
					});</p>
<p>				// display login data on start 
				if ($("#fbUserRealName").html()) {
					if ($("#fbUserRealName").html().length >= 2){ // && $("textarea#fbForm_message").attr("rows") > 2
						$("#fbCommentPublishCheckbox").show();
					}
				}</p>
<p>				// clear textarea 
				$("#fbForm_message").val(''); </p>
<p>				// submit buttons , disable on on reload 
				$("#commentsForm_send").attr("disabled", "true");
				$("#commentsForm_send_noFb").attr("disabled", "true");</p>
<p>				// set checkboxes
				$('#fbForm_publishOnFB').attr('checked', true); 
				$('.recommendCommentPublishOnFb').attr('checked', true); 
				$('#disclaimerConfirmBtn').attr('checked', false);</p>
<p>				// fixes a tiny bug: if values are prefilled on reload they should not be grey 
				var myFbFormIds = ('fbFormN_firstName', 'fbFormN_surname', 'fbFormN_zip', 'fbFormN_location', 'fbFormN_email', 'fbFormN_password', 'fbFormN_password_confirm');
				for (var ii=0;ii < myFbFormIds.length; ii++) {
				  if ($("#"+myFbFormIds(ii)).length) {
					if (!($("#"+myFbFormIds(ii)).val().match(/(*)/))) {
						$("#"+myFbFormIds(ii)).css('color','#000000'); 
					};
				  }
				}

				$('.comment_signup_form_toggle').live('click', function(){
					$('#comment_signup_form').toggle('slow');
					$('#comment_login_form').toggle('slow');
					return false;
				});

				$('.comment_form_forgot_password').live('click', function(){
				    $('#comment_password_reset_form').toggle('slow');
				    $('#comment_login_form').toggle('slow');
				    return false;
				});

				$('.emailLogoutButton').live('click', function() {
					delete_cookie('comment_login_details_email');
					$("#commentLoggedInEmail").html('');
					$("#manageAccount").html('');
					$("#commentLoggedInEmail").hide();
					$(".commentFBlogin").show();
					$(".commentOhnelogin").show();
				});

				$('#show_update_phone').live('click', function() {
					$("#commentLoggedInEmail").html('');
					$("#manageAccount").html('');
					$("#commentLoggedInEmail").hide();
					$("#comment_login_form").hide();

					$("#change_phonenumber").show();
					$(".commentOhnelogin").show();
				});

				$('#commentsForm_send_email').live('click', function() {
				    if (commentNotSent) {
				        commentsForm_send_email();
				    }
				});

				$('#emailManageAccount').live('click', function () {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());

				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=login_manage_account&#038;customer_id="+customer_id+"&#038;email="+encodeURIComponent(login_email_email)+"&#038;token="+login_email_token,
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#manageAccount').html(data.message);
					            $('#manageAccount').show();
					        }
					    }     
				 	});
				});

				});
        </script><br /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions</title>
		<link>https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-67/</link>
		
		<dc:creator><![CDATA[Conseil-Chauffage]]></dc:creator>
		<pubDate>Tue, 17 Mar 2020 20:44:16 +0000</pubDate>
				<category><![CDATA[Chauffage au Bois]]></category>
		<category><![CDATA[avec]]></category>
		<category><![CDATA[bois]]></category>
		<category><![CDATA[fines]]></category>
		<category><![CDATA[finir]]></category>
		<category><![CDATA[les]]></category>
		<category><![CDATA[Linvité]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[pour]]></category>
		<category><![CDATA[poussières]]></category>
		<category><![CDATA[Réflexions]]></category>
		<category><![CDATA[Signatures]]></category>
		<guid isPermaLink="false">https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-67/</guid>

					<description><![CDATA[L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions Le CO2 neutre, deuxième source d&#39;énergie renouvelable en Suisse après l&#39;énergie hydraulique, le chauffage au bois ou le bois énergie, participe activement à la politique climatique. Soutenu par la Confédération et les cantons, il ne cesse de croître et représente désormais plus de 10% de la chaleur consommée en Suisse. Compte tenu des futures économies d&#39;énergie des bâtiments et de la gestion durable ... <p class="read-more-container"><a title="L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions" class="read-more button" href="https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-67/#more-1860" aria-label="Plus sur L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions">Lire l'Article</a></p>]]></description>
										<content:encoded><![CDATA[<h1>L&rsquo;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions</h1>
<p></p>
<div id="mainContent">
<p>	Le CO2 neutre, deuxième source d&#39;énergie renouvelable en Suisse après l&#39;énergie hydraulique, le chauffage au bois ou le bois énergie, participe activement à la politique climatique. Soutenu par la Confédération et les cantons, il ne cesse de croître et représente désormais plus de 10% de la chaleur consommée en Suisse.</p>
<p>Compte tenu des futures économies d&#39;énergie des bâtiments et de la gestion durable de nos forêts, son potentiel est estimé pour le canton de Vaud à 30% de la chaleur consommée.</p>
<p>Mais des voix s&#39;élèvent régulièrement pour alerter sur les émissions polluantes de poussières fines du bois. Comment est-ce vraiment?</p>
<p>La Commission fédérale de l&#39;hygiène de l&#39;air a très bien résumé le problème dans son rapport &quot;Les poussières fines en Suisse 2013&quot;. Elle explique les très grandes différences existant selon le type de chauffage (ancien ou moderne, automatique ou manuel) et le type de bois de chauffage (bûches, granulés, copeaux de bois). Grâce à l&#39;amélioration des conditions de combustion, il met en évidence la diminution très importante de la quantité de poussières fines émises, mais, en plus et surtout, leurs changements de composition chimique et donc de nocivité.</p>
<p>Une combustion optimale ou complète signifie l&#39;absence totale ou presque complète de produits imbrûlés, principalement de la suie et du goudron, composés toxiques classés cancérigènes par l&#39;OMS. Les petites quantités de poussières fines résultant de la combustion complète du bois sont composées de sels minéraux peu ou peu toxiques pour la santé.</p>
<p>Concrètement, la Commission fédérale met en évidence une réduction du poids des poussières fines jusqu&#39;à un facteur 100 avec les usines de granulés modernes par rapport aux anciennes usines de grumes. Si l&#39;on tient toujours compte de l&#39;évolution de la composition chimique des poussières, le gain en termes de protection de la santé atteint un facteur de 1000, voire beaucoup plus. Une véritable révolution silencieuse a eu lieu!</p>
<p>Il convient donc d&#39;encourager l&#39;utilisation des installations de chauffage modernes, de les faire fonctionner correctement et de les entretenir en appliquant les règles pertinentes. C&#39;est l&#39;assurance d&#39;une combustion complète et propre du bois.</p>
<p>Pour un usage domestique, c&#39;est notamment le cas des poêles et chaudières à granulés automatiques, choisissez un combustible très sec assurant une combustion complète. Les granulés sont également idéaux pour les bâtiments ou pour un groupe de bâtiments.</p>
<p>Pour le chauffage central des villages ou des quartiers d&#39;habitation, les chaudières à copeaux de bois sont privilégiées et équipées de filtres performants pour respecter les très strictes limites d&#39;émission fixées par la Confédération (OPair). </p>
<p class="publishedDate">Créé: 02.03.2020, 06:49</p>
</p></div>
<p><script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)(0);
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "http://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.3";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script><script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)(0);
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "http://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.3";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script><script language="javascript"></p>
<p>		var commentNotSent = true;
		///////////////////////////////////////////////////
		// object FBcomments, can be reused for FB authentification
        var FBcomments = {
        		fbAppId : '251285271592561',
                version: 'v2.0',
        		fbChannel_path : '/facebook_xd_receiver.html', 
        		isLoggedIn : false, </p>
<p>            ///////////////////////////////////////////////////
        		initFb : function() {	
	        		window.fbAsyncInit = function() {
                    FB.init({appId: FBcomments.fbAppId, version: FBcomments.version});
	                if (typeof FB === 'undefined') {
        		 				alert($("#tr_fbConnectError").html()); 
        		 			} 
	            };</p>
<p>                (function(d, s, id) {
                    var js, fjs = d.getElementsByTagName(s)(0);
                    if (d.getElementById(id)) return;
                    js = d.createElement(s); js.id = id;
                    js.src = "http://connect.facebook.net/fr_FR/sdk.js";
                    fjs.parentNode.insertBefore(js, fjs);
                }(document, 'script', 'facebook-jssdk'));
          	},
          	///////////////////////////////////////////////////
          	fbLogin : function() { 
          	 var populateFbData_ = this.populateFbData;
          	 var fbDisplay_ = this.fbDisplay;	
          	 var promptFanBox_ = this.promptFanBox;</p>
<p>        		 FB.init({appId: FBcomments.fbAppId, version: FBcomments.version}); 
        		 if (typeof FB === 'undefined') {
        		 	alert($("#tr_fbConnectError").html()); 
        		 } 	
							  	FB.login(function(response) {
									  if (response.authResponse) {
									     // granted some permissions 
									     this.isLoggedIn = true; 
									  	 populateFbData_(response.authResponse.accessToken, response.authResponse.userID);
									  	 fbDisplay_(); 
									  	 promptFanBox_(response.authResponse.userID);
									  } 
									  else { 
									    // user is not logged
									    this.isLoggedIn = false;
									  	fbDisplay_();  
									  }
									}, {scope:'publish_actions'});
				},
				///////////////////////////////////////////////////
				fbLogout : function() {  
					var fbDisplay_ = this.fbDisplay;
					$.cookie('fbsNN', '', { path: '/', expires: -1 });
					isLoggedIn = false;
					fbDisplay_();
        		},</p>
<p>				///////////////////////////////////////////////////
				populateFbData : function(accessToken, userID) {
					fbAccessToken = accessToken;
					fbUserID = userID;
					FB.api(
					'/me',
					{
						fields: 'name'
					},
					function(response) {
						var fbUserName = '';
						if (response){
							if (response.name){
								fbUserName = response.name;
							}
						}
						// store a fb-independent cookie for future login 
						$.cookie('fbsNN', "access_token="+escape(fbAccessToken)+""+"&uid="+fbUserID+"&realname="+escape(fbUserName), { path: '/', expires: 30 }); 
						fbDomInsert(fbUserName, fbUserID, fbAccessToken);
					}
					);
				},</p>
<p>				///////////////////////////////////////////////////
				promptFanBox : function(userId) {
  				 	FB.api({
					    method: 'fql.query',        
					    query: 'SELECT uid FROM page_fan WHERE uid='+userId+' AND page_id='+10150100771335484 
						},
							function(response) {
								if (typeof response(0) === 'undefined') {
									// user has not liked the page 
									$(document).ready(function(){  
										var txt = $("#tr_fanBoxPromptTitle").html(); 
										tb_show(txt,'/facebook_iframe.html?&height=250&width=645');
									});
								}	
							}
						 );
  				 },
  				 ///////////////////////////////////////////////////
  				 fbDisplay : function() {    
  				 		fbLoginDisplay(this.isLoggedIn );  
  				 		loginDrop();
  				 }
  				 ///////////////////////////////////////////////////
        } // end object</p>
<p>				///////////////////////////////////////////////////
				// cookie based user registration, maybe replaced by user DB in future
  			function fetch_nnCookie() { 
  				 		var nnRegex = /access_token=((^&)+)&uid=((0-9)+)&realname=(.+)/; 
							nnRegex.exec($.cookie('fbsNN')); 		 
							fbAccessToken = unescape(RegExp.$1);      
							fbUserID = RegExp.$2;
							fbUserName = unescape(RegExp.$3);	  
  			}
				///////////////////////////////////////////////////
  			function check_nnCookie() {	          
  				 	if( $.cookie('fbsNN') == null) {   	 
  				 		return false; 
  				 	}
  				 	else { 
							fetch_nnCookie();   
  				 		// check for valid data, delete cookie otherwise 
  				 		if (fbAccessToken != null && fbAccessToken.length > 0 && fbUserID != null && fbUserID.length > 0  && fbUserName != null && fbUserName.length > 0 && fbUserName != 'undefined') {
  				 			fbDomInsert(fbUserName, fbUserID, fbAccessToken); 
  				 			return true;   
  				 		}
  				 		else {
  				 			$.cookie('fbsNN', '', { expires: -1 }); 
  				 			return false;  
  				 		}
  				 	}
  			}</p>
<p>  			///////////////////////////////////////////////////
  			// form handler 
  			function commentsForm_send () {
  				var fbForm_message = $.trim($("#fbForm_message").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message 
  				var fbForm_uri = $.trim($("#fbForm_uri").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				var fbForm_ip = $.trim($("#fbForm_ip").val());			
  				var fbForm_realName = $.trim($("#fbForm_realName").val());
  				var fbForm_userId = $.trim($("#fbForm_userId").val());
  				var fbForm_userToken = $("#fbForm_userToken").val(); 
  				var fbForm_publishOnFB = $("#fbForm_publishOnFB:checked").val();
  				if (typeof fbForm_publishOnFB === 'undefined') {
  					fbForm_publishOnFB = 0; 
  				}
					var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());	
					var hasErrors = false; 
					var messageReg =  fbForm_message.length > 1; </p>
<p>					if (messageReg == false) {
						$("#commentError_message").show(); 	
						hasErrors = true; 
					}
					if (fbFormN_gotcha.length > 1) {
						hasErrors = true; 
					} </p>
<p>          if (!($('#disclaimerConfirmBtn').is(':checked'))) {
						$("#commentError_disclaimer").show();
						hasErrors = true; 
					}
  				if (!hasErrors) {
						$("#commentsForm_send").attr("disabled", "true");
						$("#commentsForm_send_noFb").attr("disabled", "true");</p>
<p>						$("#commentSendLoading").show(); 
						$.ajax({ type: "POST",
							dataType: "text",
							cache: false,
							url: "/community/talkback_ajax.html",
							async: true,
							data: "action=sendComment&fbForm_realName="+encodeURIComponent(fbForm_realName)+"&fbForm_userId="+fbForm_userId+"&fbForm_userToken="+encodeURIComponent(fbForm_userToken)+"&fbForm_publishOnFB="+fbForm_publishOnFB+"&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID,
							error: function(){
								alert($("#tr_commentSendError").html()); 
							},
							complete: function(reqCode){
								$("#commentLogin").hide();
								$("#fbForm_message").hide();
								$("#fbForm_message_count_class").hide();      	
								$("#commentError_message").hide();
									$("#commentError_name").hide();
									$("#commentError_location").hide();
									$("#commentError_email").hide();
									$("#commentError_disclaimer").hide();
									$(".disclaimerText").hide();
									$("#commentInfo_noFb").hide();
									$("#commentsForm_send").hide();
									$("#fbCommentPublishCheckbox").hide();
									$("#commentsForm_send_noFb").hide();
								$("#commentInfo_Fb").show();
								$("#commentSendLoading").hide();
							}
						});
					} // hasErrors
				}</p>
<p> 			//////////////////////////////////////////////////
 			function delete_cookie(cookie) {
				$.cookie(cookie, null, {path: '/'});
 			}</p>
<p>			//////////////////////////////////////////////////
			function save_form_to_cookie(class_name) {
				var form = new Array();
				$("."+ class_name).each(function(index) {
					form(index) = {};
					form(index)('id') = $(this).attr("id");
					form(index)('val') = $(this).val();
				});
				$.cookie(class_name, JSON.stringify(form), {json:true});
			}</p>
<p> 			//////////////////////////////////////////////////
 			function save_object_to_cookie(data) {
 			    var form = new Array();
 			    form(0)('id') = 'fbFormN_firstName';
 			    form(0)('val') = '';
 			    form(1)('id') = 'fbFormN_surname';
 			    form(1)('val') = '';
 			    form(2)('id') = 'fbFormN_zip';
 			    form(2)('val') = '';
 			    form(3)('id') = 'fbFormN_location';
 			    form(3)('val') = '';
 			    form(4)('id') = 'fbFormN_email';
 			    form(4)('val') = '';
 			    $("."+ class_name).each(function(index) {
 			        form(index) = {};
 			        form(index)('id') = $(this).attr("id");
 			        form(index)('val') = $(this).val();
 			    });
 			    $.cookie(class_name, JSON.stringify(form), {json:true});
 			}</p>
<p>			//////////////////////////////////////////////////
			function set_logged_in_cookie(data) {
			    $.cookie('comment_login_details_email', JSON.stringify(data), {json:true,expires:14,path: '/'});
			}</p>
<p>			//////////////////////////////////////////////////
			function read_logged_in_cookie() {
				var cookie_form_data_json = $.cookie('comment_login_details_email');
				if (cookie_form_data_json != null) {
					var form_data = JSON.parse(cookie_form_data_json);
					if (typeof form_data != 'undefined') {
						if (form_data.user.customer_id == 53){
							if (typeof form_data.pcr != 'undefined' && form_data.pcr != null && form_data.pcr.length > 0){
								if (typeof form_data.uid != 'undefined' && form_data.uid != null && form_data.uid != 0){
									auto_login_email(form_data);
									return;
								}
							}
						} else {
							auto_login_email(form_data);
						}
					}
				}</p>
<p>			}</p>
<p> 			//////////////////////////////////////////////////
 			function read_form_from_cookie(class_name) {
 			    var cookie_form_data_json = $.cookie(class_name);
 			    var form_data = JSON.parse(cookie_form_data_json);
 			    $.each(form_data, function(index, value) {
 			        $("#"+ value.id).val(value.val);
 			    });
 			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_create_account() {
				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
				var fbFormN_zip = $.trim($("#fbFormN_zip").val());
				var fbFormN_location = $.trim($("#fbFormN_location").val());
				var fbFormN_telephone = $.trim($("#fbFormN_telephone").val());
				var fbFormN_email = $.trim($("#fbFormN_email").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				if ($("#fbFormN_password").length) {
				    var fbFormN_password = $.trim($("#fbFormN_password").val());
				}
				if ($("#fbFormN_password_confirm").length) {
				    var fbFormN_password_confirm = $.trim($("#fbFormN_password_confirm").val());
				}</p>
<p>				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; 
if (fbFormN_telephone.length > 1) {</p>
<p>			var telephoneReg = (fbFormN_telephone.match(/^(ds)*$/));</p>
<p>}
				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;</p>
<p>				var password_params = '';</p>
<p>				$("#commentError_name").hide(); 	
				$("#commentError_location").hide(); 
				$("#commentError_telephone").hide(); 
				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); 
				$(".disclaimerText").hide();</p>
<p>				if (nameReg == false) {
					$("#commentError_name").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentError_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (telephoneReg == null) {
					$("#commentError_telephone").show();
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){
					$("#commentError_email").show();
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>				if ($("#fbFormN_password").length && $("#fbFormN_password_confirm").length) {
					if (fbFormN_password != fbFormN_password_confirm) {
					    $("#commentError_password").show();
					    hasErrors = true;
					}
					else {
					    password_params += "&fbFormN_password=" + encodeURIComponent(fbFormN_password);
				        password_params += "&fbFormN_password_confirm=" + encodeURIComponent(fbFormN_password_confirm);
					}
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					save_form_to_cookie('comment_form_input');
					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_create_account&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_telephone="+encodeURIComponent(fbFormN_telephone)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&customer_id="+fbForm_customerId+"&story_id="+encodeURIComponent(fbForm_storyId)+password_params,
						error: function(){ },
						success: function(data){
							if (data.code == 0) {
								setMessageBox(data.message, data.addclass);
							} else {</p>
<p>			$("#disclaimerConfirm").hide();
			$("#commentLogin").hide();
			$("#fbForm_message").hide();
			$("#fbForm_message_count_class").hide();
			$("#commentError_message").hide();
			$("#commentInfo_Fb").hide(); 
			$("#commentsForm_send").hide();
			$("#fbCommentPublishCheckbox").hide();
			$("#commentsForm_send_noFb").hide();</p>
<p>								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p>				/////////////////////////////////////////////////
				function confirm_delete_account() {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=confirm_delete_account&customer_id="+customer_id+"&email="+encodeURIComponent(login_email_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#deleteAccount').html(data.message);
					            $('#deleteAccount').fadeIn(800);
					            $('#commentFormSubContainer').slideUp(1000);
					            $('body,html').stop().animate({
					                'scrollTop': $("#deleteAccount").offset().top-200
					            }, 1000)
					        }
					    }     
				 	});
				}</p>
<p>                /////////////////////////////////////////////////
				function cancel_delete_account() {
					$('#deleteAccount').html('');
					$('#deleteAccount').hide();
					$('#commentFormSubContainer').slideDown(1000);
				}</p>
<p>                /////////////////////////////////////////////////
				function delete_account() {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=delete_account&customer_id="+customer_id+"&email="+encodeURIComponent(login_email_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#deleteAccount').html('');
					            $('#deleteAccount').hide();
					            $('#commentFormSubContainer').slideDown(1000);
					            setMessageBox(data.message, data.addclass);
								delete_cookie('comment_login_details_email');
					        }
					        else if (data.code == 2) {
					            $('#deleteAccount').html('');
					            $('#deleteAccount').hide();
					            $('#commentFormSubContainer').slideDown(1000);
					            setMessageBox(data.message, data.addclass);
					        }
					    }     
				 	});
				}</p>
<p>  			//////////////////////////////////////////////////
  			function commentsForm_update_account_close() {
  			    $("#manageAccount").html('');
  			}</p>
<p> 			///////////////////////////////////////////////////
  			function commentsForm_update_account() {
  				var fbFormN_firstName = $.trim($("#update_firstName").val());
  				var fbFormN_surname = $.trim($("#update_surname").val());
  				var fbFormN_zip = $.trim($("#update_zip").val());
  				var fbFormN_location = $.trim($("#update_location").val());
  				var fbFormN_telephone = $.trim($("#update_telephone").val());
  				var fbFormN_email = $.trim($("#update_email").val());
  				var fbFormN_email_hidden = $.trim($("#update_email_hidden").val());
  				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
  				var login_email_token = $.trim($("#login_email_token").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				if ($("#update_password").length) {
  				    var fbFormN_password = $.trim($("#update_password").val());
  				}
  				if ($("#update_password_confirm").length) {
  				    var fbFormN_password_confirm = $.trim($("#update_password_confirm").val());
  				}</p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; </p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;</p>
<p>				var password_params = '';</p>
<p>				$("#commentErrorUpdate_name").hide(); 	
				$("#commentErrorUpdate_location").hide(); 
				$("#commentErrorUpdate_telephone").hide(); 
				$("#commentErrorUpdate_email").hide(); 
				$("#commentErrorUpdate_password").hide(); 
				$(".disclaimerText").hide();</p>
<p>				if (nameReg == false) {
					$("#commentErrorUpdate_name").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentErrorUpdate_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (telephoneReg == null) {
					$("#commentErrorUpdate_telephone").show();
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){
					$("#commentErrorUpdate_email").show();
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>				if ($("#fbFormN_password").length && $("#fbFormN_password_confirm").length) {
					if (fbFormN_password != fbFormN_password_confirm) {
					    if ((fbFormN_password != 'mot de passe' || fbFormN_password_confirm != 'confirmer le mot de passe') && (fbFormN_password != 'password' || fbFormN_password_confirm != 'confirm password')) {
					        $("#commentErrorUpdate_password").show();
					        hasErrors = true;
					    }
					}
					else {
					    password_params += "&fbFormN_password=" + encodeURIComponent(fbFormN_password);
				        password_params += "&fbFormN_password_confirm=" + encodeURIComponent(fbFormN_password_confirm);
					}
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
	                save_form_to_cookie('comment_form_input');
					jQuery.ajax({ type: "POST",
				          dataType: "json",
				          cache: false,
	                	  url: "/community/talkback_ajax.html",
				          async: true,
				          data: "action=talkback_update_account&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_telephone="+encodeURIComponent(fbFormN_telephone)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbFormN_email_hidden="+encodeURIComponent(fbFormN_email_hidden)+"&customer_id="+fbForm_customerId+password_params+"&token="+login_email_token+"&story_id="+encodeURIComponent(fbForm_storyId),
				          error: function(){ },
				          success: function(data){
				          	if (data.code == 1) {
							    $("#disclaimerConfirm").hide();
				          	    $("#commentLogin").hide();
				          	    $("#fbForm_message").hide();
				          	    $("#fbForm_message_count_class").hide();
				          	    $("#commentErrorUpdate_message").hide();
				          	    $("#commentInfo_Fb").hide(); 
				          	    $("#commentsForm_send").hide();
				          	    $("#fbCommentPublishCheckbox").hide();
							    $("#commentsForm_send_noFb").hide(); 
			          		    $("#commentInfo_noFb").show();
			          		    $("#manageAccount").toggle();
			          		    $("#commentInfo_noFb").text(data.message);
			          		    setMessageBox(data.message, data.addclass);
								delete_cookie('comment_login_details_email');
			          		} else if (data.code == 2){
								$("#commentLogin").show();
								$("#fbForm_message").show();
								$("#fbForm_message_count_class").show();
								$("#commentErrorUpdate_message").hide();
								$("#commentInfo_Fb").hide(); 
								$("#commentsForm_send").hide();
								$("#fbCommentPublishCheckbox").hide();
								$("#commentsForm_send_noFb").hide(); 
								$("#commentInfo_noFb").hide();
								$("#manageAccount").toggle();
								setMessageBox(data.message, data.addclass);
								if (data.user.customer_id == 53){
									auto_login_email(data);
								}
							} else if (data.code == 3){
								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p> 			// Handler to reset the timer on each notification 
 			var timeoutHandle;
 			function setMessageBox(message, boxclass) {
 			    $("#messageBox").hide();
 			    $("#messageBox").html(message);
 			    $("#messageBox").removeClass("warning error success").addClass(boxclass);
 			    $("#messageBox").fadeIn(1500);</p>
<p> 			    clearTimeout(timeoutHandle);</p>
<p> 			    timeoutHandle = setTimeout(function(){
 			        $("#messageBox").fadeOut(2000, function () {
 			      });
 			    }, 12000);
 			}</p>
<p> 			function forgot_password_send() {
				var email = $.trim($('#password_forgot_email').val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				var hasErrors = false;</p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/;</p>
<p>				if(emailRegObj.test(email) == false){      
					$("#commentError_password_forgot_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {</p>
<p>					jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=reset_password&customer_id="+fbForm_customerId+"&email="+encodeURIComponent(email),  
					    error: function(){ },
					    success: function(data){
						        if (data.code = 0) {
						            setMessageBox(data.message, data.addclass);
						        }
						        else if (data.code = 1) {
						            $('#comment_password_reset_form').toggle('slow');
						            $('#comment_login_form').toggle('slow');
						            setMessageBox(data.message, data.addclass);
						        }
					    }     
				 	});</p>
<p>				}
 			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_login_noFb() {
				var fbFormN_email = $.trim($("#fbFormN_email_login").val());
				var fbFormN_password = $.trim($("#fbFormN_password_login").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				var hasErrors = false;</p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/;</p>
<p>				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); </p>
<p>				if(emailRegObj.test(fbFormN_email) == false){      
					$("#commentError_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {</p>
<p>					//$("#commentsForm_send").attr("disabled", "true");
					//$("#commentsForm_send_noFb").attr("disabled", "true");
					//save_form_to_cookie('comment_form_input');</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_login_email&email="+encodeURIComponent(fbFormN_email)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password),
						error: function(){</p>
<p>						},
						success: function(data){
							//$("#commentLogin").hide();
							//$("#fbForm_message").hide();
							//$("#fbForm_message_count_class").hide();
							//$("#commentError_message").hide();
							//$("#commentInfo_Fb").hide(); 
							//$("#commentsForm_send").hide();
							//$("#fbCommentPublishCheckbox").hide();
							//$("#commentsForm_send_noFb").hide(); </p>
<p>							if (data.code == 2) {
								$('.commentFBlogin').hide();
								$('#comment_login_form').hide();
								$("#change_phonenumber").show();
								setMessageBox(data.message, data.addclass);
							} else {
								$("#change_phonenumber").hide();
								//$("#commentInfo_noFb").show();
								//$("#commentLoggedInEmail").text(data.message);
								setMessageBox(data.message, data.addclass);
								$("#commentLoggedInEmail").show();
								if ('user' in data) {
									auto_login_email(data);
								}
							}
						}
					});
				}
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_phone_change() {
				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_email_phone_chnage").hide();
							$("#fbFormN_email_phone_chnage").hide();
							$("#commentError_telephone_change").hide();
							$("#fbFormN_telephone_change").hide();
							$("#commentError_password_phone_chnage").hide();
							$("#fbFormN_password_phone_chnage").hide();
							$("#commentsForm_sms_change_veryfy").hide();</p>
<p>							$("#fbFormN_sms_change_Ver").show();
							$("#commentsForm_sms_send_change_veryfy").show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}</p>
<p>			///////////////////////////////////////////////////</p>
<p>			function comments_modifyForm_phone_change() {</p>
<p>				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_email_phone_chnage").hide();
							$("#fbFormN_email_phone_chnage").hide();
							$("#commentError_telephone_change").hide();
							$("#fbFormN_telephone_change").hide();
							$("#commentError_password_phone_chnage").hide();
							$("#fbFormN_password_phone_chnage").hide();
							$("#commentsForm_sms_change_veryfy").hide();</p>
<p>							$("#fbFormN_sms_change_Ver").show();
							$("#commentsForm_sms_send_change_veryfy").show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_phone_change_sms_verify() {
				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbFormN_sms_change_Ver = $.trim($("#fbFormN_sms_change_Ver").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change_sms_verify&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change)+"&code="+encodeURIComponent(fbFormN_sms_change_Ver),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_sms_change_ver").hide();
							$("#fbFormN_sms_change_Ver").hide();
							$("#commentsForm_sms_send_change_veryfy").hide();
							$("#change_phonenumber").hide();</p>
<p>							$('#comment_login_form').show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}
			///////////////////////////////////////////////////
			function commentsForm_sms_verify() {
				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
				var fbFormN_telephone = $.trim($("#fbFormN_telephone").val());
				var fbFormN_email = $.trim($("#fbFormN_email").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				var fbFormN_smsVer = $.trim($("#fbFormN_smsVer").val());</p>
<p>				var hasErrors = false;</p>
<p>				if (!hasErrors) {</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_sms_verify&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&email="+encodeURIComponent(fbFormN_email)+"&telefone="+encodeURIComponent(fbFormN_telephone)+"&code="+ fbFormN_smsVer +"&customer_id="+fbForm_customerId+"&story_id="+encodeURIComponent(fbForm_storyId),
						error: function(){
						},
						success: function(data){
							if (data.code == 0) {
								setMessageBox(data.message, data.addclass);
							} else {
								$("#commentLogin").hide();
								$("#sms_verify").hide();
								$("#fbFormN_smsVer").hide();
								$("#commentsForm_sms_veryfy").hide();</p>
<p>								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p>			//////////////////////////////////////////
			//swissnoise quiva
			function auto_login_quiva(data) {
				console.log("quiva login start");
				var user = {
					"remoteId": data.uid,
					"username": data.user.email,
					"password": data.pcr,
					"email": data.user.email,
					"firstName": data.user.first_name,
					"lastName": data.user.last_name,
					"zipCode": data.user.post_code,
					"locality": data.user.city,
					"phoneNumber": data.user.mobile_number
				};
				whatif.login(user).always(function() {</p>
<p>				});
				console.log("quiva login done");
			}
			//END swissnoise quiva</p>
<p>  			function auto_login_email(data) {
			    $(".commentFBlogin").hide();
			    $(".commentOhnelogin").hide();
			    var html = '';
			    var name = data.user.first_name +' '+ data.user.last_name;
			    html += '<span class="fbUserWelcome">Bienvenue, <span id="fbUserRealName">'+ name +'</span></span><br />';
			    html += '<a href="" id="commentsForm_send_email" onclick="return false;">Soumettre Commentaire</button>';
			    html += '<a href="" class="emailLogoutButton" onclick="return false;">Déconnecter</a><br />';
			    html += '<a href="" id="emailManageAccount" onclick="return false;">Gérer le profil</a>';
			    html += '<input id="login_email_token" name="login_email_token" value="'+ data.token +'" type="hidden">';
			    html += '<input id="login_email_email" name="login_email_email" value="'+ data.user.email +'" type="hidden">';
			    $("#commentLoggedInEmail").html(html);
			    set_logged_in_cookie(data);
			    $("#commentLoggedInEmail").show();</p>
<p>  			}</p>
<p> 			///////////////////////////////////////////////////
  			function commentsForm_send_noFb() {
  				var fbForm_message = $.trim($("#fbForm_message").val());  
  				fbForm_message = fbForm_message.replace(/&/g, "+");
  				var fbForm_uri = $.trim($("#fbForm_uri").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				var fbForm_ip = $.trim($("#fbForm_ip").val());</p>
<p>  				var is_logged_in = false;
  				if ($("#is_logged_in").length) {
  				    is_logged_in = true;
  				}</p>
<p>  				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
  				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
  				var fbFormN_zip = $.trim($("#fbFormN_zip").val());
  				var fbFormN_location = $.trim($("#fbFormN_location").val());
  				var fbFormN_email = $.trim($("#fbFormN_email").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message 
  				if ($("#fbFormN_password").length) {
  				    var fbFormN_password = $.trim($("#fbFormN_password").val());
  				}
  				if ($("#fbFormN_password_confirm").length) {
  				    var fbFormN_password_confirm = $.trim($("#fbFormN_password_confirm").val());
  				}</p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var messageReg =  fbForm_message.length > 1; 
				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				// dont check for ZIP, cause of foreign countries 
				//var locReg = !(fbFormN_zip.match(/(*)/)) && !(fbFormN_location.match(/(*)/)) && fbFormN_zip.length > 1 && fbFormN_location.length > 1;   
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; 
				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;
				var password_params = '';</p>
<p>				$("#commentError_name").hide();
				$("#commentError_location").hide();
				$("#commentError_email").hide();
				$("#commentError_password").hide();
				$("#commentError_message").hide();
				$("#commentError_disclaimer").hide();
				$(".disclaimerText").hide();</p>
<p>				if (messageReg == false) {
					$("#commentError_message").show();
					hasErrors = true;
				}</p>
<p>				if (nameReg == false) {
					$("#commentError_name").show();
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentError_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){      
					$("#commentError_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;
				}</p>
<p>				if (!($('#disclaimerConfirmBtn').is(':checked'))) {
					$("#commentError_disclaimer").show();
					$(".disclaimerText").show();
					hasErrors = true;
				}</p>
<p>				if (!hasErrors) {</p>
<p>					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					save_form_to_cookie('comment_form_input');</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "html",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=sendComment&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID,
						error: function(){ },
						success: function(){
							$("#commentLogin").hide();
							$("#fbForm_message").hide();
							$("#fbForm_message_count_class").hide();
							$("#commentError_message").hide();
							$("#commentInfo_Fb").hide();
							$("#commentsForm_send").hide();
							$("#fbCommentPublishCheckbox").hide();
							$("#commentsForm_send_noFb").hide();
							$("#disclaimerConfirm").hide();
							$("#commentInfo_noFb").show();
						}
					});
				}
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_send_email() {
				var fbForm_message = $.trim($("#fbForm_message").val());  
				fbForm_message = fbForm_message.replace(/&/g, "+");
				var fbForm_uri = $.trim($("#fbForm_uri").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_ip = $.trim($("#fbForm_ip").val());
				var login_email_token = $.trim($("#login_email_token").val());</p>
<p>  				var is_logged_in = false;
  				if ($("#is_logged_in").length) {
  				    is_logged_in = true;
  				}</p>
<p>  				var fbFormN_email = $.trim($("#login_email_email").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message </p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var messageReg =  fbForm_message.length > 1; </p>
<p>				$("#commentError_name").hide(); 	
				$("#commentError_location").hide(); 
				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); 
				$("#commentError_message").hide(); 	
				$("#commentError_disclaimer").hide(); 	
				$(".disclaimerText").hide();</p>
<p>				if (messageReg == false) {
					$("#commentError_message").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>			    if (!($('#disclaimerConfirmBtn').is(':checked'))) {
					$("#commentError_disclaimer").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					commentNotSent = false;</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=send_comment_email&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&customer_id="+fbForm_customerId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID+"&email="+encodeURIComponent(fbFormN_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
						          	if (data.code == 1) {
						          	    $("#commentLogin").hide();
						          	    $("#fbForm_message").hide();
						          	    $("#fbForm_message_count_class").hide();      	
						          	    $("#commentError_message").hide();
									    $("#commentError_name").hide(); 	 	
									    $("#commentError_location").hide(); 	
									    $("#commentError_email").hide();	
									    $("#commentError_disclaimer").hide(); 	
									    $(".disclaimerText").hide();
									    $("#commentInfo_noFb").hide(); 
    									$("#commentsForm_send").hide(); 
									    $("#fbCommentPublishCheckbox").hide();
									    $("#disclaimerConfirm").hide();
									    $("#commentsForm_send_noFb").hide();	
						          	    $("#commentInfo_noFb").show();  
						          	    $("#commentSendLoading").hide();
						          	    $("#commentInfo_Notice").hide();
						          	    $("#manageAccount").hide();
						          	}
						          	else if (data.code == 2) {
						          	    setMessageBox(data.message, data.addclass);
						          	}
					    }     
				 	});		
				}		
  			}  			</p>
<p>			///////////////////////////////////////////////////
			///////////////////////////////////////////////////
  			// some jquery UI functions
			function fbLoginDisplay(loginState) {
				$(document).ready(function(){
					if (loginState == true) {
						$(".notloggedToFacebook").hide();
						$(".loggedToFacebook").show();
						$('#commentsForm_send_noFb').hide();
						$('#commentsForm_send').show();
						$("#fbCommentPublishCheckbox").show();
						$(".recommendCommentFacebook").show();
					}
	else {
						$(".loggedToFacebook").hide(); 
						$(".notloggedToFacebook").show(); 
						$('#commentsForm_send').hide();
						$('#commentsForm_send_noFb').show();
						$("#fbCommentPublishCheckbox").hide();
						$(".recommendCommentFacebook").hide();
						if ($("#commentLoggedInEmail").length) {
							$("#commentLoggedInEmail").show();
						}
				}});
  			}</p>
<p>  			///////////////////////////////////////////////////
  			function fbDomInsert(username, uid, token) {  
						$(document).ready(function(){  
		           $("#fbUserRealName").html(username); 
		           var imgHtml= "<img src='https://graph.facebook.com/me/picture?access_token="+token+"'/>";
		           $("#fbUserProfilePicture").html(imgHtml);</p>
<p>		           $("#fbForm_realName").val(username); 
		           $("#fbForm_userId").val(uid);
		           $("#fbForm_userToken").val(token);
	        	});
				}
				///////////////////////////////////////////////////
				function loginDrop() {
					$(document).ready(function(){
						$('#commentLogin').slideDown();
						$("textarea#fbForm_message").attr("rows", 6);
						$("#commentsForm_send").removeAttr("disabled");
						$("#commentsForm_send_noFb").attr("disabled", "");
						$("#commentsForm_send_email").removeAttr("disabled");
						$("#fbForm_message").val("");
						$('#fbForm_message').removeAttr("onclick");
					});
				}
		///////////////////////////////////////////////////
		function doOnFbConnect() {
			$(".recommendCommentFacebook").show(); // for comments below: display checkbox to choose if recommended comments get published on facebook
		}</p>
<p>		///////////////////////////////////////////////////
		function log(msg){
			if (typeof console === 'undefined') {
				return false;
			} else {
				return true;
			}
		}</p>
<p>		/////////////////////////////////////////////////////////////////////////////////	
        /////////////////////////////////////////////////////////////////////////////////  
        /////////////////////////////////////////////////////////////////////////////////
        // main </p>
<p>        // fb auth 
        var fbAccessToken = ''; 
        var fbUserID = ''; 
        var fbUserName = '';  
        FBcomments.initFb(); 
        var nnFBloggedIn = check_nnCookie();  
   			if (nnFBloggedIn == true) {
   				fbLoginDisplay(true); </p>
<p>   			}
   			else {
   				fbLoginDisplay(false); 
   			}</p>
<p>function inputFocus(thisFor, thisClass) {
    $('#'+ thisFor).focus(function() {
        $('.'+ thisClass).animate({ opacity: "0" }, "fast");
    }).blur(function() {
        if($(this).val() == "") {
            $('.'+ thisClass).animate({ opacity: "1" }, "fast");
        }
    });
}</p>
<p>			//// some more jquery stuff
   			$(document).ready(function(){
				read_logged_in_cookie();</p>
<p>				// hide 'populär auf facebook' widget in sideline
				//$("#fb_activityFeed").hide(); </p>
<p>				$("#fbCommentPublishCheckbox").hide();</p>
<p>$('#fbFormN_password_login').keypress(function(e){
    if (e.which == 13){
        e.preventDefault();
        $(this).blur();
        $('#commentsForm_post_confirmed').focus().click();
        return false;
    }
});</p>
<p>$('#fbFormN_smsVer').keypress(function(e){
    if (e.which == 13){
        e.preventDefault();
        $(this).blur();
        $('#commentsForm_sms_veryfy').focus().click();
        return false;
    }
});</p>
<p>// Bind to set the fadeout of form labels when clicked or focused
$('.sbsLabel label').each(function () {
    var thisFor = $(this).attr('for');
    var thisClass = $(this).attr('class');
    inputFocus(thisFor, thisClass);
});</p>
<p>   				// some form display handling 
					$('#disclaimerButtonShow').bind('click', function(){
						$('.disclaimerText').show();
						$('#disclaimerButtonShow').css('display','none');
						$('#disclaimerButtonHide').css('display','inline');
					});
					$('#disclaimerButtonHide').bind('click', function(){
						$('.disclaimerText').hide();
						$('#disclaimerButtonHide').css('display','none');
						$('#disclaimerButtonShow').css('display','inline');
					});</p>
<p>				// display login data on start 
				if ($("#fbUserRealName").html()) {
					if ($("#fbUserRealName").html().length >= 2){ // && $("textarea#fbForm_message").attr("rows") > 2
						$("#fbCommentPublishCheckbox").show();
					}
				}</p>
<p>				// clear textarea 
				$("#fbForm_message").val(''); </p>
<p>				// submit buttons , disable on on reload 
				$("#commentsForm_send").attr("disabled", "true");
				$("#commentsForm_send_noFb").attr("disabled", "true");</p>
<p>				// set checkboxes
				$('#fbForm_publishOnFB').attr('checked', true); 
				$('.recommendCommentPublishOnFb').attr('checked', true); 
				$('#disclaimerConfirmBtn').attr('checked', false);</p>
<p>				// fixes a tiny bug: if values are prefilled on reload they should not be grey 
				var myFbFormIds = ('fbFormN_firstName', 'fbFormN_surname', 'fbFormN_zip', 'fbFormN_location', 'fbFormN_email', 'fbFormN_password', 'fbFormN_password_confirm');
				for (var ii=0;ii < myFbFormIds.length; ii++) {
				  if ($("#"+myFbFormIds(ii)).length) {
					if (!($("#"+myFbFormIds(ii)).val().match(/(*)/))) {
						$("#"+myFbFormIds(ii)).css('color','#000000'); 
					};
				  }
				}

				$('.comment_signup_form_toggle').live('click', function(){
					$('#comment_signup_form').toggle('slow');
					$('#comment_login_form').toggle('slow');
					return false;
				});

				$('.comment_form_forgot_password').live('click', function(){
				    $('#comment_password_reset_form').toggle('slow');
				    $('#comment_login_form').toggle('slow');
				    return false;
				});

				$('.emailLogoutButton').live('click', function() {
					delete_cookie('comment_login_details_email');
					$("#commentLoggedInEmail").html('');
					$("#manageAccount").html('');
					$("#commentLoggedInEmail").hide();
					$(".commentFBlogin").show();
					$(".commentOhnelogin").show();
				});

				$('#show_update_phone').live('click', function() {
					$("#commentLoggedInEmail").html('');
					$("#manageAccount").html('');
					$("#commentLoggedInEmail").hide();
					$("#comment_login_form").hide();

					$("#change_phonenumber").show();
					$(".commentOhnelogin").show();
				});

				$('#commentsForm_send_email').live('click', function() {
				    if (commentNotSent) {
				        commentsForm_send_email();
				    }
				});

				$('#emailManageAccount').live('click', function () {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());

				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=login_manage_account&#038;customer_id="+customer_id+"&#038;email="+encodeURIComponent(login_email_email)+"&#038;token="+login_email_token,
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#manageAccount').html(data.message);
					            $('#manageAccount').show();
					        }
					    }     
				 	});
				});

				});
        </script><br /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions</title>
		<link>https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-66/</link>
		
		<dc:creator><![CDATA[Conseil-Chauffage]]></dc:creator>
		<pubDate>Tue, 17 Mar 2020 16:28:32 +0000</pubDate>
				<category><![CDATA[Chauffage au Bois]]></category>
		<category><![CDATA[avec]]></category>
		<category><![CDATA[bois]]></category>
		<category><![CDATA[fines]]></category>
		<category><![CDATA[finir]]></category>
		<category><![CDATA[les]]></category>
		<category><![CDATA[Linvité]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[pour]]></category>
		<category><![CDATA[poussières]]></category>
		<category><![CDATA[Réflexions]]></category>
		<category><![CDATA[Signatures]]></category>
		<guid isPermaLink="false">https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-66/</guid>

					<description><![CDATA[L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions Le CO2 neutre, deuxième source d&#39;énergie renouvelable en Suisse après l&#39;énergie hydraulique, le chauffage au bois ou le bois énergie, participe activement à la politique climatique. Soutenu par la Confédération et les cantons, il ne cesse de croître et représente désormais plus de 10% de la chaleur consommée en Suisse. Compte tenu des futures économies d&#39;énergie des bâtiments et de la gestion durable ... <p class="read-more-container"><a title="L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions" class="read-more button" href="https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-66/#more-1854" aria-label="Plus sur L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions">Lire l'Article</a></p>]]></description>
										<content:encoded><![CDATA[<h1>L&rsquo;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions</h1>
<p></p>
<div id="mainContent">
<p>	Le CO2 neutre, deuxième source d&#39;énergie renouvelable en Suisse après l&#39;énergie hydraulique, le chauffage au bois ou le bois énergie, participe activement à la politique climatique. Soutenu par la Confédération et les cantons, il ne cesse de croître et représente désormais plus de 10% de la chaleur consommée en Suisse.</p>
<p>Compte tenu des futures économies d&#39;énergie des bâtiments et de la gestion durable de nos forêts, son potentiel est estimé pour le canton de Vaud à 30% de la chaleur consommée.</p>
<p>Mais des voix s&#39;élèvent régulièrement pour alerter sur les émissions polluantes de poussières fines du bois. Comment est-ce vraiment?</p>
<p>La Commission fédérale de l&#39;hygiène de l&#39;air a très bien résumé le problème dans son rapport &quot;Les poussières fines en Suisse 2013&quot;. Elle explique les très grandes différences existant selon le type de chauffage (ancien ou moderne, automatique ou manuel) et le type de bois de chauffage (bûches, granulés, copeaux de bois). Grâce à l&#39;amélioration des conditions de combustion, il met en évidence la diminution très importante de la quantité de poussières fines émises, mais, en plus et surtout, leurs changements de composition chimique et donc de nocivité.</p>
<p>Une combustion optimale ou complète signifie l&#39;absence totale ou presque complète de produits imbrûlés, principalement de la suie et du goudron, composés toxiques classés cancérigènes par l&#39;OMS. Les petites quantités de poussières fines résultant de la combustion complète du bois sont composées de sels minéraux peu ou peu toxiques pour la santé.</p>
<p>Concrètement, la Commission fédérale met en évidence une réduction du poids des poussières fines jusqu&#39;à un facteur 100 avec les usines de granulés modernes par rapport aux anciennes usines de grumes. Si l&#39;on tient toujours compte de l&#39;évolution de la composition chimique des poussières, le gain en termes de protection de la santé atteint un facteur de 1000, voire beaucoup plus. Une véritable révolution silencieuse a eu lieu!</p>
<p>Il convient donc d&#39;encourager l&#39;utilisation des installations de chauffage modernes, de les faire fonctionner correctement et de les entretenir en appliquant les règles pertinentes. C&#39;est l&#39;assurance d&#39;une combustion complète et propre du bois.</p>
<p>Pour un usage domestique, c&#39;est notamment le cas des poêles et chaudières à granulés automatiques, choisissez un combustible très sec assurant une combustion complète. Les granulés sont également idéaux pour les bâtiments ou pour un groupe de bâtiments.</p>
<p>Pour le chauffage central des villages ou des quartiers d&#39;habitation, les chaudières à copeaux de bois sont privilégiées et équipées de filtres performants pour respecter les très strictes limites d&#39;émission fixées par la Confédération (OPair). </p>
<p class="publishedDate">Créé: 02.03.2020, 06:49</p>
</p></div>
<p><script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)(0);
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "http://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.3";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script><script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)(0);
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "http://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.3";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script><script language="javascript"></p>
<p>		var commentNotSent = true;
		///////////////////////////////////////////////////
		// object FBcomments, can be reused for FB authentification
        var FBcomments = {
        		fbAppId : '251285271592561',
                version: 'v2.0',
        		fbChannel_path : '/facebook_xd_receiver.html', 
        		isLoggedIn : false, </p>
<p>            ///////////////////////////////////////////////////
        		initFb : function() {	
	        		window.fbAsyncInit = function() {
                    FB.init({appId: FBcomments.fbAppId, version: FBcomments.version});
	                if (typeof FB === 'undefined') {
        		 				alert($("#tr_fbConnectError").html()); 
        		 			} 
	            };</p>
<p>                (function(d, s, id) {
                    var js, fjs = d.getElementsByTagName(s)(0);
                    if (d.getElementById(id)) return;
                    js = d.createElement(s); js.id = id;
                    js.src = "http://connect.facebook.net/fr_FR/sdk.js";
                    fjs.parentNode.insertBefore(js, fjs);
                }(document, 'script', 'facebook-jssdk'));
          	},
          	///////////////////////////////////////////////////
          	fbLogin : function() { 
          	 var populateFbData_ = this.populateFbData;
          	 var fbDisplay_ = this.fbDisplay;	
          	 var promptFanBox_ = this.promptFanBox;</p>
<p>        		 FB.init({appId: FBcomments.fbAppId, version: FBcomments.version}); 
        		 if (typeof FB === 'undefined') {
        		 	alert($("#tr_fbConnectError").html()); 
        		 } 	
							  	FB.login(function(response) {
									  if (response.authResponse) {
									     // granted some permissions 
									     this.isLoggedIn = true; 
									  	 populateFbData_(response.authResponse.accessToken, response.authResponse.userID);
									  	 fbDisplay_(); 
									  	 promptFanBox_(response.authResponse.userID);
									  } 
									  else { 
									    // user is not logged
									    this.isLoggedIn = false;
									  	fbDisplay_();  
									  }
									}, {scope:'publish_actions'});
				},
				///////////////////////////////////////////////////
				fbLogout : function() {  
					var fbDisplay_ = this.fbDisplay;
					$.cookie('fbsNN', '', { path: '/', expires: -1 });
					isLoggedIn = false;
					fbDisplay_();
        		},</p>
<p>				///////////////////////////////////////////////////
				populateFbData : function(accessToken, userID) {
					fbAccessToken = accessToken;
					fbUserID = userID;
					FB.api(
					'/me',
					{
						fields: 'name'
					},
					function(response) {
						var fbUserName = '';
						if (response){
							if (response.name){
								fbUserName = response.name;
							}
						}
						// store a fb-independent cookie for future login 
						$.cookie('fbsNN', "access_token="+escape(fbAccessToken)+""+"&uid="+fbUserID+"&realname="+escape(fbUserName), { path: '/', expires: 30 }); 
						fbDomInsert(fbUserName, fbUserID, fbAccessToken);
					}
					);
				},</p>
<p>				///////////////////////////////////////////////////
				promptFanBox : function(userId) {
  				 	FB.api({
					    method: 'fql.query',        
					    query: 'SELECT uid FROM page_fan WHERE uid='+userId+' AND page_id='+10150100771335484 
						},
							function(response) {
								if (typeof response(0) === 'undefined') {
									// user has not liked the page 
									$(document).ready(function(){  
										var txt = $("#tr_fanBoxPromptTitle").html(); 
										tb_show(txt,'/facebook_iframe.html?&height=250&width=645');
									});
								}	
							}
						 );
  				 },
  				 ///////////////////////////////////////////////////
  				 fbDisplay : function() {    
  				 		fbLoginDisplay(this.isLoggedIn );  
  				 		loginDrop();
  				 }
  				 ///////////////////////////////////////////////////
        } // end object</p>
<p>				///////////////////////////////////////////////////
				// cookie based user registration, maybe replaced by user DB in future
  			function fetch_nnCookie() { 
  				 		var nnRegex = /access_token=((^&)+)&uid=((0-9)+)&realname=(.+)/; 
							nnRegex.exec($.cookie('fbsNN')); 		 
							fbAccessToken = unescape(RegExp.$1);      
							fbUserID = RegExp.$2;
							fbUserName = unescape(RegExp.$3);	  
  			}
				///////////////////////////////////////////////////
  			function check_nnCookie() {	          
  				 	if( $.cookie('fbsNN') == null) {   	 
  				 		return false; 
  				 	}
  				 	else { 
							fetch_nnCookie();   
  				 		// check for valid data, delete cookie otherwise 
  				 		if (fbAccessToken != null && fbAccessToken.length > 0 && fbUserID != null && fbUserID.length > 0  && fbUserName != null && fbUserName.length > 0 && fbUserName != 'undefined') {
  				 			fbDomInsert(fbUserName, fbUserID, fbAccessToken); 
  				 			return true;   
  				 		}
  				 		else {
  				 			$.cookie('fbsNN', '', { expires: -1 }); 
  				 			return false;  
  				 		}
  				 	}
  			}</p>
<p>  			///////////////////////////////////////////////////
  			// form handler 
  			function commentsForm_send () {
  				var fbForm_message = $.trim($("#fbForm_message").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message 
  				var fbForm_uri = $.trim($("#fbForm_uri").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				var fbForm_ip = $.trim($("#fbForm_ip").val());			
  				var fbForm_realName = $.trim($("#fbForm_realName").val());
  				var fbForm_userId = $.trim($("#fbForm_userId").val());
  				var fbForm_userToken = $("#fbForm_userToken").val(); 
  				var fbForm_publishOnFB = $("#fbForm_publishOnFB:checked").val();
  				if (typeof fbForm_publishOnFB === 'undefined') {
  					fbForm_publishOnFB = 0; 
  				}
					var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());	
					var hasErrors = false; 
					var messageReg =  fbForm_message.length > 1; </p>
<p>					if (messageReg == false) {
						$("#commentError_message").show(); 	
						hasErrors = true; 
					}
					if (fbFormN_gotcha.length > 1) {
						hasErrors = true; 
					} </p>
<p>          if (!($('#disclaimerConfirmBtn').is(':checked'))) {
						$("#commentError_disclaimer").show();
						hasErrors = true; 
					}
  				if (!hasErrors) {
						$("#commentsForm_send").attr("disabled", "true");
						$("#commentsForm_send_noFb").attr("disabled", "true");</p>
<p>						$("#commentSendLoading").show(); 
						$.ajax({ type: "POST",
							dataType: "text",
							cache: false,
							url: "/community/talkback_ajax.html",
							async: true,
							data: "action=sendComment&fbForm_realName="+encodeURIComponent(fbForm_realName)+"&fbForm_userId="+fbForm_userId+"&fbForm_userToken="+encodeURIComponent(fbForm_userToken)+"&fbForm_publishOnFB="+fbForm_publishOnFB+"&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID,
							error: function(){
								alert($("#tr_commentSendError").html()); 
							},
							complete: function(reqCode){
								$("#commentLogin").hide();
								$("#fbForm_message").hide();
								$("#fbForm_message_count_class").hide();      	
								$("#commentError_message").hide();
									$("#commentError_name").hide();
									$("#commentError_location").hide();
									$("#commentError_email").hide();
									$("#commentError_disclaimer").hide();
									$(".disclaimerText").hide();
									$("#commentInfo_noFb").hide();
									$("#commentsForm_send").hide();
									$("#fbCommentPublishCheckbox").hide();
									$("#commentsForm_send_noFb").hide();
								$("#commentInfo_Fb").show();
								$("#commentSendLoading").hide();
							}
						});
					} // hasErrors
				}</p>
<p> 			//////////////////////////////////////////////////
 			function delete_cookie(cookie) {
				$.cookie(cookie, null, {path: '/'});
 			}</p>
<p>			//////////////////////////////////////////////////
			function save_form_to_cookie(class_name) {
				var form = new Array();
				$("."+ class_name).each(function(index) {
					form(index) = {};
					form(index)('id') = $(this).attr("id");
					form(index)('val') = $(this).val();
				});
				$.cookie(class_name, JSON.stringify(form), {json:true});
			}</p>
<p> 			//////////////////////////////////////////////////
 			function save_object_to_cookie(data) {
 			    var form = new Array();
 			    form(0)('id') = 'fbFormN_firstName';
 			    form(0)('val') = '';
 			    form(1)('id') = 'fbFormN_surname';
 			    form(1)('val') = '';
 			    form(2)('id') = 'fbFormN_zip';
 			    form(2)('val') = '';
 			    form(3)('id') = 'fbFormN_location';
 			    form(3)('val') = '';
 			    form(4)('id') = 'fbFormN_email';
 			    form(4)('val') = '';
 			    $("."+ class_name).each(function(index) {
 			        form(index) = {};
 			        form(index)('id') = $(this).attr("id");
 			        form(index)('val') = $(this).val();
 			    });
 			    $.cookie(class_name, JSON.stringify(form), {json:true});
 			}</p>
<p>			//////////////////////////////////////////////////
			function set_logged_in_cookie(data) {
			    $.cookie('comment_login_details_email', JSON.stringify(data), {json:true,expires:14,path: '/'});
			}</p>
<p>			//////////////////////////////////////////////////
			function read_logged_in_cookie() {
				var cookie_form_data_json = $.cookie('comment_login_details_email');
				if (cookie_form_data_json != null) {
					var form_data = JSON.parse(cookie_form_data_json);
					if (typeof form_data != 'undefined') {
						if (form_data.user.customer_id == 53){
							if (typeof form_data.pcr != 'undefined' && form_data.pcr != null && form_data.pcr.length > 0){
								if (typeof form_data.uid != 'undefined' && form_data.uid != null && form_data.uid != 0){
									auto_login_email(form_data);
									return;
								}
							}
						} else {
							auto_login_email(form_data);
						}
					}
				}</p>
<p>			}</p>
<p> 			//////////////////////////////////////////////////
 			function read_form_from_cookie(class_name) {
 			    var cookie_form_data_json = $.cookie(class_name);
 			    var form_data = JSON.parse(cookie_form_data_json);
 			    $.each(form_data, function(index, value) {
 			        $("#"+ value.id).val(value.val);
 			    });
 			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_create_account() {
				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
				var fbFormN_zip = $.trim($("#fbFormN_zip").val());
				var fbFormN_location = $.trim($("#fbFormN_location").val());
				var fbFormN_telephone = $.trim($("#fbFormN_telephone").val());
				var fbFormN_email = $.trim($("#fbFormN_email").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				if ($("#fbFormN_password").length) {
				    var fbFormN_password = $.trim($("#fbFormN_password").val());
				}
				if ($("#fbFormN_password_confirm").length) {
				    var fbFormN_password_confirm = $.trim($("#fbFormN_password_confirm").val());
				}</p>
<p>				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; 
if (fbFormN_telephone.length > 1) {</p>
<p>			var telephoneReg = (fbFormN_telephone.match(/^(ds)*$/));</p>
<p>}
				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;</p>
<p>				var password_params = '';</p>
<p>				$("#commentError_name").hide(); 	
				$("#commentError_location").hide(); 
				$("#commentError_telephone").hide(); 
				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); 
				$(".disclaimerText").hide();</p>
<p>				if (nameReg == false) {
					$("#commentError_name").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentError_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (telephoneReg == null) {
					$("#commentError_telephone").show();
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){
					$("#commentError_email").show();
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>				if ($("#fbFormN_password").length && $("#fbFormN_password_confirm").length) {
					if (fbFormN_password != fbFormN_password_confirm) {
					    $("#commentError_password").show();
					    hasErrors = true;
					}
					else {
					    password_params += "&fbFormN_password=" + encodeURIComponent(fbFormN_password);
				        password_params += "&fbFormN_password_confirm=" + encodeURIComponent(fbFormN_password_confirm);
					}
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					save_form_to_cookie('comment_form_input');
					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_create_account&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_telephone="+encodeURIComponent(fbFormN_telephone)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&customer_id="+fbForm_customerId+"&story_id="+encodeURIComponent(fbForm_storyId)+password_params,
						error: function(){ },
						success: function(data){
							if (data.code == 0) {
								setMessageBox(data.message, data.addclass);
							} else {</p>
<p>			$("#disclaimerConfirm").hide();
			$("#commentLogin").hide();
			$("#fbForm_message").hide();
			$("#fbForm_message_count_class").hide();
			$("#commentError_message").hide();
			$("#commentInfo_Fb").hide(); 
			$("#commentsForm_send").hide();
			$("#fbCommentPublishCheckbox").hide();
			$("#commentsForm_send_noFb").hide();</p>
<p>								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p>				/////////////////////////////////////////////////
				function confirm_delete_account() {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=confirm_delete_account&customer_id="+customer_id+"&email="+encodeURIComponent(login_email_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#deleteAccount').html(data.message);
					            $('#deleteAccount').fadeIn(800);
					            $('#commentFormSubContainer').slideUp(1000);
					            $('body,html').stop().animate({
					                'scrollTop': $("#deleteAccount").offset().top-200
					            }, 1000)
					        }
					    }     
				 	});
				}</p>
<p>                /////////////////////////////////////////////////
				function cancel_delete_account() {
					$('#deleteAccount').html('');
					$('#deleteAccount').hide();
					$('#commentFormSubContainer').slideDown(1000);
				}</p>
<p>                /////////////////////////////////////////////////
				function delete_account() {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=delete_account&customer_id="+customer_id+"&email="+encodeURIComponent(login_email_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#deleteAccount').html('');
					            $('#deleteAccount').hide();
					            $('#commentFormSubContainer').slideDown(1000);
					            setMessageBox(data.message, data.addclass);
								delete_cookie('comment_login_details_email');
					        }
					        else if (data.code == 2) {
					            $('#deleteAccount').html('');
					            $('#deleteAccount').hide();
					            $('#commentFormSubContainer').slideDown(1000);
					            setMessageBox(data.message, data.addclass);
					        }
					    }     
				 	});
				}</p>
<p>  			//////////////////////////////////////////////////
  			function commentsForm_update_account_close() {
  			    $("#manageAccount").html('');
  			}</p>
<p> 			///////////////////////////////////////////////////
  			function commentsForm_update_account() {
  				var fbFormN_firstName = $.trim($("#update_firstName").val());
  				var fbFormN_surname = $.trim($("#update_surname").val());
  				var fbFormN_zip = $.trim($("#update_zip").val());
  				var fbFormN_location = $.trim($("#update_location").val());
  				var fbFormN_telephone = $.trim($("#update_telephone").val());
  				var fbFormN_email = $.trim($("#update_email").val());
  				var fbFormN_email_hidden = $.trim($("#update_email_hidden").val());
  				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
  				var login_email_token = $.trim($("#login_email_token").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				if ($("#update_password").length) {
  				    var fbFormN_password = $.trim($("#update_password").val());
  				}
  				if ($("#update_password_confirm").length) {
  				    var fbFormN_password_confirm = $.trim($("#update_password_confirm").val());
  				}</p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; </p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;</p>
<p>				var password_params = '';</p>
<p>				$("#commentErrorUpdate_name").hide(); 	
				$("#commentErrorUpdate_location").hide(); 
				$("#commentErrorUpdate_telephone").hide(); 
				$("#commentErrorUpdate_email").hide(); 
				$("#commentErrorUpdate_password").hide(); 
				$(".disclaimerText").hide();</p>
<p>				if (nameReg == false) {
					$("#commentErrorUpdate_name").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentErrorUpdate_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (telephoneReg == null) {
					$("#commentErrorUpdate_telephone").show();
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){
					$("#commentErrorUpdate_email").show();
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>				if ($("#fbFormN_password").length && $("#fbFormN_password_confirm").length) {
					if (fbFormN_password != fbFormN_password_confirm) {
					    if ((fbFormN_password != 'mot de passe' || fbFormN_password_confirm != 'confirmer le mot de passe') && (fbFormN_password != 'password' || fbFormN_password_confirm != 'confirm password')) {
					        $("#commentErrorUpdate_password").show();
					        hasErrors = true;
					    }
					}
					else {
					    password_params += "&fbFormN_password=" + encodeURIComponent(fbFormN_password);
				        password_params += "&fbFormN_password_confirm=" + encodeURIComponent(fbFormN_password_confirm);
					}
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
	                save_form_to_cookie('comment_form_input');
					jQuery.ajax({ type: "POST",
				          dataType: "json",
				          cache: false,
	                	  url: "/community/talkback_ajax.html",
				          async: true,
				          data: "action=talkback_update_account&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_telephone="+encodeURIComponent(fbFormN_telephone)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbFormN_email_hidden="+encodeURIComponent(fbFormN_email_hidden)+"&customer_id="+fbForm_customerId+password_params+"&token="+login_email_token+"&story_id="+encodeURIComponent(fbForm_storyId),
				          error: function(){ },
				          success: function(data){
				          	if (data.code == 1) {
							    $("#disclaimerConfirm").hide();
				          	    $("#commentLogin").hide();
				          	    $("#fbForm_message").hide();
				          	    $("#fbForm_message_count_class").hide();
				          	    $("#commentErrorUpdate_message").hide();
				          	    $("#commentInfo_Fb").hide(); 
				          	    $("#commentsForm_send").hide();
				          	    $("#fbCommentPublishCheckbox").hide();
							    $("#commentsForm_send_noFb").hide(); 
			          		    $("#commentInfo_noFb").show();
			          		    $("#manageAccount").toggle();
			          		    $("#commentInfo_noFb").text(data.message);
			          		    setMessageBox(data.message, data.addclass);
								delete_cookie('comment_login_details_email');
			          		} else if (data.code == 2){
								$("#commentLogin").show();
								$("#fbForm_message").show();
								$("#fbForm_message_count_class").show();
								$("#commentErrorUpdate_message").hide();
								$("#commentInfo_Fb").hide(); 
								$("#commentsForm_send").hide();
								$("#fbCommentPublishCheckbox").hide();
								$("#commentsForm_send_noFb").hide(); 
								$("#commentInfo_noFb").hide();
								$("#manageAccount").toggle();
								setMessageBox(data.message, data.addclass);
								if (data.user.customer_id == 53){
									auto_login_email(data);
								}
							} else if (data.code == 3){
								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p> 			// Handler to reset the timer on each notification 
 			var timeoutHandle;
 			function setMessageBox(message, boxclass) {
 			    $("#messageBox").hide();
 			    $("#messageBox").html(message);
 			    $("#messageBox").removeClass("warning error success").addClass(boxclass);
 			    $("#messageBox").fadeIn(1500);</p>
<p> 			    clearTimeout(timeoutHandle);</p>
<p> 			    timeoutHandle = setTimeout(function(){
 			        $("#messageBox").fadeOut(2000, function () {
 			      });
 			    }, 12000);
 			}</p>
<p> 			function forgot_password_send() {
				var email = $.trim($('#password_forgot_email').val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				var hasErrors = false;</p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/;</p>
<p>				if(emailRegObj.test(email) == false){      
					$("#commentError_password_forgot_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {</p>
<p>					jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=reset_password&customer_id="+fbForm_customerId+"&email="+encodeURIComponent(email),  
					    error: function(){ },
					    success: function(data){
						        if (data.code = 0) {
						            setMessageBox(data.message, data.addclass);
						        }
						        else if (data.code = 1) {
						            $('#comment_password_reset_form').toggle('slow');
						            $('#comment_login_form').toggle('slow');
						            setMessageBox(data.message, data.addclass);
						        }
					    }     
				 	});</p>
<p>				}
 			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_login_noFb() {
				var fbFormN_email = $.trim($("#fbFormN_email_login").val());
				var fbFormN_password = $.trim($("#fbFormN_password_login").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				var hasErrors = false;</p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/;</p>
<p>				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); </p>
<p>				if(emailRegObj.test(fbFormN_email) == false){      
					$("#commentError_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {</p>
<p>					//$("#commentsForm_send").attr("disabled", "true");
					//$("#commentsForm_send_noFb").attr("disabled", "true");
					//save_form_to_cookie('comment_form_input');</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_login_email&email="+encodeURIComponent(fbFormN_email)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password),
						error: function(){</p>
<p>						},
						success: function(data){
							//$("#commentLogin").hide();
							//$("#fbForm_message").hide();
							//$("#fbForm_message_count_class").hide();
							//$("#commentError_message").hide();
							//$("#commentInfo_Fb").hide(); 
							//$("#commentsForm_send").hide();
							//$("#fbCommentPublishCheckbox").hide();
							//$("#commentsForm_send_noFb").hide(); </p>
<p>							if (data.code == 2) {
								$('.commentFBlogin').hide();
								$('#comment_login_form').hide();
								$("#change_phonenumber").show();
								setMessageBox(data.message, data.addclass);
							} else {
								$("#change_phonenumber").hide();
								//$("#commentInfo_noFb").show();
								//$("#commentLoggedInEmail").text(data.message);
								setMessageBox(data.message, data.addclass);
								$("#commentLoggedInEmail").show();
								if ('user' in data) {
									auto_login_email(data);
								}
							}
						}
					});
				}
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_phone_change() {
				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_email_phone_chnage").hide();
							$("#fbFormN_email_phone_chnage").hide();
							$("#commentError_telephone_change").hide();
							$("#fbFormN_telephone_change").hide();
							$("#commentError_password_phone_chnage").hide();
							$("#fbFormN_password_phone_chnage").hide();
							$("#commentsForm_sms_change_veryfy").hide();</p>
<p>							$("#fbFormN_sms_change_Ver").show();
							$("#commentsForm_sms_send_change_veryfy").show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}</p>
<p>			///////////////////////////////////////////////////</p>
<p>			function comments_modifyForm_phone_change() {</p>
<p>				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_email_phone_chnage").hide();
							$("#fbFormN_email_phone_chnage").hide();
							$("#commentError_telephone_change").hide();
							$("#fbFormN_telephone_change").hide();
							$("#commentError_password_phone_chnage").hide();
							$("#fbFormN_password_phone_chnage").hide();
							$("#commentsForm_sms_change_veryfy").hide();</p>
<p>							$("#fbFormN_sms_change_Ver").show();
							$("#commentsForm_sms_send_change_veryfy").show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_phone_change_sms_verify() {
				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbFormN_sms_change_Ver = $.trim($("#fbFormN_sms_change_Ver").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change_sms_verify&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change)+"&code="+encodeURIComponent(fbFormN_sms_change_Ver),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_sms_change_ver").hide();
							$("#fbFormN_sms_change_Ver").hide();
							$("#commentsForm_sms_send_change_veryfy").hide();
							$("#change_phonenumber").hide();</p>
<p>							$('#comment_login_form').show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}
			///////////////////////////////////////////////////
			function commentsForm_sms_verify() {
				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
				var fbFormN_telephone = $.trim($("#fbFormN_telephone").val());
				var fbFormN_email = $.trim($("#fbFormN_email").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				var fbFormN_smsVer = $.trim($("#fbFormN_smsVer").val());</p>
<p>				var hasErrors = false;</p>
<p>				if (!hasErrors) {</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_sms_verify&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&email="+encodeURIComponent(fbFormN_email)+"&telefone="+encodeURIComponent(fbFormN_telephone)+"&code="+ fbFormN_smsVer +"&customer_id="+fbForm_customerId+"&story_id="+encodeURIComponent(fbForm_storyId),
						error: function(){
						},
						success: function(data){
							if (data.code == 0) {
								setMessageBox(data.message, data.addclass);
							} else {
								$("#commentLogin").hide();
								$("#sms_verify").hide();
								$("#fbFormN_smsVer").hide();
								$("#commentsForm_sms_veryfy").hide();</p>
<p>								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p>			//////////////////////////////////////////
			//swissnoise quiva
			function auto_login_quiva(data) {
				console.log("quiva login start");
				var user = {
					"remoteId": data.uid,
					"username": data.user.email,
					"password": data.pcr,
					"email": data.user.email,
					"firstName": data.user.first_name,
					"lastName": data.user.last_name,
					"zipCode": data.user.post_code,
					"locality": data.user.city,
					"phoneNumber": data.user.mobile_number
				};
				whatif.login(user).always(function() {</p>
<p>				});
				console.log("quiva login done");
			}
			//END swissnoise quiva</p>
<p>  			function auto_login_email(data) {
			    $(".commentFBlogin").hide();
			    $(".commentOhnelogin").hide();
			    var html = '';
			    var name = data.user.first_name +' '+ data.user.last_name;
			    html += '<span class="fbUserWelcome">Bienvenue, <span id="fbUserRealName">'+ name +'</span></span><br />';
			    html += '<a href="" id="commentsForm_send_email" onclick="return false;">Soumettre Commentaire</button>';
			    html += '<a href="" class="emailLogoutButton" onclick="return false;">Déconnecter</a><br />';
			    html += '<a href="" id="emailManageAccount" onclick="return false;">Gérer le profil</a>';
			    html += '<input id="login_email_token" name="login_email_token" value="'+ data.token +'" type="hidden">';
			    html += '<input id="login_email_email" name="login_email_email" value="'+ data.user.email +'" type="hidden">';
			    $("#commentLoggedInEmail").html(html);
			    set_logged_in_cookie(data);
			    $("#commentLoggedInEmail").show();</p>
<p>  			}</p>
<p> 			///////////////////////////////////////////////////
  			function commentsForm_send_noFb() {
  				var fbForm_message = $.trim($("#fbForm_message").val());  
  				fbForm_message = fbForm_message.replace(/&/g, "+");
  				var fbForm_uri = $.trim($("#fbForm_uri").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				var fbForm_ip = $.trim($("#fbForm_ip").val());</p>
<p>  				var is_logged_in = false;
  				if ($("#is_logged_in").length) {
  				    is_logged_in = true;
  				}</p>
<p>  				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
  				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
  				var fbFormN_zip = $.trim($("#fbFormN_zip").val());
  				var fbFormN_location = $.trim($("#fbFormN_location").val());
  				var fbFormN_email = $.trim($("#fbFormN_email").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message 
  				if ($("#fbFormN_password").length) {
  				    var fbFormN_password = $.trim($("#fbFormN_password").val());
  				}
  				if ($("#fbFormN_password_confirm").length) {
  				    var fbFormN_password_confirm = $.trim($("#fbFormN_password_confirm").val());
  				}</p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var messageReg =  fbForm_message.length > 1; 
				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				// dont check for ZIP, cause of foreign countries 
				//var locReg = !(fbFormN_zip.match(/(*)/)) && !(fbFormN_location.match(/(*)/)) && fbFormN_zip.length > 1 && fbFormN_location.length > 1;   
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; 
				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;
				var password_params = '';</p>
<p>				$("#commentError_name").hide();
				$("#commentError_location").hide();
				$("#commentError_email").hide();
				$("#commentError_password").hide();
				$("#commentError_message").hide();
				$("#commentError_disclaimer").hide();
				$(".disclaimerText").hide();</p>
<p>				if (messageReg == false) {
					$("#commentError_message").show();
					hasErrors = true;
				}</p>
<p>				if (nameReg == false) {
					$("#commentError_name").show();
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentError_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){      
					$("#commentError_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;
				}</p>
<p>				if (!($('#disclaimerConfirmBtn').is(':checked'))) {
					$("#commentError_disclaimer").show();
					$(".disclaimerText").show();
					hasErrors = true;
				}</p>
<p>				if (!hasErrors) {</p>
<p>					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					save_form_to_cookie('comment_form_input');</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "html",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=sendComment&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID,
						error: function(){ },
						success: function(){
							$("#commentLogin").hide();
							$("#fbForm_message").hide();
							$("#fbForm_message_count_class").hide();
							$("#commentError_message").hide();
							$("#commentInfo_Fb").hide();
							$("#commentsForm_send").hide();
							$("#fbCommentPublishCheckbox").hide();
							$("#commentsForm_send_noFb").hide();
							$("#disclaimerConfirm").hide();
							$("#commentInfo_noFb").show();
						}
					});
				}
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_send_email() {
				var fbForm_message = $.trim($("#fbForm_message").val());  
				fbForm_message = fbForm_message.replace(/&/g, "+");
				var fbForm_uri = $.trim($("#fbForm_uri").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_ip = $.trim($("#fbForm_ip").val());
				var login_email_token = $.trim($("#login_email_token").val());</p>
<p>  				var is_logged_in = false;
  				if ($("#is_logged_in").length) {
  				    is_logged_in = true;
  				}</p>
<p>  				var fbFormN_email = $.trim($("#login_email_email").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message </p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var messageReg =  fbForm_message.length > 1; </p>
<p>				$("#commentError_name").hide(); 	
				$("#commentError_location").hide(); 
				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); 
				$("#commentError_message").hide(); 	
				$("#commentError_disclaimer").hide(); 	
				$(".disclaimerText").hide();</p>
<p>				if (messageReg == false) {
					$("#commentError_message").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>			    if (!($('#disclaimerConfirmBtn').is(':checked'))) {
					$("#commentError_disclaimer").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					commentNotSent = false;</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=send_comment_email&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&customer_id="+fbForm_customerId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID+"&email="+encodeURIComponent(fbFormN_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
						          	if (data.code == 1) {
						          	    $("#commentLogin").hide();
						          	    $("#fbForm_message").hide();
						          	    $("#fbForm_message_count_class").hide();      	
						          	    $("#commentError_message").hide();
									    $("#commentError_name").hide(); 	 	
									    $("#commentError_location").hide(); 	
									    $("#commentError_email").hide();	
									    $("#commentError_disclaimer").hide(); 	
									    $(".disclaimerText").hide();
									    $("#commentInfo_noFb").hide(); 
    									$("#commentsForm_send").hide(); 
									    $("#fbCommentPublishCheckbox").hide();
									    $("#disclaimerConfirm").hide();
									    $("#commentsForm_send_noFb").hide();	
						          	    $("#commentInfo_noFb").show();  
						          	    $("#commentSendLoading").hide();
						          	    $("#commentInfo_Notice").hide();
						          	    $("#manageAccount").hide();
						          	}
						          	else if (data.code == 2) {
						          	    setMessageBox(data.message, data.addclass);
						          	}
					    }     
				 	});		
				}		
  			}  			</p>
<p>			///////////////////////////////////////////////////
			///////////////////////////////////////////////////
  			// some jquery UI functions
			function fbLoginDisplay(loginState) {
				$(document).ready(function(){
					if (loginState == true) {
						$(".notloggedToFacebook").hide();
						$(".loggedToFacebook").show();
						$('#commentsForm_send_noFb').hide();
						$('#commentsForm_send').show();
						$("#fbCommentPublishCheckbox").show();
						$(".recommendCommentFacebook").show();
					}
	else {
						$(".loggedToFacebook").hide(); 
						$(".notloggedToFacebook").show(); 
						$('#commentsForm_send').hide();
						$('#commentsForm_send_noFb').show();
						$("#fbCommentPublishCheckbox").hide();
						$(".recommendCommentFacebook").hide();
						if ($("#commentLoggedInEmail").length) {
							$("#commentLoggedInEmail").show();
						}
				}});
  			}</p>
<p>  			///////////////////////////////////////////////////
  			function fbDomInsert(username, uid, token) {  
						$(document).ready(function(){  
		           $("#fbUserRealName").html(username); 
		           var imgHtml= "<img src='https://graph.facebook.com/me/picture?access_token="+token+"'/>";
		           $("#fbUserProfilePicture").html(imgHtml);</p>
<p>		           $("#fbForm_realName").val(username); 
		           $("#fbForm_userId").val(uid);
		           $("#fbForm_userToken").val(token);
	        	});
				}
				///////////////////////////////////////////////////
				function loginDrop() {
					$(document).ready(function(){
						$('#commentLogin').slideDown();
						$("textarea#fbForm_message").attr("rows", 6);
						$("#commentsForm_send").removeAttr("disabled");
						$("#commentsForm_send_noFb").attr("disabled", "");
						$("#commentsForm_send_email").removeAttr("disabled");
						$("#fbForm_message").val("");
						$('#fbForm_message').removeAttr("onclick");
					});
				}
		///////////////////////////////////////////////////
		function doOnFbConnect() {
			$(".recommendCommentFacebook").show(); // for comments below: display checkbox to choose if recommended comments get published on facebook
		}</p>
<p>		///////////////////////////////////////////////////
		function log(msg){
			if (typeof console === 'undefined') {
				return false;
			} else {
				return true;
			}
		}</p>
<p>		/////////////////////////////////////////////////////////////////////////////////	
        /////////////////////////////////////////////////////////////////////////////////  
        /////////////////////////////////////////////////////////////////////////////////
        // main </p>
<p>        // fb auth 
        var fbAccessToken = ''; 
        var fbUserID = ''; 
        var fbUserName = '';  
        FBcomments.initFb(); 
        var nnFBloggedIn = check_nnCookie();  
   			if (nnFBloggedIn == true) {
   				fbLoginDisplay(true); </p>
<p>   			}
   			else {
   				fbLoginDisplay(false); 
   			}</p>
<p>function inputFocus(thisFor, thisClass) {
    $('#'+ thisFor).focus(function() {
        $('.'+ thisClass).animate({ opacity: "0" }, "fast");
    }).blur(function() {
        if($(this).val() == "") {
            $('.'+ thisClass).animate({ opacity: "1" }, "fast");
        }
    });
}</p>
<p>			//// some more jquery stuff
   			$(document).ready(function(){
				read_logged_in_cookie();</p>
<p>				// hide 'populär auf facebook' widget in sideline
				//$("#fb_activityFeed").hide(); </p>
<p>				$("#fbCommentPublishCheckbox").hide();</p>
<p>$('#fbFormN_password_login').keypress(function(e){
    if (e.which == 13){
        e.preventDefault();
        $(this).blur();
        $('#commentsForm_post_confirmed').focus().click();
        return false;
    }
});</p>
<p>$('#fbFormN_smsVer').keypress(function(e){
    if (e.which == 13){
        e.preventDefault();
        $(this).blur();
        $('#commentsForm_sms_veryfy').focus().click();
        return false;
    }
});</p>
<p>// Bind to set the fadeout of form labels when clicked or focused
$('.sbsLabel label').each(function () {
    var thisFor = $(this).attr('for');
    var thisClass = $(this).attr('class');
    inputFocus(thisFor, thisClass);
});</p>
<p>   				// some form display handling 
					$('#disclaimerButtonShow').bind('click', function(){
						$('.disclaimerText').show();
						$('#disclaimerButtonShow').css('display','none');
						$('#disclaimerButtonHide').css('display','inline');
					});
					$('#disclaimerButtonHide').bind('click', function(){
						$('.disclaimerText').hide();
						$('#disclaimerButtonHide').css('display','none');
						$('#disclaimerButtonShow').css('display','inline');
					});</p>
<p>				// display login data on start 
				if ($("#fbUserRealName").html()) {
					if ($("#fbUserRealName").html().length >= 2){ // && $("textarea#fbForm_message").attr("rows") > 2
						$("#fbCommentPublishCheckbox").show();
					}
				}</p>
<p>				// clear textarea 
				$("#fbForm_message").val(''); </p>
<p>				// submit buttons , disable on on reload 
				$("#commentsForm_send").attr("disabled", "true");
				$("#commentsForm_send_noFb").attr("disabled", "true");</p>
<p>				// set checkboxes
				$('#fbForm_publishOnFB').attr('checked', true); 
				$('.recommendCommentPublishOnFb').attr('checked', true); 
				$('#disclaimerConfirmBtn').attr('checked', false);</p>
<p>				// fixes a tiny bug: if values are prefilled on reload they should not be grey 
				var myFbFormIds = ('fbFormN_firstName', 'fbFormN_surname', 'fbFormN_zip', 'fbFormN_location', 'fbFormN_email', 'fbFormN_password', 'fbFormN_password_confirm');
				for (var ii=0;ii < myFbFormIds.length; ii++) {
				  if ($("#"+myFbFormIds(ii)).length) {
					if (!($("#"+myFbFormIds(ii)).val().match(/(*)/))) {
						$("#"+myFbFormIds(ii)).css('color','#000000'); 
					};
				  }
				}

				$('.comment_signup_form_toggle').live('click', function(){
					$('#comment_signup_form').toggle('slow');
					$('#comment_login_form').toggle('slow');
					return false;
				});

				$('.comment_form_forgot_password').live('click', function(){
				    $('#comment_password_reset_form').toggle('slow');
				    $('#comment_login_form').toggle('slow');
				    return false;
				});

				$('.emailLogoutButton').live('click', function() {
					delete_cookie('comment_login_details_email');
					$("#commentLoggedInEmail").html('');
					$("#manageAccount").html('');
					$("#commentLoggedInEmail").hide();
					$(".commentFBlogin").show();
					$(".commentOhnelogin").show();
				});

				$('#show_update_phone').live('click', function() {
					$("#commentLoggedInEmail").html('');
					$("#manageAccount").html('');
					$("#commentLoggedInEmail").hide();
					$("#comment_login_form").hide();

					$("#change_phonenumber").show();
					$(".commentOhnelogin").show();
				});

				$('#commentsForm_send_email').live('click', function() {
				    if (commentNotSent) {
				        commentsForm_send_email();
				    }
				});

				$('#emailManageAccount').live('click', function () {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());

				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=login_manage_account&#038;customer_id="+customer_id+"&#038;email="+encodeURIComponent(login_email_email)+"&#038;token="+login_email_token,
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#manageAccount').html(data.message);
					            $('#manageAccount').show();
					        }
					    }     
				 	});
				});

				});
        </script><br /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions</title>
		<link>https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-65/</link>
		
		<dc:creator><![CDATA[Conseil-Chauffage]]></dc:creator>
		<pubDate>Tue, 17 Mar 2020 11:18:12 +0000</pubDate>
				<category><![CDATA[Chauffage au Bois]]></category>
		<category><![CDATA[avec]]></category>
		<category><![CDATA[bois]]></category>
		<category><![CDATA[fines]]></category>
		<category><![CDATA[finir]]></category>
		<category><![CDATA[les]]></category>
		<category><![CDATA[Linvité]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[pour]]></category>
		<category><![CDATA[poussières]]></category>
		<category><![CDATA[Réflexions]]></category>
		<category><![CDATA[Signatures]]></category>
		<guid isPermaLink="false">https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-65/</guid>

					<description><![CDATA[L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions Le CO2 neutre, deuxième source d&#39;énergie renouvelable en Suisse après l&#39;énergie hydraulique, le chauffage au bois ou le bois énergie, participe activement à la politique climatique. Soutenu par la Confédération et les cantons, il ne cesse de croître et représente désormais plus de 10% de la chaleur consommée en Suisse. Compte tenu des futures économies d&#39;énergie des bâtiments et de la gestion durable ... <p class="read-more-container"><a title="L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions" class="read-more button" href="https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-65/#more-1845" aria-label="Plus sur L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions">Lire l'Article</a></p>]]></description>
										<content:encoded><![CDATA[<h1>L&rsquo;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions</h1>
<p></p>
<div id="mainContent">
<p>	Le CO2 neutre, deuxième source d&#39;énergie renouvelable en Suisse après l&#39;énergie hydraulique, le chauffage au bois ou le bois énergie, participe activement à la politique climatique. Soutenu par la Confédération et les cantons, il ne cesse de croître et représente désormais plus de 10% de la chaleur consommée en Suisse.</p>
<p>Compte tenu des futures économies d&#39;énergie des bâtiments et de la gestion durable de nos forêts, son potentiel est estimé pour le canton de Vaud à 30% de la chaleur consommée.</p>
<p>Mais des voix s&#39;élèvent régulièrement pour alerter sur les émissions polluantes de poussières fines du bois. Comment est-ce vraiment?</p>
<p>La Commission fédérale de l&#39;hygiène de l&#39;air a très bien résumé le problème dans son rapport &quot;Les poussières fines en Suisse 2013&quot;. Elle explique les très grandes différences existant selon le type de chauffage (ancien ou moderne, automatique ou manuel) et le type de bois de chauffage (bûches, granulés, copeaux de bois). Grâce à l&#39;amélioration des conditions de combustion, il met en évidence la diminution très importante de la quantité de poussières fines émises, mais, en plus et surtout, leurs changements de composition chimique et donc de nocivité.</p>
<p>Une combustion optimale ou complète signifie l&#39;absence totale ou presque complète de produits imbrûlés, principalement de la suie et du goudron, composés toxiques classés cancérigènes par l&#39;OMS. Les petites quantités de poussières fines résultant de la combustion complète du bois sont composées de sels minéraux peu ou peu toxiques pour la santé.</p>
<p>Concrètement, la Commission fédérale met en évidence une réduction du poids des poussières fines jusqu&#39;à un facteur 100 avec les usines de granulés modernes par rapport aux anciennes usines de grumes. Si l&#39;on tient toujours compte de l&#39;évolution de la composition chimique des poussières, le gain en termes de protection de la santé atteint un facteur de 1000, voire beaucoup plus. Une véritable révolution silencieuse a eu lieu!</p>
<p>Il convient donc d&#39;encourager l&#39;utilisation des installations de chauffage modernes, de les faire fonctionner correctement et de les entretenir en appliquant les règles pertinentes. C&#39;est l&#39;assurance d&#39;une combustion complète et propre du bois.</p>
<p>Pour un usage domestique, c&#39;est notamment le cas des poêles et chaudières à granulés automatiques, choisissez un combustible très sec assurant une combustion complète. Les granulés sont également idéaux pour les bâtiments ou pour un groupe de bâtiments.</p>
<p>Pour le chauffage central des villages ou des quartiers d&#39;habitation, les chaudières à copeaux de bois sont privilégiées et équipées de filtres performants pour respecter les très strictes limites d&#39;émission fixées par la Confédération (OPair). </p>
<p class="publishedDate">Créé: 02.03.2020, 06:49</p>
</p></div>
<p><script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)(0);
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "http://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.3";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script><script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)(0);
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "http://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.3";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script><script language="javascript"></p>
<p>		var commentNotSent = true;
		///////////////////////////////////////////////////
		// object FBcomments, can be reused for FB authentification
        var FBcomments = {
        		fbAppId : '251285271592561',
                version: 'v2.0',
        		fbChannel_path : '/facebook_xd_receiver.html', 
        		isLoggedIn : false, </p>
<p>            ///////////////////////////////////////////////////
        		initFb : function() {	
	        		window.fbAsyncInit = function() {
                    FB.init({appId: FBcomments.fbAppId, version: FBcomments.version});
	                if (typeof FB === 'undefined') {
        		 				alert($("#tr_fbConnectError").html()); 
        		 			} 
	            };</p>
<p>                (function(d, s, id) {
                    var js, fjs = d.getElementsByTagName(s)(0);
                    if (d.getElementById(id)) return;
                    js = d.createElement(s); js.id = id;
                    js.src = "http://connect.facebook.net/fr_FR/sdk.js";
                    fjs.parentNode.insertBefore(js, fjs);
                }(document, 'script', 'facebook-jssdk'));
          	},
          	///////////////////////////////////////////////////
          	fbLogin : function() { 
          	 var populateFbData_ = this.populateFbData;
          	 var fbDisplay_ = this.fbDisplay;	
          	 var promptFanBox_ = this.promptFanBox;</p>
<p>        		 FB.init({appId: FBcomments.fbAppId, version: FBcomments.version}); 
        		 if (typeof FB === 'undefined') {
        		 	alert($("#tr_fbConnectError").html()); 
        		 } 	
							  	FB.login(function(response) {
									  if (response.authResponse) {
									     // granted some permissions 
									     this.isLoggedIn = true; 
									  	 populateFbData_(response.authResponse.accessToken, response.authResponse.userID);
									  	 fbDisplay_(); 
									  	 promptFanBox_(response.authResponse.userID);
									  } 
									  else { 
									    // user is not logged
									    this.isLoggedIn = false;
									  	fbDisplay_();  
									  }
									}, {scope:'publish_actions'});
				},
				///////////////////////////////////////////////////
				fbLogout : function() {  
					var fbDisplay_ = this.fbDisplay;
					$.cookie('fbsNN', '', { path: '/', expires: -1 });
					isLoggedIn = false;
					fbDisplay_();
        		},</p>
<p>				///////////////////////////////////////////////////
				populateFbData : function(accessToken, userID) {
					fbAccessToken = accessToken;
					fbUserID = userID;
					FB.api(
					'/me',
					{
						fields: 'name'
					},
					function(response) {
						var fbUserName = '';
						if (response){
							if (response.name){
								fbUserName = response.name;
							}
						}
						// store a fb-independent cookie for future login 
						$.cookie('fbsNN', "access_token="+escape(fbAccessToken)+""+"&uid="+fbUserID+"&realname="+escape(fbUserName), { path: '/', expires: 30 }); 
						fbDomInsert(fbUserName, fbUserID, fbAccessToken);
					}
					);
				},</p>
<p>				///////////////////////////////////////////////////
				promptFanBox : function(userId) {
  				 	FB.api({
					    method: 'fql.query',        
					    query: 'SELECT uid FROM page_fan WHERE uid='+userId+' AND page_id='+10150100771335484 
						},
							function(response) {
								if (typeof response(0) === 'undefined') {
									// user has not liked the page 
									$(document).ready(function(){  
										var txt = $("#tr_fanBoxPromptTitle").html(); 
										tb_show(txt,'/facebook_iframe.html?&height=250&width=645');
									});
								}	
							}
						 );
  				 },
  				 ///////////////////////////////////////////////////
  				 fbDisplay : function() {    
  				 		fbLoginDisplay(this.isLoggedIn );  
  				 		loginDrop();
  				 }
  				 ///////////////////////////////////////////////////
        } // end object</p>
<p>				///////////////////////////////////////////////////
				// cookie based user registration, maybe replaced by user DB in future
  			function fetch_nnCookie() { 
  				 		var nnRegex = /access_token=((^&)+)&uid=((0-9)+)&realname=(.+)/; 
							nnRegex.exec($.cookie('fbsNN')); 		 
							fbAccessToken = unescape(RegExp.$1);      
							fbUserID = RegExp.$2;
							fbUserName = unescape(RegExp.$3);	  
  			}
				///////////////////////////////////////////////////
  			function check_nnCookie() {	          
  				 	if( $.cookie('fbsNN') == null) {   	 
  				 		return false; 
  				 	}
  				 	else { 
							fetch_nnCookie();   
  				 		// check for valid data, delete cookie otherwise 
  				 		if (fbAccessToken != null && fbAccessToken.length > 0 && fbUserID != null && fbUserID.length > 0  && fbUserName != null && fbUserName.length > 0 && fbUserName != 'undefined') {
  				 			fbDomInsert(fbUserName, fbUserID, fbAccessToken); 
  				 			return true;   
  				 		}
  				 		else {
  				 			$.cookie('fbsNN', '', { expires: -1 }); 
  				 			return false;  
  				 		}
  				 	}
  			}</p>
<p>  			///////////////////////////////////////////////////
  			// form handler 
  			function commentsForm_send () {
  				var fbForm_message = $.trim($("#fbForm_message").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message 
  				var fbForm_uri = $.trim($("#fbForm_uri").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				var fbForm_ip = $.trim($("#fbForm_ip").val());			
  				var fbForm_realName = $.trim($("#fbForm_realName").val());
  				var fbForm_userId = $.trim($("#fbForm_userId").val());
  				var fbForm_userToken = $("#fbForm_userToken").val(); 
  				var fbForm_publishOnFB = $("#fbForm_publishOnFB:checked").val();
  				if (typeof fbForm_publishOnFB === 'undefined') {
  					fbForm_publishOnFB = 0; 
  				}
					var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());	
					var hasErrors = false; 
					var messageReg =  fbForm_message.length > 1; </p>
<p>					if (messageReg == false) {
						$("#commentError_message").show(); 	
						hasErrors = true; 
					}
					if (fbFormN_gotcha.length > 1) {
						hasErrors = true; 
					} </p>
<p>          if (!($('#disclaimerConfirmBtn').is(':checked'))) {
						$("#commentError_disclaimer").show();
						hasErrors = true; 
					}
  				if (!hasErrors) {
						$("#commentsForm_send").attr("disabled", "true");
						$("#commentsForm_send_noFb").attr("disabled", "true");</p>
<p>						$("#commentSendLoading").show(); 
						$.ajax({ type: "POST",
							dataType: "text",
							cache: false,
							url: "/community/talkback_ajax.html",
							async: true,
							data: "action=sendComment&fbForm_realName="+encodeURIComponent(fbForm_realName)+"&fbForm_userId="+fbForm_userId+"&fbForm_userToken="+encodeURIComponent(fbForm_userToken)+"&fbForm_publishOnFB="+fbForm_publishOnFB+"&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID,
							error: function(){
								alert($("#tr_commentSendError").html()); 
							},
							complete: function(reqCode){
								$("#commentLogin").hide();
								$("#fbForm_message").hide();
								$("#fbForm_message_count_class").hide();      	
								$("#commentError_message").hide();
									$("#commentError_name").hide();
									$("#commentError_location").hide();
									$("#commentError_email").hide();
									$("#commentError_disclaimer").hide();
									$(".disclaimerText").hide();
									$("#commentInfo_noFb").hide();
									$("#commentsForm_send").hide();
									$("#fbCommentPublishCheckbox").hide();
									$("#commentsForm_send_noFb").hide();
								$("#commentInfo_Fb").show();
								$("#commentSendLoading").hide();
							}
						});
					} // hasErrors
				}</p>
<p> 			//////////////////////////////////////////////////
 			function delete_cookie(cookie) {
				$.cookie(cookie, null, {path: '/'});
 			}</p>
<p>			//////////////////////////////////////////////////
			function save_form_to_cookie(class_name) {
				var form = new Array();
				$("."+ class_name).each(function(index) {
					form(index) = {};
					form(index)('id') = $(this).attr("id");
					form(index)('val') = $(this).val();
				});
				$.cookie(class_name, JSON.stringify(form), {json:true});
			}</p>
<p> 			//////////////////////////////////////////////////
 			function save_object_to_cookie(data) {
 			    var form = new Array();
 			    form(0)('id') = 'fbFormN_firstName';
 			    form(0)('val') = '';
 			    form(1)('id') = 'fbFormN_surname';
 			    form(1)('val') = '';
 			    form(2)('id') = 'fbFormN_zip';
 			    form(2)('val') = '';
 			    form(3)('id') = 'fbFormN_location';
 			    form(3)('val') = '';
 			    form(4)('id') = 'fbFormN_email';
 			    form(4)('val') = '';
 			    $("."+ class_name).each(function(index) {
 			        form(index) = {};
 			        form(index)('id') = $(this).attr("id");
 			        form(index)('val') = $(this).val();
 			    });
 			    $.cookie(class_name, JSON.stringify(form), {json:true});
 			}</p>
<p>			//////////////////////////////////////////////////
			function set_logged_in_cookie(data) {
			    $.cookie('comment_login_details_email', JSON.stringify(data), {json:true,expires:14,path: '/'});
			}</p>
<p>			//////////////////////////////////////////////////
			function read_logged_in_cookie() {
				var cookie_form_data_json = $.cookie('comment_login_details_email');
				if (cookie_form_data_json != null) {
					var form_data = JSON.parse(cookie_form_data_json);
					if (typeof form_data != 'undefined') {
						if (form_data.user.customer_id == 53){
							if (typeof form_data.pcr != 'undefined' && form_data.pcr != null && form_data.pcr.length > 0){
								if (typeof form_data.uid != 'undefined' && form_data.uid != null && form_data.uid != 0){
									auto_login_email(form_data);
									return;
								}
							}
						} else {
							auto_login_email(form_data);
						}
					}
				}</p>
<p>			}</p>
<p> 			//////////////////////////////////////////////////
 			function read_form_from_cookie(class_name) {
 			    var cookie_form_data_json = $.cookie(class_name);
 			    var form_data = JSON.parse(cookie_form_data_json);
 			    $.each(form_data, function(index, value) {
 			        $("#"+ value.id).val(value.val);
 			    });
 			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_create_account() {
				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
				var fbFormN_zip = $.trim($("#fbFormN_zip").val());
				var fbFormN_location = $.trim($("#fbFormN_location").val());
				var fbFormN_telephone = $.trim($("#fbFormN_telephone").val());
				var fbFormN_email = $.trim($("#fbFormN_email").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				if ($("#fbFormN_password").length) {
				    var fbFormN_password = $.trim($("#fbFormN_password").val());
				}
				if ($("#fbFormN_password_confirm").length) {
				    var fbFormN_password_confirm = $.trim($("#fbFormN_password_confirm").val());
				}</p>
<p>				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; 
if (fbFormN_telephone.length > 1) {</p>
<p>			var telephoneReg = (fbFormN_telephone.match(/^(ds)*$/));</p>
<p>}
				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;</p>
<p>				var password_params = '';</p>
<p>				$("#commentError_name").hide(); 	
				$("#commentError_location").hide(); 
				$("#commentError_telephone").hide(); 
				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); 
				$(".disclaimerText").hide();</p>
<p>				if (nameReg == false) {
					$("#commentError_name").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentError_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (telephoneReg == null) {
					$("#commentError_telephone").show();
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){
					$("#commentError_email").show();
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>				if ($("#fbFormN_password").length && $("#fbFormN_password_confirm").length) {
					if (fbFormN_password != fbFormN_password_confirm) {
					    $("#commentError_password").show();
					    hasErrors = true;
					}
					else {
					    password_params += "&fbFormN_password=" + encodeURIComponent(fbFormN_password);
				        password_params += "&fbFormN_password_confirm=" + encodeURIComponent(fbFormN_password_confirm);
					}
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					save_form_to_cookie('comment_form_input');
					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_create_account&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_telephone="+encodeURIComponent(fbFormN_telephone)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&customer_id="+fbForm_customerId+"&story_id="+encodeURIComponent(fbForm_storyId)+password_params,
						error: function(){ },
						success: function(data){
							if (data.code == 0) {
								setMessageBox(data.message, data.addclass);
							} else {</p>
<p>			$("#disclaimerConfirm").hide();
			$("#commentLogin").hide();
			$("#fbForm_message").hide();
			$("#fbForm_message_count_class").hide();
			$("#commentError_message").hide();
			$("#commentInfo_Fb").hide(); 
			$("#commentsForm_send").hide();
			$("#fbCommentPublishCheckbox").hide();
			$("#commentsForm_send_noFb").hide();</p>
<p>								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p>				/////////////////////////////////////////////////
				function confirm_delete_account() {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=confirm_delete_account&customer_id="+customer_id+"&email="+encodeURIComponent(login_email_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#deleteAccount').html(data.message);
					            $('#deleteAccount').fadeIn(800);
					            $('#commentFormSubContainer').slideUp(1000);
					            $('body,html').stop().animate({
					                'scrollTop': $("#deleteAccount").offset().top-200
					            }, 1000)
					        }
					    }     
				 	});
				}</p>
<p>                /////////////////////////////////////////////////
				function cancel_delete_account() {
					$('#deleteAccount').html('');
					$('#deleteAccount').hide();
					$('#commentFormSubContainer').slideDown(1000);
				}</p>
<p>                /////////////////////////////////////////////////
				function delete_account() {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=delete_account&customer_id="+customer_id+"&email="+encodeURIComponent(login_email_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#deleteAccount').html('');
					            $('#deleteAccount').hide();
					            $('#commentFormSubContainer').slideDown(1000);
					            setMessageBox(data.message, data.addclass);
								delete_cookie('comment_login_details_email');
					        }
					        else if (data.code == 2) {
					            $('#deleteAccount').html('');
					            $('#deleteAccount').hide();
					            $('#commentFormSubContainer').slideDown(1000);
					            setMessageBox(data.message, data.addclass);
					        }
					    }     
				 	});
				}</p>
<p>  			//////////////////////////////////////////////////
  			function commentsForm_update_account_close() {
  			    $("#manageAccount").html('');
  			}</p>
<p> 			///////////////////////////////////////////////////
  			function commentsForm_update_account() {
  				var fbFormN_firstName = $.trim($("#update_firstName").val());
  				var fbFormN_surname = $.trim($("#update_surname").val());
  				var fbFormN_zip = $.trim($("#update_zip").val());
  				var fbFormN_location = $.trim($("#update_location").val());
  				var fbFormN_telephone = $.trim($("#update_telephone").val());
  				var fbFormN_email = $.trim($("#update_email").val());
  				var fbFormN_email_hidden = $.trim($("#update_email_hidden").val());
  				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
  				var login_email_token = $.trim($("#login_email_token").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				if ($("#update_password").length) {
  				    var fbFormN_password = $.trim($("#update_password").val());
  				}
  				if ($("#update_password_confirm").length) {
  				    var fbFormN_password_confirm = $.trim($("#update_password_confirm").val());
  				}</p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; </p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;</p>
<p>				var password_params = '';</p>
<p>				$("#commentErrorUpdate_name").hide(); 	
				$("#commentErrorUpdate_location").hide(); 
				$("#commentErrorUpdate_telephone").hide(); 
				$("#commentErrorUpdate_email").hide(); 
				$("#commentErrorUpdate_password").hide(); 
				$(".disclaimerText").hide();</p>
<p>				if (nameReg == false) {
					$("#commentErrorUpdate_name").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentErrorUpdate_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (telephoneReg == null) {
					$("#commentErrorUpdate_telephone").show();
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){
					$("#commentErrorUpdate_email").show();
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>				if ($("#fbFormN_password").length && $("#fbFormN_password_confirm").length) {
					if (fbFormN_password != fbFormN_password_confirm) {
					    if ((fbFormN_password != 'mot de passe' || fbFormN_password_confirm != 'confirmer le mot de passe') && (fbFormN_password != 'password' || fbFormN_password_confirm != 'confirm password')) {
					        $("#commentErrorUpdate_password").show();
					        hasErrors = true;
					    }
					}
					else {
					    password_params += "&fbFormN_password=" + encodeURIComponent(fbFormN_password);
				        password_params += "&fbFormN_password_confirm=" + encodeURIComponent(fbFormN_password_confirm);
					}
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
	                save_form_to_cookie('comment_form_input');
					jQuery.ajax({ type: "POST",
				          dataType: "json",
				          cache: false,
	                	  url: "/community/talkback_ajax.html",
				          async: true,
				          data: "action=talkback_update_account&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_telephone="+encodeURIComponent(fbFormN_telephone)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbFormN_email_hidden="+encodeURIComponent(fbFormN_email_hidden)+"&customer_id="+fbForm_customerId+password_params+"&token="+login_email_token+"&story_id="+encodeURIComponent(fbForm_storyId),
				          error: function(){ },
				          success: function(data){
				          	if (data.code == 1) {
							    $("#disclaimerConfirm").hide();
				          	    $("#commentLogin").hide();
				          	    $("#fbForm_message").hide();
				          	    $("#fbForm_message_count_class").hide();
				          	    $("#commentErrorUpdate_message").hide();
				          	    $("#commentInfo_Fb").hide(); 
				          	    $("#commentsForm_send").hide();
				          	    $("#fbCommentPublishCheckbox").hide();
							    $("#commentsForm_send_noFb").hide(); 
			          		    $("#commentInfo_noFb").show();
			          		    $("#manageAccount").toggle();
			          		    $("#commentInfo_noFb").text(data.message);
			          		    setMessageBox(data.message, data.addclass);
								delete_cookie('comment_login_details_email');
			          		} else if (data.code == 2){
								$("#commentLogin").show();
								$("#fbForm_message").show();
								$("#fbForm_message_count_class").show();
								$("#commentErrorUpdate_message").hide();
								$("#commentInfo_Fb").hide(); 
								$("#commentsForm_send").hide();
								$("#fbCommentPublishCheckbox").hide();
								$("#commentsForm_send_noFb").hide(); 
								$("#commentInfo_noFb").hide();
								$("#manageAccount").toggle();
								setMessageBox(data.message, data.addclass);
								if (data.user.customer_id == 53){
									auto_login_email(data);
								}
							} else if (data.code == 3){
								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p> 			// Handler to reset the timer on each notification 
 			var timeoutHandle;
 			function setMessageBox(message, boxclass) {
 			    $("#messageBox").hide();
 			    $("#messageBox").html(message);
 			    $("#messageBox").removeClass("warning error success").addClass(boxclass);
 			    $("#messageBox").fadeIn(1500);</p>
<p> 			    clearTimeout(timeoutHandle);</p>
<p> 			    timeoutHandle = setTimeout(function(){
 			        $("#messageBox").fadeOut(2000, function () {
 			      });
 			    }, 12000);
 			}</p>
<p> 			function forgot_password_send() {
				var email = $.trim($('#password_forgot_email').val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				var hasErrors = false;</p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/;</p>
<p>				if(emailRegObj.test(email) == false){      
					$("#commentError_password_forgot_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {</p>
<p>					jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=reset_password&customer_id="+fbForm_customerId+"&email="+encodeURIComponent(email),  
					    error: function(){ },
					    success: function(data){
						        if (data.code = 0) {
						            setMessageBox(data.message, data.addclass);
						        }
						        else if (data.code = 1) {
						            $('#comment_password_reset_form').toggle('slow');
						            $('#comment_login_form').toggle('slow');
						            setMessageBox(data.message, data.addclass);
						        }
					    }     
				 	});</p>
<p>				}
 			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_login_noFb() {
				var fbFormN_email = $.trim($("#fbFormN_email_login").val());
				var fbFormN_password = $.trim($("#fbFormN_password_login").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				var hasErrors = false;</p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/;</p>
<p>				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); </p>
<p>				if(emailRegObj.test(fbFormN_email) == false){      
					$("#commentError_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {</p>
<p>					//$("#commentsForm_send").attr("disabled", "true");
					//$("#commentsForm_send_noFb").attr("disabled", "true");
					//save_form_to_cookie('comment_form_input');</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_login_email&email="+encodeURIComponent(fbFormN_email)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password),
						error: function(){</p>
<p>						},
						success: function(data){
							//$("#commentLogin").hide();
							//$("#fbForm_message").hide();
							//$("#fbForm_message_count_class").hide();
							//$("#commentError_message").hide();
							//$("#commentInfo_Fb").hide(); 
							//$("#commentsForm_send").hide();
							//$("#fbCommentPublishCheckbox").hide();
							//$("#commentsForm_send_noFb").hide(); </p>
<p>							if (data.code == 2) {
								$('.commentFBlogin').hide();
								$('#comment_login_form').hide();
								$("#change_phonenumber").show();
								setMessageBox(data.message, data.addclass);
							} else {
								$("#change_phonenumber").hide();
								//$("#commentInfo_noFb").show();
								//$("#commentLoggedInEmail").text(data.message);
								setMessageBox(data.message, data.addclass);
								$("#commentLoggedInEmail").show();
								if ('user' in data) {
									auto_login_email(data);
								}
							}
						}
					});
				}
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_phone_change() {
				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_email_phone_chnage").hide();
							$("#fbFormN_email_phone_chnage").hide();
							$("#commentError_telephone_change").hide();
							$("#fbFormN_telephone_change").hide();
							$("#commentError_password_phone_chnage").hide();
							$("#fbFormN_password_phone_chnage").hide();
							$("#commentsForm_sms_change_veryfy").hide();</p>
<p>							$("#fbFormN_sms_change_Ver").show();
							$("#commentsForm_sms_send_change_veryfy").show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}</p>
<p>			///////////////////////////////////////////////////</p>
<p>			function comments_modifyForm_phone_change() {</p>
<p>				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_email_phone_chnage").hide();
							$("#fbFormN_email_phone_chnage").hide();
							$("#commentError_telephone_change").hide();
							$("#fbFormN_telephone_change").hide();
							$("#commentError_password_phone_chnage").hide();
							$("#fbFormN_password_phone_chnage").hide();
							$("#commentsForm_sms_change_veryfy").hide();</p>
<p>							$("#fbFormN_sms_change_Ver").show();
							$("#commentsForm_sms_send_change_veryfy").show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_phone_change_sms_verify() {
				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbFormN_sms_change_Ver = $.trim($("#fbFormN_sms_change_Ver").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change_sms_verify&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change)+"&code="+encodeURIComponent(fbFormN_sms_change_Ver),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_sms_change_ver").hide();
							$("#fbFormN_sms_change_Ver").hide();
							$("#commentsForm_sms_send_change_veryfy").hide();
							$("#change_phonenumber").hide();</p>
<p>							$('#comment_login_form').show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}
			///////////////////////////////////////////////////
			function commentsForm_sms_verify() {
				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
				var fbFormN_telephone = $.trim($("#fbFormN_telephone").val());
				var fbFormN_email = $.trim($("#fbFormN_email").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				var fbFormN_smsVer = $.trim($("#fbFormN_smsVer").val());</p>
<p>				var hasErrors = false;</p>
<p>				if (!hasErrors) {</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_sms_verify&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&email="+encodeURIComponent(fbFormN_email)+"&telefone="+encodeURIComponent(fbFormN_telephone)+"&code="+ fbFormN_smsVer +"&customer_id="+fbForm_customerId+"&story_id="+encodeURIComponent(fbForm_storyId),
						error: function(){
						},
						success: function(data){
							if (data.code == 0) {
								setMessageBox(data.message, data.addclass);
							} else {
								$("#commentLogin").hide();
								$("#sms_verify").hide();
								$("#fbFormN_smsVer").hide();
								$("#commentsForm_sms_veryfy").hide();</p>
<p>								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p>			//////////////////////////////////////////
			//swissnoise quiva
			function auto_login_quiva(data) {
				console.log("quiva login start");
				var user = {
					"remoteId": data.uid,
					"username": data.user.email,
					"password": data.pcr,
					"email": data.user.email,
					"firstName": data.user.first_name,
					"lastName": data.user.last_name,
					"zipCode": data.user.post_code,
					"locality": data.user.city,
					"phoneNumber": data.user.mobile_number
				};
				whatif.login(user).always(function() {</p>
<p>				});
				console.log("quiva login done");
			}
			//END swissnoise quiva</p>
<p>  			function auto_login_email(data) {
			    $(".commentFBlogin").hide();
			    $(".commentOhnelogin").hide();
			    var html = '';
			    var name = data.user.first_name +' '+ data.user.last_name;
			    html += '<span class="fbUserWelcome">Bienvenue, <span id="fbUserRealName">'+ name +'</span></span><br />';
			    html += '<a href="" id="commentsForm_send_email" onclick="return false;">Soumettre Commentaire</button>';
			    html += '<a href="" class="emailLogoutButton" onclick="return false;">Déconnecter</a><br />';
			    html += '<a href="" id="emailManageAccount" onclick="return false;">Gérer le profil</a>';
			    html += '<input id="login_email_token" name="login_email_token" value="'+ data.token +'" type="hidden">';
			    html += '<input id="login_email_email" name="login_email_email" value="'+ data.user.email +'" type="hidden">';
			    $("#commentLoggedInEmail").html(html);
			    set_logged_in_cookie(data);
			    $("#commentLoggedInEmail").show();</p>
<p>  			}</p>
<p> 			///////////////////////////////////////////////////
  			function commentsForm_send_noFb() {
  				var fbForm_message = $.trim($("#fbForm_message").val());  
  				fbForm_message = fbForm_message.replace(/&/g, "+");
  				var fbForm_uri = $.trim($("#fbForm_uri").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				var fbForm_ip = $.trim($("#fbForm_ip").val());</p>
<p>  				var is_logged_in = false;
  				if ($("#is_logged_in").length) {
  				    is_logged_in = true;
  				}</p>
<p>  				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
  				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
  				var fbFormN_zip = $.trim($("#fbFormN_zip").val());
  				var fbFormN_location = $.trim($("#fbFormN_location").val());
  				var fbFormN_email = $.trim($("#fbFormN_email").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message 
  				if ($("#fbFormN_password").length) {
  				    var fbFormN_password = $.trim($("#fbFormN_password").val());
  				}
  				if ($("#fbFormN_password_confirm").length) {
  				    var fbFormN_password_confirm = $.trim($("#fbFormN_password_confirm").val());
  				}</p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var messageReg =  fbForm_message.length > 1; 
				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				// dont check for ZIP, cause of foreign countries 
				//var locReg = !(fbFormN_zip.match(/(*)/)) && !(fbFormN_location.match(/(*)/)) && fbFormN_zip.length > 1 && fbFormN_location.length > 1;   
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; 
				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;
				var password_params = '';</p>
<p>				$("#commentError_name").hide();
				$("#commentError_location").hide();
				$("#commentError_email").hide();
				$("#commentError_password").hide();
				$("#commentError_message").hide();
				$("#commentError_disclaimer").hide();
				$(".disclaimerText").hide();</p>
<p>				if (messageReg == false) {
					$("#commentError_message").show();
					hasErrors = true;
				}</p>
<p>				if (nameReg == false) {
					$("#commentError_name").show();
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentError_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){      
					$("#commentError_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;
				}</p>
<p>				if (!($('#disclaimerConfirmBtn').is(':checked'))) {
					$("#commentError_disclaimer").show();
					$(".disclaimerText").show();
					hasErrors = true;
				}</p>
<p>				if (!hasErrors) {</p>
<p>					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					save_form_to_cookie('comment_form_input');</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "html",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=sendComment&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID,
						error: function(){ },
						success: function(){
							$("#commentLogin").hide();
							$("#fbForm_message").hide();
							$("#fbForm_message_count_class").hide();
							$("#commentError_message").hide();
							$("#commentInfo_Fb").hide();
							$("#commentsForm_send").hide();
							$("#fbCommentPublishCheckbox").hide();
							$("#commentsForm_send_noFb").hide();
							$("#disclaimerConfirm").hide();
							$("#commentInfo_noFb").show();
						}
					});
				}
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_send_email() {
				var fbForm_message = $.trim($("#fbForm_message").val());  
				fbForm_message = fbForm_message.replace(/&/g, "+");
				var fbForm_uri = $.trim($("#fbForm_uri").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_ip = $.trim($("#fbForm_ip").val());
				var login_email_token = $.trim($("#login_email_token").val());</p>
<p>  				var is_logged_in = false;
  				if ($("#is_logged_in").length) {
  				    is_logged_in = true;
  				}</p>
<p>  				var fbFormN_email = $.trim($("#login_email_email").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message </p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var messageReg =  fbForm_message.length > 1; </p>
<p>				$("#commentError_name").hide(); 	
				$("#commentError_location").hide(); 
				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); 
				$("#commentError_message").hide(); 	
				$("#commentError_disclaimer").hide(); 	
				$(".disclaimerText").hide();</p>
<p>				if (messageReg == false) {
					$("#commentError_message").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>			    if (!($('#disclaimerConfirmBtn').is(':checked'))) {
					$("#commentError_disclaimer").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					commentNotSent = false;</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=send_comment_email&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&customer_id="+fbForm_customerId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID+"&email="+encodeURIComponent(fbFormN_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
						          	if (data.code == 1) {
						          	    $("#commentLogin").hide();
						          	    $("#fbForm_message").hide();
						          	    $("#fbForm_message_count_class").hide();      	
						          	    $("#commentError_message").hide();
									    $("#commentError_name").hide(); 	 	
									    $("#commentError_location").hide(); 	
									    $("#commentError_email").hide();	
									    $("#commentError_disclaimer").hide(); 	
									    $(".disclaimerText").hide();
									    $("#commentInfo_noFb").hide(); 
    									$("#commentsForm_send").hide(); 
									    $("#fbCommentPublishCheckbox").hide();
									    $("#disclaimerConfirm").hide();
									    $("#commentsForm_send_noFb").hide();	
						          	    $("#commentInfo_noFb").show();  
						          	    $("#commentSendLoading").hide();
						          	    $("#commentInfo_Notice").hide();
						          	    $("#manageAccount").hide();
						          	}
						          	else if (data.code == 2) {
						          	    setMessageBox(data.message, data.addclass);
						          	}
					    }     
				 	});		
				}		
  			}  			</p>
<p>			///////////////////////////////////////////////////
			///////////////////////////////////////////////////
  			// some jquery UI functions
			function fbLoginDisplay(loginState) {
				$(document).ready(function(){
					if (loginState == true) {
						$(".notloggedToFacebook").hide();
						$(".loggedToFacebook").show();
						$('#commentsForm_send_noFb').hide();
						$('#commentsForm_send').show();
						$("#fbCommentPublishCheckbox").show();
						$(".recommendCommentFacebook").show();
					}
	else {
						$(".loggedToFacebook").hide(); 
						$(".notloggedToFacebook").show(); 
						$('#commentsForm_send').hide();
						$('#commentsForm_send_noFb').show();
						$("#fbCommentPublishCheckbox").hide();
						$(".recommendCommentFacebook").hide();
						if ($("#commentLoggedInEmail").length) {
							$("#commentLoggedInEmail").show();
						}
				}});
  			}</p>
<p>  			///////////////////////////////////////////////////
  			function fbDomInsert(username, uid, token) {  
						$(document).ready(function(){  
		           $("#fbUserRealName").html(username); 
		           var imgHtml= "<img src='https://graph.facebook.com/me/picture?access_token="+token+"'/>";
		           $("#fbUserProfilePicture").html(imgHtml);</p>
<p>		           $("#fbForm_realName").val(username); 
		           $("#fbForm_userId").val(uid);
		           $("#fbForm_userToken").val(token);
	        	});
				}
				///////////////////////////////////////////////////
				function loginDrop() {
					$(document).ready(function(){
						$('#commentLogin').slideDown();
						$("textarea#fbForm_message").attr("rows", 6);
						$("#commentsForm_send").removeAttr("disabled");
						$("#commentsForm_send_noFb").attr("disabled", "");
						$("#commentsForm_send_email").removeAttr("disabled");
						$("#fbForm_message").val("");
						$('#fbForm_message').removeAttr("onclick");
					});
				}
		///////////////////////////////////////////////////
		function doOnFbConnect() {
			$(".recommendCommentFacebook").show(); // for comments below: display checkbox to choose if recommended comments get published on facebook
		}</p>
<p>		///////////////////////////////////////////////////
		function log(msg){
			if (typeof console === 'undefined') {
				return false;
			} else {
				return true;
			}
		}</p>
<p>		/////////////////////////////////////////////////////////////////////////////////	
        /////////////////////////////////////////////////////////////////////////////////  
        /////////////////////////////////////////////////////////////////////////////////
        // main </p>
<p>        // fb auth 
        var fbAccessToken = ''; 
        var fbUserID = ''; 
        var fbUserName = '';  
        FBcomments.initFb(); 
        var nnFBloggedIn = check_nnCookie();  
   			if (nnFBloggedIn == true) {
   				fbLoginDisplay(true); </p>
<p>   			}
   			else {
   				fbLoginDisplay(false); 
   			}</p>
<p>function inputFocus(thisFor, thisClass) {
    $('#'+ thisFor).focus(function() {
        $('.'+ thisClass).animate({ opacity: "0" }, "fast");
    }).blur(function() {
        if($(this).val() == "") {
            $('.'+ thisClass).animate({ opacity: "1" }, "fast");
        }
    });
}</p>
<p>			//// some more jquery stuff
   			$(document).ready(function(){
				read_logged_in_cookie();</p>
<p>				// hide 'populär auf facebook' widget in sideline
				//$("#fb_activityFeed").hide(); </p>
<p>				$("#fbCommentPublishCheckbox").hide();</p>
<p>$('#fbFormN_password_login').keypress(function(e){
    if (e.which == 13){
        e.preventDefault();
        $(this).blur();
        $('#commentsForm_post_confirmed').focus().click();
        return false;
    }
});</p>
<p>$('#fbFormN_smsVer').keypress(function(e){
    if (e.which == 13){
        e.preventDefault();
        $(this).blur();
        $('#commentsForm_sms_veryfy').focus().click();
        return false;
    }
});</p>
<p>// Bind to set the fadeout of form labels when clicked or focused
$('.sbsLabel label').each(function () {
    var thisFor = $(this).attr('for');
    var thisClass = $(this).attr('class');
    inputFocus(thisFor, thisClass);
});</p>
<p>   				// some form display handling 
					$('#disclaimerButtonShow').bind('click', function(){
						$('.disclaimerText').show();
						$('#disclaimerButtonShow').css('display','none');
						$('#disclaimerButtonHide').css('display','inline');
					});
					$('#disclaimerButtonHide').bind('click', function(){
						$('.disclaimerText').hide();
						$('#disclaimerButtonHide').css('display','none');
						$('#disclaimerButtonShow').css('display','inline');
					});</p>
<p>				// display login data on start 
				if ($("#fbUserRealName").html()) {
					if ($("#fbUserRealName").html().length >= 2){ // && $("textarea#fbForm_message").attr("rows") > 2
						$("#fbCommentPublishCheckbox").show();
					}
				}</p>
<p>				// clear textarea 
				$("#fbForm_message").val(''); </p>
<p>				// submit buttons , disable on on reload 
				$("#commentsForm_send").attr("disabled", "true");
				$("#commentsForm_send_noFb").attr("disabled", "true");</p>
<p>				// set checkboxes
				$('#fbForm_publishOnFB').attr('checked', true); 
				$('.recommendCommentPublishOnFb').attr('checked', true); 
				$('#disclaimerConfirmBtn').attr('checked', false);</p>
<p>				// fixes a tiny bug: if values are prefilled on reload they should not be grey 
				var myFbFormIds = ('fbFormN_firstName', 'fbFormN_surname', 'fbFormN_zip', 'fbFormN_location', 'fbFormN_email', 'fbFormN_password', 'fbFormN_password_confirm');
				for (var ii=0;ii < myFbFormIds.length; ii++) {
				  if ($("#"+myFbFormIds(ii)).length) {
					if (!($("#"+myFbFormIds(ii)).val().match(/(*)/))) {
						$("#"+myFbFormIds(ii)).css('color','#000000'); 
					};
				  }
				}

				$('.comment_signup_form_toggle').live('click', function(){
					$('#comment_signup_form').toggle('slow');
					$('#comment_login_form').toggle('slow');
					return false;
				});

				$('.comment_form_forgot_password').live('click', function(){
				    $('#comment_password_reset_form').toggle('slow');
				    $('#comment_login_form').toggle('slow');
				    return false;
				});

				$('.emailLogoutButton').live('click', function() {
					delete_cookie('comment_login_details_email');
					$("#commentLoggedInEmail").html('');
					$("#manageAccount").html('');
					$("#commentLoggedInEmail").hide();
					$(".commentFBlogin").show();
					$(".commentOhnelogin").show();
				});

				$('#show_update_phone').live('click', function() {
					$("#commentLoggedInEmail").html('');
					$("#manageAccount").html('');
					$("#commentLoggedInEmail").hide();
					$("#comment_login_form").hide();

					$("#change_phonenumber").show();
					$(".commentOhnelogin").show();
				});

				$('#commentsForm_send_email').live('click', function() {
				    if (commentNotSent) {
				        commentsForm_send_email();
				    }
				});

				$('#emailManageAccount').live('click', function () {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());

				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=login_manage_account&#038;customer_id="+customer_id+"&#038;email="+encodeURIComponent(login_email_email)+"&#038;token="+login_email_token,
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#manageAccount').html(data.message);
					            $('#manageAccount').show();
					        }
					    }     
				 	});
				});

				});
        </script><br /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions</title>
		<link>https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-64/</link>
		
		<dc:creator><![CDATA[Conseil-Chauffage]]></dc:creator>
		<pubDate>Tue, 17 Mar 2020 07:09:59 +0000</pubDate>
				<category><![CDATA[Chauffage au Bois]]></category>
		<category><![CDATA[avec]]></category>
		<category><![CDATA[bois]]></category>
		<category><![CDATA[fines]]></category>
		<category><![CDATA[finir]]></category>
		<category><![CDATA[les]]></category>
		<category><![CDATA[Linvité]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[pour]]></category>
		<category><![CDATA[poussières]]></category>
		<category><![CDATA[Réflexions]]></category>
		<category><![CDATA[Signatures]]></category>
		<guid isPermaLink="false">https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-64/</guid>

					<description><![CDATA[L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions Le CO2 neutre, deuxième source d&#39;énergie renouvelable en Suisse après l&#39;énergie hydraulique, le chauffage au bois ou le bois énergie, participe activement à la politique climatique. Soutenu par la Confédération et les cantons, il ne cesse de croître et représente désormais plus de 10% de la chaleur consommée en Suisse. Compte tenu des futures économies d&#39;énergie des bâtiments et de la gestion durable ... <p class="read-more-container"><a title="L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions" class="read-more button" href="https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-64/#more-1838" aria-label="Plus sur L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions">Lire l'Article</a></p>]]></description>
										<content:encoded><![CDATA[<h1>L&rsquo;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions</h1>
<p></p>
<div id="mainContent">
<p>	Le CO2 neutre, deuxième source d&#39;énergie renouvelable en Suisse après l&#39;énergie hydraulique, le chauffage au bois ou le bois énergie, participe activement à la politique climatique. Soutenu par la Confédération et les cantons, il ne cesse de croître et représente désormais plus de 10% de la chaleur consommée en Suisse.</p>
<p>Compte tenu des futures économies d&#39;énergie des bâtiments et de la gestion durable de nos forêts, son potentiel est estimé pour le canton de Vaud à 30% de la chaleur consommée.</p>
<p>Mais des voix s&#39;élèvent régulièrement pour alerter sur les émissions polluantes de poussières fines du bois. Comment est-ce vraiment?</p>
<p>La Commission fédérale de l&#39;hygiène de l&#39;air a très bien résumé le problème dans son rapport &quot;Les poussières fines en Suisse 2013&quot;. Elle explique les très grandes différences existant selon le type de chauffage (ancien ou moderne, automatique ou manuel) et le type de bois de chauffage (bûches, granulés, copeaux de bois). Grâce à l&#39;amélioration des conditions de combustion, il met en évidence la diminution très importante de la quantité de poussières fines émises, mais, en plus et surtout, leurs changements de composition chimique et donc de nocivité.</p>
<p>Une combustion optimale ou complète signifie l&#39;absence totale ou presque complète de produits imbrûlés, principalement de la suie et du goudron, composés toxiques classés cancérigènes par l&#39;OMS. Les petites quantités de poussières fines résultant de la combustion complète du bois sont composées de sels minéraux peu ou peu toxiques pour la santé.</p>
<p>Concrètement, la Commission fédérale met en évidence une réduction du poids des poussières fines jusqu&#39;à un facteur 100 avec les usines de granulés modernes par rapport aux anciennes usines de grumes. Si l&#39;on tient toujours compte de l&#39;évolution de la composition chimique des poussières, le gain en termes de protection de la santé atteint un facteur de 1000, voire beaucoup plus. Une véritable révolution silencieuse a eu lieu!</p>
<p>Il convient donc d&#39;encourager l&#39;utilisation des installations de chauffage modernes, de les faire fonctionner correctement et de les entretenir en appliquant les règles pertinentes. C&#39;est l&#39;assurance d&#39;une combustion complète et propre du bois.</p>
<p>Pour un usage domestique, c&#39;est notamment le cas des poêles et chaudières à granulés automatiques, choisissez un combustible très sec assurant une combustion complète. Les granulés sont également idéaux pour les bâtiments ou pour un groupe de bâtiments.</p>
<p>Pour le chauffage central des villages ou des quartiers d&#39;habitation, les chaudières à copeaux de bois sont privilégiées et équipées de filtres performants pour respecter les très strictes limites d&#39;émission fixées par la Confédération (OPair). </p>
<p class="publishedDate">Créé: 02.03.2020, 06:49</p>
</p></div>
<p><script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)(0);
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "http://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.3";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script><script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)(0);
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "http://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.3";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script><script language="javascript"></p>
<p>		var commentNotSent = true;
		///////////////////////////////////////////////////
		// object FBcomments, can be reused for FB authentification
        var FBcomments = {
        		fbAppId : '251285271592561',
                version: 'v2.0',
        		fbChannel_path : '/facebook_xd_receiver.html', 
        		isLoggedIn : false, </p>
<p>            ///////////////////////////////////////////////////
        		initFb : function() {	
	        		window.fbAsyncInit = function() {
                    FB.init({appId: FBcomments.fbAppId, version: FBcomments.version});
	                if (typeof FB === 'undefined') {
        		 				alert($("#tr_fbConnectError").html()); 
        		 			} 
	            };</p>
<p>                (function(d, s, id) {
                    var js, fjs = d.getElementsByTagName(s)(0);
                    if (d.getElementById(id)) return;
                    js = d.createElement(s); js.id = id;
                    js.src = "http://connect.facebook.net/fr_FR/sdk.js";
                    fjs.parentNode.insertBefore(js, fjs);
                }(document, 'script', 'facebook-jssdk'));
          	},
          	///////////////////////////////////////////////////
          	fbLogin : function() { 
          	 var populateFbData_ = this.populateFbData;
          	 var fbDisplay_ = this.fbDisplay;	
          	 var promptFanBox_ = this.promptFanBox;</p>
<p>        		 FB.init({appId: FBcomments.fbAppId, version: FBcomments.version}); 
        		 if (typeof FB === 'undefined') {
        		 	alert($("#tr_fbConnectError").html()); 
        		 } 	
							  	FB.login(function(response) {
									  if (response.authResponse) {
									     // granted some permissions 
									     this.isLoggedIn = true; 
									  	 populateFbData_(response.authResponse.accessToken, response.authResponse.userID);
									  	 fbDisplay_(); 
									  	 promptFanBox_(response.authResponse.userID);
									  } 
									  else { 
									    // user is not logged
									    this.isLoggedIn = false;
									  	fbDisplay_();  
									  }
									}, {scope:'publish_actions'});
				},
				///////////////////////////////////////////////////
				fbLogout : function() {  
					var fbDisplay_ = this.fbDisplay;
					$.cookie('fbsNN', '', { path: '/', expires: -1 });
					isLoggedIn = false;
					fbDisplay_();
        		},</p>
<p>				///////////////////////////////////////////////////
				populateFbData : function(accessToken, userID) {
					fbAccessToken = accessToken;
					fbUserID = userID;
					FB.api(
					'/me',
					{
						fields: 'name'
					},
					function(response) {
						var fbUserName = '';
						if (response){
							if (response.name){
								fbUserName = response.name;
							}
						}
						// store a fb-independent cookie for future login 
						$.cookie('fbsNN', "access_token="+escape(fbAccessToken)+""+"&uid="+fbUserID+"&realname="+escape(fbUserName), { path: '/', expires: 30 }); 
						fbDomInsert(fbUserName, fbUserID, fbAccessToken);
					}
					);
				},</p>
<p>				///////////////////////////////////////////////////
				promptFanBox : function(userId) {
  				 	FB.api({
					    method: 'fql.query',        
					    query: 'SELECT uid FROM page_fan WHERE uid='+userId+' AND page_id='+10150100771335484 
						},
							function(response) {
								if (typeof response(0) === 'undefined') {
									// user has not liked the page 
									$(document).ready(function(){  
										var txt = $("#tr_fanBoxPromptTitle").html(); 
										tb_show(txt,'/facebook_iframe.html?&height=250&width=645');
									});
								}	
							}
						 );
  				 },
  				 ///////////////////////////////////////////////////
  				 fbDisplay : function() {    
  				 		fbLoginDisplay(this.isLoggedIn );  
  				 		loginDrop();
  				 }
  				 ///////////////////////////////////////////////////
        } // end object</p>
<p>				///////////////////////////////////////////////////
				// cookie based user registration, maybe replaced by user DB in future
  			function fetch_nnCookie() { 
  				 		var nnRegex = /access_token=((^&)+)&uid=((0-9)+)&realname=(.+)/; 
							nnRegex.exec($.cookie('fbsNN')); 		 
							fbAccessToken = unescape(RegExp.$1);      
							fbUserID = RegExp.$2;
							fbUserName = unescape(RegExp.$3);	  
  			}
				///////////////////////////////////////////////////
  			function check_nnCookie() {	          
  				 	if( $.cookie('fbsNN') == null) {   	 
  				 		return false; 
  				 	}
  				 	else { 
							fetch_nnCookie();   
  				 		// check for valid data, delete cookie otherwise 
  				 		if (fbAccessToken != null && fbAccessToken.length > 0 && fbUserID != null && fbUserID.length > 0  && fbUserName != null && fbUserName.length > 0 && fbUserName != 'undefined') {
  				 			fbDomInsert(fbUserName, fbUserID, fbAccessToken); 
  				 			return true;   
  				 		}
  				 		else {
  				 			$.cookie('fbsNN', '', { expires: -1 }); 
  				 			return false;  
  				 		}
  				 	}
  			}</p>
<p>  			///////////////////////////////////////////////////
  			// form handler 
  			function commentsForm_send () {
  				var fbForm_message = $.trim($("#fbForm_message").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message 
  				var fbForm_uri = $.trim($("#fbForm_uri").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				var fbForm_ip = $.trim($("#fbForm_ip").val());			
  				var fbForm_realName = $.trim($("#fbForm_realName").val());
  				var fbForm_userId = $.trim($("#fbForm_userId").val());
  				var fbForm_userToken = $("#fbForm_userToken").val(); 
  				var fbForm_publishOnFB = $("#fbForm_publishOnFB:checked").val();
  				if (typeof fbForm_publishOnFB === 'undefined') {
  					fbForm_publishOnFB = 0; 
  				}
					var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());	
					var hasErrors = false; 
					var messageReg =  fbForm_message.length > 1; </p>
<p>					if (messageReg == false) {
						$("#commentError_message").show(); 	
						hasErrors = true; 
					}
					if (fbFormN_gotcha.length > 1) {
						hasErrors = true; 
					} </p>
<p>          if (!($('#disclaimerConfirmBtn').is(':checked'))) {
						$("#commentError_disclaimer").show();
						hasErrors = true; 
					}
  				if (!hasErrors) {
						$("#commentsForm_send").attr("disabled", "true");
						$("#commentsForm_send_noFb").attr("disabled", "true");</p>
<p>						$("#commentSendLoading").show(); 
						$.ajax({ type: "POST",
							dataType: "text",
							cache: false,
							url: "/community/talkback_ajax.html",
							async: true,
							data: "action=sendComment&fbForm_realName="+encodeURIComponent(fbForm_realName)+"&fbForm_userId="+fbForm_userId+"&fbForm_userToken="+encodeURIComponent(fbForm_userToken)+"&fbForm_publishOnFB="+fbForm_publishOnFB+"&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID,
							error: function(){
								alert($("#tr_commentSendError").html()); 
							},
							complete: function(reqCode){
								$("#commentLogin").hide();
								$("#fbForm_message").hide();
								$("#fbForm_message_count_class").hide();      	
								$("#commentError_message").hide();
									$("#commentError_name").hide();
									$("#commentError_location").hide();
									$("#commentError_email").hide();
									$("#commentError_disclaimer").hide();
									$(".disclaimerText").hide();
									$("#commentInfo_noFb").hide();
									$("#commentsForm_send").hide();
									$("#fbCommentPublishCheckbox").hide();
									$("#commentsForm_send_noFb").hide();
								$("#commentInfo_Fb").show();
								$("#commentSendLoading").hide();
							}
						});
					} // hasErrors
				}</p>
<p> 			//////////////////////////////////////////////////
 			function delete_cookie(cookie) {
				$.cookie(cookie, null, {path: '/'});
 			}</p>
<p>			//////////////////////////////////////////////////
			function save_form_to_cookie(class_name) {
				var form = new Array();
				$("."+ class_name).each(function(index) {
					form(index) = {};
					form(index)('id') = $(this).attr("id");
					form(index)('val') = $(this).val();
				});
				$.cookie(class_name, JSON.stringify(form), {json:true});
			}</p>
<p> 			//////////////////////////////////////////////////
 			function save_object_to_cookie(data) {
 			    var form = new Array();
 			    form(0)('id') = 'fbFormN_firstName';
 			    form(0)('val') = '';
 			    form(1)('id') = 'fbFormN_surname';
 			    form(1)('val') = '';
 			    form(2)('id') = 'fbFormN_zip';
 			    form(2)('val') = '';
 			    form(3)('id') = 'fbFormN_location';
 			    form(3)('val') = '';
 			    form(4)('id') = 'fbFormN_email';
 			    form(4)('val') = '';
 			    $("."+ class_name).each(function(index) {
 			        form(index) = {};
 			        form(index)('id') = $(this).attr("id");
 			        form(index)('val') = $(this).val();
 			    });
 			    $.cookie(class_name, JSON.stringify(form), {json:true});
 			}</p>
<p>			//////////////////////////////////////////////////
			function set_logged_in_cookie(data) {
			    $.cookie('comment_login_details_email', JSON.stringify(data), {json:true,expires:14,path: '/'});
			}</p>
<p>			//////////////////////////////////////////////////
			function read_logged_in_cookie() {
				var cookie_form_data_json = $.cookie('comment_login_details_email');
				if (cookie_form_data_json != null) {
					var form_data = JSON.parse(cookie_form_data_json);
					if (typeof form_data != 'undefined') {
						if (form_data.user.customer_id == 53){
							if (typeof form_data.pcr != 'undefined' && form_data.pcr != null && form_data.pcr.length > 0){
								if (typeof form_data.uid != 'undefined' && form_data.uid != null && form_data.uid != 0){
									auto_login_email(form_data);
									return;
								}
							}
						} else {
							auto_login_email(form_data);
						}
					}
				}</p>
<p>			}</p>
<p> 			//////////////////////////////////////////////////
 			function read_form_from_cookie(class_name) {
 			    var cookie_form_data_json = $.cookie(class_name);
 			    var form_data = JSON.parse(cookie_form_data_json);
 			    $.each(form_data, function(index, value) {
 			        $("#"+ value.id).val(value.val);
 			    });
 			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_create_account() {
				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
				var fbFormN_zip = $.trim($("#fbFormN_zip").val());
				var fbFormN_location = $.trim($("#fbFormN_location").val());
				var fbFormN_telephone = $.trim($("#fbFormN_telephone").val());
				var fbFormN_email = $.trim($("#fbFormN_email").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				if ($("#fbFormN_password").length) {
				    var fbFormN_password = $.trim($("#fbFormN_password").val());
				}
				if ($("#fbFormN_password_confirm").length) {
				    var fbFormN_password_confirm = $.trim($("#fbFormN_password_confirm").val());
				}</p>
<p>				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; 
if (fbFormN_telephone.length > 1) {</p>
<p>			var telephoneReg = (fbFormN_telephone.match(/^(ds)*$/));</p>
<p>}
				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;</p>
<p>				var password_params = '';</p>
<p>				$("#commentError_name").hide(); 	
				$("#commentError_location").hide(); 
				$("#commentError_telephone").hide(); 
				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); 
				$(".disclaimerText").hide();</p>
<p>				if (nameReg == false) {
					$("#commentError_name").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentError_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (telephoneReg == null) {
					$("#commentError_telephone").show();
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){
					$("#commentError_email").show();
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>				if ($("#fbFormN_password").length && $("#fbFormN_password_confirm").length) {
					if (fbFormN_password != fbFormN_password_confirm) {
					    $("#commentError_password").show();
					    hasErrors = true;
					}
					else {
					    password_params += "&fbFormN_password=" + encodeURIComponent(fbFormN_password);
				        password_params += "&fbFormN_password_confirm=" + encodeURIComponent(fbFormN_password_confirm);
					}
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					save_form_to_cookie('comment_form_input');
					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_create_account&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_telephone="+encodeURIComponent(fbFormN_telephone)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&customer_id="+fbForm_customerId+"&story_id="+encodeURIComponent(fbForm_storyId)+password_params,
						error: function(){ },
						success: function(data){
							if (data.code == 0) {
								setMessageBox(data.message, data.addclass);
							} else {</p>
<p>			$("#disclaimerConfirm").hide();
			$("#commentLogin").hide();
			$("#fbForm_message").hide();
			$("#fbForm_message_count_class").hide();
			$("#commentError_message").hide();
			$("#commentInfo_Fb").hide(); 
			$("#commentsForm_send").hide();
			$("#fbCommentPublishCheckbox").hide();
			$("#commentsForm_send_noFb").hide();</p>
<p>								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p>				/////////////////////////////////////////////////
				function confirm_delete_account() {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=confirm_delete_account&customer_id="+customer_id+"&email="+encodeURIComponent(login_email_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#deleteAccount').html(data.message);
					            $('#deleteAccount').fadeIn(800);
					            $('#commentFormSubContainer').slideUp(1000);
					            $('body,html').stop().animate({
					                'scrollTop': $("#deleteAccount").offset().top-200
					            }, 1000)
					        }
					    }     
				 	});
				}</p>
<p>                /////////////////////////////////////////////////
				function cancel_delete_account() {
					$('#deleteAccount').html('');
					$('#deleteAccount').hide();
					$('#commentFormSubContainer').slideDown(1000);
				}</p>
<p>                /////////////////////////////////////////////////
				function delete_account() {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=delete_account&customer_id="+customer_id+"&email="+encodeURIComponent(login_email_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#deleteAccount').html('');
					            $('#deleteAccount').hide();
					            $('#commentFormSubContainer').slideDown(1000);
					            setMessageBox(data.message, data.addclass);
								delete_cookie('comment_login_details_email');
					        }
					        else if (data.code == 2) {
					            $('#deleteAccount').html('');
					            $('#deleteAccount').hide();
					            $('#commentFormSubContainer').slideDown(1000);
					            setMessageBox(data.message, data.addclass);
					        }
					    }     
				 	});
				}</p>
<p>  			//////////////////////////////////////////////////
  			function commentsForm_update_account_close() {
  			    $("#manageAccount").html('');
  			}</p>
<p> 			///////////////////////////////////////////////////
  			function commentsForm_update_account() {
  				var fbFormN_firstName = $.trim($("#update_firstName").val());
  				var fbFormN_surname = $.trim($("#update_surname").val());
  				var fbFormN_zip = $.trim($("#update_zip").val());
  				var fbFormN_location = $.trim($("#update_location").val());
  				var fbFormN_telephone = $.trim($("#update_telephone").val());
  				var fbFormN_email = $.trim($("#update_email").val());
  				var fbFormN_email_hidden = $.trim($("#update_email_hidden").val());
  				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
  				var login_email_token = $.trim($("#login_email_token").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				if ($("#update_password").length) {
  				    var fbFormN_password = $.trim($("#update_password").val());
  				}
  				if ($("#update_password_confirm").length) {
  				    var fbFormN_password_confirm = $.trim($("#update_password_confirm").val());
  				}</p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; </p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;</p>
<p>				var password_params = '';</p>
<p>				$("#commentErrorUpdate_name").hide(); 	
				$("#commentErrorUpdate_location").hide(); 
				$("#commentErrorUpdate_telephone").hide(); 
				$("#commentErrorUpdate_email").hide(); 
				$("#commentErrorUpdate_password").hide(); 
				$(".disclaimerText").hide();</p>
<p>				if (nameReg == false) {
					$("#commentErrorUpdate_name").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentErrorUpdate_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (telephoneReg == null) {
					$("#commentErrorUpdate_telephone").show();
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){
					$("#commentErrorUpdate_email").show();
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>				if ($("#fbFormN_password").length && $("#fbFormN_password_confirm").length) {
					if (fbFormN_password != fbFormN_password_confirm) {
					    if ((fbFormN_password != 'mot de passe' || fbFormN_password_confirm != 'confirmer le mot de passe') && (fbFormN_password != 'password' || fbFormN_password_confirm != 'confirm password')) {
					        $("#commentErrorUpdate_password").show();
					        hasErrors = true;
					    }
					}
					else {
					    password_params += "&fbFormN_password=" + encodeURIComponent(fbFormN_password);
				        password_params += "&fbFormN_password_confirm=" + encodeURIComponent(fbFormN_password_confirm);
					}
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
	                save_form_to_cookie('comment_form_input');
					jQuery.ajax({ type: "POST",
				          dataType: "json",
				          cache: false,
	                	  url: "/community/talkback_ajax.html",
				          async: true,
				          data: "action=talkback_update_account&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_telephone="+encodeURIComponent(fbFormN_telephone)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbFormN_email_hidden="+encodeURIComponent(fbFormN_email_hidden)+"&customer_id="+fbForm_customerId+password_params+"&token="+login_email_token+"&story_id="+encodeURIComponent(fbForm_storyId),
				          error: function(){ },
				          success: function(data){
				          	if (data.code == 1) {
							    $("#disclaimerConfirm").hide();
				          	    $("#commentLogin").hide();
				          	    $("#fbForm_message").hide();
				          	    $("#fbForm_message_count_class").hide();
				          	    $("#commentErrorUpdate_message").hide();
				          	    $("#commentInfo_Fb").hide(); 
				          	    $("#commentsForm_send").hide();
				          	    $("#fbCommentPublishCheckbox").hide();
							    $("#commentsForm_send_noFb").hide(); 
			          		    $("#commentInfo_noFb").show();
			          		    $("#manageAccount").toggle();
			          		    $("#commentInfo_noFb").text(data.message);
			          		    setMessageBox(data.message, data.addclass);
								delete_cookie('comment_login_details_email');
			          		} else if (data.code == 2){
								$("#commentLogin").show();
								$("#fbForm_message").show();
								$("#fbForm_message_count_class").show();
								$("#commentErrorUpdate_message").hide();
								$("#commentInfo_Fb").hide(); 
								$("#commentsForm_send").hide();
								$("#fbCommentPublishCheckbox").hide();
								$("#commentsForm_send_noFb").hide(); 
								$("#commentInfo_noFb").hide();
								$("#manageAccount").toggle();
								setMessageBox(data.message, data.addclass);
								if (data.user.customer_id == 53){
									auto_login_email(data);
								}
							} else if (data.code == 3){
								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p> 			// Handler to reset the timer on each notification 
 			var timeoutHandle;
 			function setMessageBox(message, boxclass) {
 			    $("#messageBox").hide();
 			    $("#messageBox").html(message);
 			    $("#messageBox").removeClass("warning error success").addClass(boxclass);
 			    $("#messageBox").fadeIn(1500);</p>
<p> 			    clearTimeout(timeoutHandle);</p>
<p> 			    timeoutHandle = setTimeout(function(){
 			        $("#messageBox").fadeOut(2000, function () {
 			      });
 			    }, 12000);
 			}</p>
<p> 			function forgot_password_send() {
				var email = $.trim($('#password_forgot_email').val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				var hasErrors = false;</p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/;</p>
<p>				if(emailRegObj.test(email) == false){      
					$("#commentError_password_forgot_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {</p>
<p>					jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=reset_password&customer_id="+fbForm_customerId+"&email="+encodeURIComponent(email),  
					    error: function(){ },
					    success: function(data){
						        if (data.code = 0) {
						            setMessageBox(data.message, data.addclass);
						        }
						        else if (data.code = 1) {
						            $('#comment_password_reset_form').toggle('slow');
						            $('#comment_login_form').toggle('slow');
						            setMessageBox(data.message, data.addclass);
						        }
					    }     
				 	});</p>
<p>				}
 			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_login_noFb() {
				var fbFormN_email = $.trim($("#fbFormN_email_login").val());
				var fbFormN_password = $.trim($("#fbFormN_password_login").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				var hasErrors = false;</p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/;</p>
<p>				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); </p>
<p>				if(emailRegObj.test(fbFormN_email) == false){      
					$("#commentError_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {</p>
<p>					//$("#commentsForm_send").attr("disabled", "true");
					//$("#commentsForm_send_noFb").attr("disabled", "true");
					//save_form_to_cookie('comment_form_input');</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_login_email&email="+encodeURIComponent(fbFormN_email)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password),
						error: function(){</p>
<p>						},
						success: function(data){
							//$("#commentLogin").hide();
							//$("#fbForm_message").hide();
							//$("#fbForm_message_count_class").hide();
							//$("#commentError_message").hide();
							//$("#commentInfo_Fb").hide(); 
							//$("#commentsForm_send").hide();
							//$("#fbCommentPublishCheckbox").hide();
							//$("#commentsForm_send_noFb").hide(); </p>
<p>							if (data.code == 2) {
								$('.commentFBlogin').hide();
								$('#comment_login_form').hide();
								$("#change_phonenumber").show();
								setMessageBox(data.message, data.addclass);
							} else {
								$("#change_phonenumber").hide();
								//$("#commentInfo_noFb").show();
								//$("#commentLoggedInEmail").text(data.message);
								setMessageBox(data.message, data.addclass);
								$("#commentLoggedInEmail").show();
								if ('user' in data) {
									auto_login_email(data);
								}
							}
						}
					});
				}
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_phone_change() {
				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_email_phone_chnage").hide();
							$("#fbFormN_email_phone_chnage").hide();
							$("#commentError_telephone_change").hide();
							$("#fbFormN_telephone_change").hide();
							$("#commentError_password_phone_chnage").hide();
							$("#fbFormN_password_phone_chnage").hide();
							$("#commentsForm_sms_change_veryfy").hide();</p>
<p>							$("#fbFormN_sms_change_Ver").show();
							$("#commentsForm_sms_send_change_veryfy").show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}</p>
<p>			///////////////////////////////////////////////////</p>
<p>			function comments_modifyForm_phone_change() {</p>
<p>				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_email_phone_chnage").hide();
							$("#fbFormN_email_phone_chnage").hide();
							$("#commentError_telephone_change").hide();
							$("#fbFormN_telephone_change").hide();
							$("#commentError_password_phone_chnage").hide();
							$("#fbFormN_password_phone_chnage").hide();
							$("#commentsForm_sms_change_veryfy").hide();</p>
<p>							$("#fbFormN_sms_change_Ver").show();
							$("#commentsForm_sms_send_change_veryfy").show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_phone_change_sms_verify() {
				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbFormN_sms_change_Ver = $.trim($("#fbFormN_sms_change_Ver").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change_sms_verify&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change)+"&code="+encodeURIComponent(fbFormN_sms_change_Ver),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_sms_change_ver").hide();
							$("#fbFormN_sms_change_Ver").hide();
							$("#commentsForm_sms_send_change_veryfy").hide();
							$("#change_phonenumber").hide();</p>
<p>							$('#comment_login_form').show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}
			///////////////////////////////////////////////////
			function commentsForm_sms_verify() {
				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
				var fbFormN_telephone = $.trim($("#fbFormN_telephone").val());
				var fbFormN_email = $.trim($("#fbFormN_email").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				var fbFormN_smsVer = $.trim($("#fbFormN_smsVer").val());</p>
<p>				var hasErrors = false;</p>
<p>				if (!hasErrors) {</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_sms_verify&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&email="+encodeURIComponent(fbFormN_email)+"&telefone="+encodeURIComponent(fbFormN_telephone)+"&code="+ fbFormN_smsVer +"&customer_id="+fbForm_customerId+"&story_id="+encodeURIComponent(fbForm_storyId),
						error: function(){
						},
						success: function(data){
							if (data.code == 0) {
								setMessageBox(data.message, data.addclass);
							} else {
								$("#commentLogin").hide();
								$("#sms_verify").hide();
								$("#fbFormN_smsVer").hide();
								$("#commentsForm_sms_veryfy").hide();</p>
<p>								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p>			//////////////////////////////////////////
			//swissnoise quiva
			function auto_login_quiva(data) {
				console.log("quiva login start");
				var user = {
					"remoteId": data.uid,
					"username": data.user.email,
					"password": data.pcr,
					"email": data.user.email,
					"firstName": data.user.first_name,
					"lastName": data.user.last_name,
					"zipCode": data.user.post_code,
					"locality": data.user.city,
					"phoneNumber": data.user.mobile_number
				};
				whatif.login(user).always(function() {</p>
<p>				});
				console.log("quiva login done");
			}
			//END swissnoise quiva</p>
<p>  			function auto_login_email(data) {
			    $(".commentFBlogin").hide();
			    $(".commentOhnelogin").hide();
			    var html = '';
			    var name = data.user.first_name +' '+ data.user.last_name;
			    html += '<span class="fbUserWelcome">Bienvenue, <span id="fbUserRealName">'+ name +'</span></span><br />';
			    html += '<a href="" id="commentsForm_send_email" onclick="return false;">Soumettre Commentaire</button>';
			    html += '<a href="" class="emailLogoutButton" onclick="return false;">Déconnecter</a><br />';
			    html += '<a href="" id="emailManageAccount" onclick="return false;">Gérer le profil</a>';
			    html += '<input id="login_email_token" name="login_email_token" value="'+ data.token +'" type="hidden">';
			    html += '<input id="login_email_email" name="login_email_email" value="'+ data.user.email +'" type="hidden">';
			    $("#commentLoggedInEmail").html(html);
			    set_logged_in_cookie(data);
			    $("#commentLoggedInEmail").show();</p>
<p>  			}</p>
<p> 			///////////////////////////////////////////////////
  			function commentsForm_send_noFb() {
  				var fbForm_message = $.trim($("#fbForm_message").val());  
  				fbForm_message = fbForm_message.replace(/&/g, "+");
  				var fbForm_uri = $.trim($("#fbForm_uri").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				var fbForm_ip = $.trim($("#fbForm_ip").val());</p>
<p>  				var is_logged_in = false;
  				if ($("#is_logged_in").length) {
  				    is_logged_in = true;
  				}</p>
<p>  				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
  				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
  				var fbFormN_zip = $.trim($("#fbFormN_zip").val());
  				var fbFormN_location = $.trim($("#fbFormN_location").val());
  				var fbFormN_email = $.trim($("#fbFormN_email").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message 
  				if ($("#fbFormN_password").length) {
  				    var fbFormN_password = $.trim($("#fbFormN_password").val());
  				}
  				if ($("#fbFormN_password_confirm").length) {
  				    var fbFormN_password_confirm = $.trim($("#fbFormN_password_confirm").val());
  				}</p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var messageReg =  fbForm_message.length > 1; 
				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				// dont check for ZIP, cause of foreign countries 
				//var locReg = !(fbFormN_zip.match(/(*)/)) && !(fbFormN_location.match(/(*)/)) && fbFormN_zip.length > 1 && fbFormN_location.length > 1;   
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; 
				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;
				var password_params = '';</p>
<p>				$("#commentError_name").hide();
				$("#commentError_location").hide();
				$("#commentError_email").hide();
				$("#commentError_password").hide();
				$("#commentError_message").hide();
				$("#commentError_disclaimer").hide();
				$(".disclaimerText").hide();</p>
<p>				if (messageReg == false) {
					$("#commentError_message").show();
					hasErrors = true;
				}</p>
<p>				if (nameReg == false) {
					$("#commentError_name").show();
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentError_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){      
					$("#commentError_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;
				}</p>
<p>				if (!($('#disclaimerConfirmBtn').is(':checked'))) {
					$("#commentError_disclaimer").show();
					$(".disclaimerText").show();
					hasErrors = true;
				}</p>
<p>				if (!hasErrors) {</p>
<p>					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					save_form_to_cookie('comment_form_input');</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "html",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=sendComment&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID,
						error: function(){ },
						success: function(){
							$("#commentLogin").hide();
							$("#fbForm_message").hide();
							$("#fbForm_message_count_class").hide();
							$("#commentError_message").hide();
							$("#commentInfo_Fb").hide();
							$("#commentsForm_send").hide();
							$("#fbCommentPublishCheckbox").hide();
							$("#commentsForm_send_noFb").hide();
							$("#disclaimerConfirm").hide();
							$("#commentInfo_noFb").show();
						}
					});
				}
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_send_email() {
				var fbForm_message = $.trim($("#fbForm_message").val());  
				fbForm_message = fbForm_message.replace(/&/g, "+");
				var fbForm_uri = $.trim($("#fbForm_uri").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_ip = $.trim($("#fbForm_ip").val());
				var login_email_token = $.trim($("#login_email_token").val());</p>
<p>  				var is_logged_in = false;
  				if ($("#is_logged_in").length) {
  				    is_logged_in = true;
  				}</p>
<p>  				var fbFormN_email = $.trim($("#login_email_email").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message </p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var messageReg =  fbForm_message.length > 1; </p>
<p>				$("#commentError_name").hide(); 	
				$("#commentError_location").hide(); 
				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); 
				$("#commentError_message").hide(); 	
				$("#commentError_disclaimer").hide(); 	
				$(".disclaimerText").hide();</p>
<p>				if (messageReg == false) {
					$("#commentError_message").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>			    if (!($('#disclaimerConfirmBtn').is(':checked'))) {
					$("#commentError_disclaimer").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					commentNotSent = false;</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=send_comment_email&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&customer_id="+fbForm_customerId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID+"&email="+encodeURIComponent(fbFormN_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
						          	if (data.code == 1) {
						          	    $("#commentLogin").hide();
						          	    $("#fbForm_message").hide();
						          	    $("#fbForm_message_count_class").hide();      	
						          	    $("#commentError_message").hide();
									    $("#commentError_name").hide(); 	 	
									    $("#commentError_location").hide(); 	
									    $("#commentError_email").hide();	
									    $("#commentError_disclaimer").hide(); 	
									    $(".disclaimerText").hide();
									    $("#commentInfo_noFb").hide(); 
    									$("#commentsForm_send").hide(); 
									    $("#fbCommentPublishCheckbox").hide();
									    $("#disclaimerConfirm").hide();
									    $("#commentsForm_send_noFb").hide();	
						          	    $("#commentInfo_noFb").show();  
						          	    $("#commentSendLoading").hide();
						          	    $("#commentInfo_Notice").hide();
						          	    $("#manageAccount").hide();
						          	}
						          	else if (data.code == 2) {
						          	    setMessageBox(data.message, data.addclass);
						          	}
					    }     
				 	});		
				}		
  			}  			</p>
<p>			///////////////////////////////////////////////////
			///////////////////////////////////////////////////
  			// some jquery UI functions
			function fbLoginDisplay(loginState) {
				$(document).ready(function(){
					if (loginState == true) {
						$(".notloggedToFacebook").hide();
						$(".loggedToFacebook").show();
						$('#commentsForm_send_noFb').hide();
						$('#commentsForm_send').show();
						$("#fbCommentPublishCheckbox").show();
						$(".recommendCommentFacebook").show();
					}
	else {
						$(".loggedToFacebook").hide(); 
						$(".notloggedToFacebook").show(); 
						$('#commentsForm_send').hide();
						$('#commentsForm_send_noFb').show();
						$("#fbCommentPublishCheckbox").hide();
						$(".recommendCommentFacebook").hide();
						if ($("#commentLoggedInEmail").length) {
							$("#commentLoggedInEmail").show();
						}
				}});
  			}</p>
<p>  			///////////////////////////////////////////////////
  			function fbDomInsert(username, uid, token) {  
						$(document).ready(function(){  
		           $("#fbUserRealName").html(username); 
		           var imgHtml= "<img src='https://graph.facebook.com/me/picture?access_token="+token+"'/>";
		           $("#fbUserProfilePicture").html(imgHtml);</p>
<p>		           $("#fbForm_realName").val(username); 
		           $("#fbForm_userId").val(uid);
		           $("#fbForm_userToken").val(token);
	        	});
				}
				///////////////////////////////////////////////////
				function loginDrop() {
					$(document).ready(function(){
						$('#commentLogin').slideDown();
						$("textarea#fbForm_message").attr("rows", 6);
						$("#commentsForm_send").removeAttr("disabled");
						$("#commentsForm_send_noFb").attr("disabled", "");
						$("#commentsForm_send_email").removeAttr("disabled");
						$("#fbForm_message").val("");
						$('#fbForm_message').removeAttr("onclick");
					});
				}
		///////////////////////////////////////////////////
		function doOnFbConnect() {
			$(".recommendCommentFacebook").show(); // for comments below: display checkbox to choose if recommended comments get published on facebook
		}</p>
<p>		///////////////////////////////////////////////////
		function log(msg){
			if (typeof console === 'undefined') {
				return false;
			} else {
				return true;
			}
		}</p>
<p>		/////////////////////////////////////////////////////////////////////////////////	
        /////////////////////////////////////////////////////////////////////////////////  
        /////////////////////////////////////////////////////////////////////////////////
        // main </p>
<p>        // fb auth 
        var fbAccessToken = ''; 
        var fbUserID = ''; 
        var fbUserName = '';  
        FBcomments.initFb(); 
        var nnFBloggedIn = check_nnCookie();  
   			if (nnFBloggedIn == true) {
   				fbLoginDisplay(true); </p>
<p>   			}
   			else {
   				fbLoginDisplay(false); 
   			}</p>
<p>function inputFocus(thisFor, thisClass) {
    $('#'+ thisFor).focus(function() {
        $('.'+ thisClass).animate({ opacity: "0" }, "fast");
    }).blur(function() {
        if($(this).val() == "") {
            $('.'+ thisClass).animate({ opacity: "1" }, "fast");
        }
    });
}</p>
<p>			//// some more jquery stuff
   			$(document).ready(function(){
				read_logged_in_cookie();</p>
<p>				// hide 'populär auf facebook' widget in sideline
				//$("#fb_activityFeed").hide(); </p>
<p>				$("#fbCommentPublishCheckbox").hide();</p>
<p>$('#fbFormN_password_login').keypress(function(e){
    if (e.which == 13){
        e.preventDefault();
        $(this).blur();
        $('#commentsForm_post_confirmed').focus().click();
        return false;
    }
});</p>
<p>$('#fbFormN_smsVer').keypress(function(e){
    if (e.which == 13){
        e.preventDefault();
        $(this).blur();
        $('#commentsForm_sms_veryfy').focus().click();
        return false;
    }
});</p>
<p>// Bind to set the fadeout of form labels when clicked or focused
$('.sbsLabel label').each(function () {
    var thisFor = $(this).attr('for');
    var thisClass = $(this).attr('class');
    inputFocus(thisFor, thisClass);
});</p>
<p>   				// some form display handling 
					$('#disclaimerButtonShow').bind('click', function(){
						$('.disclaimerText').show();
						$('#disclaimerButtonShow').css('display','none');
						$('#disclaimerButtonHide').css('display','inline');
					});
					$('#disclaimerButtonHide').bind('click', function(){
						$('.disclaimerText').hide();
						$('#disclaimerButtonHide').css('display','none');
						$('#disclaimerButtonShow').css('display','inline');
					});</p>
<p>				// display login data on start 
				if ($("#fbUserRealName").html()) {
					if ($("#fbUserRealName").html().length >= 2){ // && $("textarea#fbForm_message").attr("rows") > 2
						$("#fbCommentPublishCheckbox").show();
					}
				}</p>
<p>				// clear textarea 
				$("#fbForm_message").val(''); </p>
<p>				// submit buttons , disable on on reload 
				$("#commentsForm_send").attr("disabled", "true");
				$("#commentsForm_send_noFb").attr("disabled", "true");</p>
<p>				// set checkboxes
				$('#fbForm_publishOnFB').attr('checked', true); 
				$('.recommendCommentPublishOnFb').attr('checked', true); 
				$('#disclaimerConfirmBtn').attr('checked', false);</p>
<p>				// fixes a tiny bug: if values are prefilled on reload they should not be grey 
				var myFbFormIds = ('fbFormN_firstName', 'fbFormN_surname', 'fbFormN_zip', 'fbFormN_location', 'fbFormN_email', 'fbFormN_password', 'fbFormN_password_confirm');
				for (var ii=0;ii < myFbFormIds.length; ii++) {
				  if ($("#"+myFbFormIds(ii)).length) {
					if (!($("#"+myFbFormIds(ii)).val().match(/(*)/))) {
						$("#"+myFbFormIds(ii)).css('color','#000000'); 
					};
				  }
				}

				$('.comment_signup_form_toggle').live('click', function(){
					$('#comment_signup_form').toggle('slow');
					$('#comment_login_form').toggle('slow');
					return false;
				});

				$('.comment_form_forgot_password').live('click', function(){
				    $('#comment_password_reset_form').toggle('slow');
				    $('#comment_login_form').toggle('slow');
				    return false;
				});

				$('.emailLogoutButton').live('click', function() {
					delete_cookie('comment_login_details_email');
					$("#commentLoggedInEmail").html('');
					$("#manageAccount").html('');
					$("#commentLoggedInEmail").hide();
					$(".commentFBlogin").show();
					$(".commentOhnelogin").show();
				});

				$('#show_update_phone').live('click', function() {
					$("#commentLoggedInEmail").html('');
					$("#manageAccount").html('');
					$("#commentLoggedInEmail").hide();
					$("#comment_login_form").hide();

					$("#change_phonenumber").show();
					$(".commentOhnelogin").show();
				});

				$('#commentsForm_send_email').live('click', function() {
				    if (commentNotSent) {
				        commentsForm_send_email();
				    }
				});

				$('#emailManageAccount').live('click', function () {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());

				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=login_manage_account&#038;customer_id="+customer_id+"&#038;email="+encodeURIComponent(login_email_email)+"&#038;token="+login_email_token,
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#manageAccount').html(data.message);
					            $('#manageAccount').show();
					        }
					    }     
				 	});
				});

				});
        </script><br /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions</title>
		<link>https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-63/</link>
		
		<dc:creator><![CDATA[Conseil-Chauffage]]></dc:creator>
		<pubDate>Mon, 16 Mar 2020 22:38:18 +0000</pubDate>
				<category><![CDATA[Chauffage au Bois]]></category>
		<category><![CDATA[avec]]></category>
		<category><![CDATA[bois]]></category>
		<category><![CDATA[fines]]></category>
		<category><![CDATA[finir]]></category>
		<category><![CDATA[les]]></category>
		<category><![CDATA[Linvité]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[pour]]></category>
		<category><![CDATA[poussières]]></category>
		<category><![CDATA[Réflexions]]></category>
		<category><![CDATA[Signatures]]></category>
		<guid isPermaLink="false">https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-63/</guid>

					<description><![CDATA[L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions Le CO2 neutre, deuxième source d&#39;énergie renouvelable en Suisse après l&#39;énergie hydraulique, le chauffage au bois ou le bois énergie, participe activement à la politique climatique. Soutenu par la Confédération et les cantons, il ne cesse de croître et représente désormais plus de 10% de la chaleur consommée en Suisse. Compte tenu des futures économies d&#39;énergie des bâtiments et de la gestion durable ... <p class="read-more-container"><a title="L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions" class="read-more button" href="https://conseil-chauffage.com/linvite-pour-en-finir-avec-les-poussieres-fines-du-bois-news-signatures-reflexions-63/#more-1827" aria-label="Plus sur L&#8217;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions">Lire l'Article</a></p>]]></description>
										<content:encoded><![CDATA[<h1>L&rsquo;invité: Pour en finir avec les poussières fines du bois &#8211; News Signatures: Réflexions</h1>
<p></p>
<div id="mainContent">
<p>	Le CO2 neutre, deuxième source d&#39;énergie renouvelable en Suisse après l&#39;énergie hydraulique, le chauffage au bois ou le bois énergie, participe activement à la politique climatique. Soutenu par la Confédération et les cantons, il ne cesse de croître et représente désormais plus de 10% de la chaleur consommée en Suisse.</p>
<p>Compte tenu des futures économies d&#39;énergie des bâtiments et de la gestion durable de nos forêts, son potentiel est estimé pour le canton de Vaud à 30% de la chaleur consommée.</p>
<p>Mais des voix s&#39;élèvent régulièrement pour alerter sur les émissions polluantes de poussières fines du bois. Comment est-ce vraiment?</p>
<p>La Commission fédérale de l&#39;hygiène de l&#39;air a très bien résumé le problème dans son rapport &quot;Les poussières fines en Suisse 2013&quot;. Elle explique les très grandes différences existant selon le type de chauffage (ancien ou moderne, automatique ou manuel) et le type de bois de chauffage (bûches, granulés, copeaux de bois). Grâce à l&#39;amélioration des conditions de combustion, il met en évidence la diminution très importante de la quantité de poussières fines émises, mais, en plus et surtout, leurs changements de composition chimique et donc de nocivité.</p>
<p>Une combustion optimale ou complète signifie l&#39;absence totale ou presque complète de produits imbrûlés, principalement de la suie et du goudron, composés toxiques classés cancérigènes par l&#39;OMS. Les petites quantités de poussières fines résultant de la combustion complète du bois sont composées de sels minéraux peu ou peu toxiques pour la santé.</p>
<p>Concrètement, la Commission fédérale met en évidence une réduction du poids des poussières fines jusqu&#39;à un facteur 100 avec les usines de granulés modernes par rapport aux anciennes usines de grumes. Si l&#39;on tient toujours compte de l&#39;évolution de la composition chimique des poussières, le gain en termes de protection de la santé atteint un facteur de 1000, voire beaucoup plus. Une véritable révolution silencieuse a eu lieu!</p>
<p>Il convient donc d&#39;encourager l&#39;utilisation des installations de chauffage modernes, de les faire fonctionner correctement et de les entretenir en appliquant les règles pertinentes. C&#39;est l&#39;assurance d&#39;une combustion complète et propre du bois.</p>
<p>Pour un usage domestique, c&#39;est notamment le cas des poêles et chaudières à granulés automatiques, choisissez un combustible très sec assurant une combustion complète. Les granulés sont également idéaux pour les bâtiments ou pour un groupe de bâtiments.</p>
<p>Pour le chauffage central des villages ou des quartiers d&#39;habitation, les chaudières à copeaux de bois sont privilégiées et équipées de filtres performants pour respecter les très strictes limites d&#39;émission fixées par la Confédération (OPair). </p>
<p class="publishedDate">Créé: 02.03.2020, 06:49</p>
</p></div>
<p><script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)(0);
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "http://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.3";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script><script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)(0);
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "http://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.3";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script><script language="javascript"></p>
<p>		var commentNotSent = true;
		///////////////////////////////////////////////////
		// object FBcomments, can be reused for FB authentification
        var FBcomments = {
        		fbAppId : '251285271592561',
                version: 'v2.0',
        		fbChannel_path : '/facebook_xd_receiver.html', 
        		isLoggedIn : false, </p>
<p>            ///////////////////////////////////////////////////
        		initFb : function() {	
	        		window.fbAsyncInit = function() {
                    FB.init({appId: FBcomments.fbAppId, version: FBcomments.version});
	                if (typeof FB === 'undefined') {
        		 				alert($("#tr_fbConnectError").html()); 
        		 			} 
	            };</p>
<p>                (function(d, s, id) {
                    var js, fjs = d.getElementsByTagName(s)(0);
                    if (d.getElementById(id)) return;
                    js = d.createElement(s); js.id = id;
                    js.src = "http://connect.facebook.net/fr_FR/sdk.js";
                    fjs.parentNode.insertBefore(js, fjs);
                }(document, 'script', 'facebook-jssdk'));
          	},
          	///////////////////////////////////////////////////
          	fbLogin : function() { 
          	 var populateFbData_ = this.populateFbData;
          	 var fbDisplay_ = this.fbDisplay;	
          	 var promptFanBox_ = this.promptFanBox;</p>
<p>        		 FB.init({appId: FBcomments.fbAppId, version: FBcomments.version}); 
        		 if (typeof FB === 'undefined') {
        		 	alert($("#tr_fbConnectError").html()); 
        		 } 	
							  	FB.login(function(response) {
									  if (response.authResponse) {
									     // granted some permissions 
									     this.isLoggedIn = true; 
									  	 populateFbData_(response.authResponse.accessToken, response.authResponse.userID);
									  	 fbDisplay_(); 
									  	 promptFanBox_(response.authResponse.userID);
									  } 
									  else { 
									    // user is not logged
									    this.isLoggedIn = false;
									  	fbDisplay_();  
									  }
									}, {scope:'publish_actions'});
				},
				///////////////////////////////////////////////////
				fbLogout : function() {  
					var fbDisplay_ = this.fbDisplay;
					$.cookie('fbsNN', '', { path: '/', expires: -1 });
					isLoggedIn = false;
					fbDisplay_();
        		},</p>
<p>				///////////////////////////////////////////////////
				populateFbData : function(accessToken, userID) {
					fbAccessToken = accessToken;
					fbUserID = userID;
					FB.api(
					'/me',
					{
						fields: 'name'
					},
					function(response) {
						var fbUserName = '';
						if (response){
							if (response.name){
								fbUserName = response.name;
							}
						}
						// store a fb-independent cookie for future login 
						$.cookie('fbsNN', "access_token="+escape(fbAccessToken)+""+"&uid="+fbUserID+"&realname="+escape(fbUserName), { path: '/', expires: 30 }); 
						fbDomInsert(fbUserName, fbUserID, fbAccessToken);
					}
					);
				},</p>
<p>				///////////////////////////////////////////////////
				promptFanBox : function(userId) {
  				 	FB.api({
					    method: 'fql.query',        
					    query: 'SELECT uid FROM page_fan WHERE uid='+userId+' AND page_id='+10150100771335484 
						},
							function(response) {
								if (typeof response(0) === 'undefined') {
									// user has not liked the page 
									$(document).ready(function(){  
										var txt = $("#tr_fanBoxPromptTitle").html(); 
										tb_show(txt,'/facebook_iframe.html?&height=250&width=645');
									});
								}	
							}
						 );
  				 },
  				 ///////////////////////////////////////////////////
  				 fbDisplay : function() {    
  				 		fbLoginDisplay(this.isLoggedIn );  
  				 		loginDrop();
  				 }
  				 ///////////////////////////////////////////////////
        } // end object</p>
<p>				///////////////////////////////////////////////////
				// cookie based user registration, maybe replaced by user DB in future
  			function fetch_nnCookie() { 
  				 		var nnRegex = /access_token=((^&)+)&uid=((0-9)+)&realname=(.+)/; 
							nnRegex.exec($.cookie('fbsNN')); 		 
							fbAccessToken = unescape(RegExp.$1);      
							fbUserID = RegExp.$2;
							fbUserName = unescape(RegExp.$3);	  
  			}
				///////////////////////////////////////////////////
  			function check_nnCookie() {	          
  				 	if( $.cookie('fbsNN') == null) {   	 
  				 		return false; 
  				 	}
  				 	else { 
							fetch_nnCookie();   
  				 		// check for valid data, delete cookie otherwise 
  				 		if (fbAccessToken != null && fbAccessToken.length > 0 && fbUserID != null && fbUserID.length > 0  && fbUserName != null && fbUserName.length > 0 && fbUserName != 'undefined') {
  				 			fbDomInsert(fbUserName, fbUserID, fbAccessToken); 
  				 			return true;   
  				 		}
  				 		else {
  				 			$.cookie('fbsNN', '', { expires: -1 }); 
  				 			return false;  
  				 		}
  				 	}
  			}</p>
<p>  			///////////////////////////////////////////////////
  			// form handler 
  			function commentsForm_send () {
  				var fbForm_message = $.trim($("#fbForm_message").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message 
  				var fbForm_uri = $.trim($("#fbForm_uri").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				var fbForm_ip = $.trim($("#fbForm_ip").val());			
  				var fbForm_realName = $.trim($("#fbForm_realName").val());
  				var fbForm_userId = $.trim($("#fbForm_userId").val());
  				var fbForm_userToken = $("#fbForm_userToken").val(); 
  				var fbForm_publishOnFB = $("#fbForm_publishOnFB:checked").val();
  				if (typeof fbForm_publishOnFB === 'undefined') {
  					fbForm_publishOnFB = 0; 
  				}
					var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());	
					var hasErrors = false; 
					var messageReg =  fbForm_message.length > 1; </p>
<p>					if (messageReg == false) {
						$("#commentError_message").show(); 	
						hasErrors = true; 
					}
					if (fbFormN_gotcha.length > 1) {
						hasErrors = true; 
					} </p>
<p>          if (!($('#disclaimerConfirmBtn').is(':checked'))) {
						$("#commentError_disclaimer").show();
						hasErrors = true; 
					}
  				if (!hasErrors) {
						$("#commentsForm_send").attr("disabled", "true");
						$("#commentsForm_send_noFb").attr("disabled", "true");</p>
<p>						$("#commentSendLoading").show(); 
						$.ajax({ type: "POST",
							dataType: "text",
							cache: false,
							url: "/community/talkback_ajax.html",
							async: true,
							data: "action=sendComment&fbForm_realName="+encodeURIComponent(fbForm_realName)+"&fbForm_userId="+fbForm_userId+"&fbForm_userToken="+encodeURIComponent(fbForm_userToken)+"&fbForm_publishOnFB="+fbForm_publishOnFB+"&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID,
							error: function(){
								alert($("#tr_commentSendError").html()); 
							},
							complete: function(reqCode){
								$("#commentLogin").hide();
								$("#fbForm_message").hide();
								$("#fbForm_message_count_class").hide();      	
								$("#commentError_message").hide();
									$("#commentError_name").hide();
									$("#commentError_location").hide();
									$("#commentError_email").hide();
									$("#commentError_disclaimer").hide();
									$(".disclaimerText").hide();
									$("#commentInfo_noFb").hide();
									$("#commentsForm_send").hide();
									$("#fbCommentPublishCheckbox").hide();
									$("#commentsForm_send_noFb").hide();
								$("#commentInfo_Fb").show();
								$("#commentSendLoading").hide();
							}
						});
					} // hasErrors
				}</p>
<p> 			//////////////////////////////////////////////////
 			function delete_cookie(cookie) {
				$.cookie(cookie, null, {path: '/'});
 			}</p>
<p>			//////////////////////////////////////////////////
			function save_form_to_cookie(class_name) {
				var form = new Array();
				$("."+ class_name).each(function(index) {
					form(index) = {};
					form(index)('id') = $(this).attr("id");
					form(index)('val') = $(this).val();
				});
				$.cookie(class_name, JSON.stringify(form), {json:true});
			}</p>
<p> 			//////////////////////////////////////////////////
 			function save_object_to_cookie(data) {
 			    var form = new Array();
 			    form(0)('id') = 'fbFormN_firstName';
 			    form(0)('val') = '';
 			    form(1)('id') = 'fbFormN_surname';
 			    form(1)('val') = '';
 			    form(2)('id') = 'fbFormN_zip';
 			    form(2)('val') = '';
 			    form(3)('id') = 'fbFormN_location';
 			    form(3)('val') = '';
 			    form(4)('id') = 'fbFormN_email';
 			    form(4)('val') = '';
 			    $("."+ class_name).each(function(index) {
 			        form(index) = {};
 			        form(index)('id') = $(this).attr("id");
 			        form(index)('val') = $(this).val();
 			    });
 			    $.cookie(class_name, JSON.stringify(form), {json:true});
 			}</p>
<p>			//////////////////////////////////////////////////
			function set_logged_in_cookie(data) {
			    $.cookie('comment_login_details_email', JSON.stringify(data), {json:true,expires:14,path: '/'});
			}</p>
<p>			//////////////////////////////////////////////////
			function read_logged_in_cookie() {
				var cookie_form_data_json = $.cookie('comment_login_details_email');
				if (cookie_form_data_json != null) {
					var form_data = JSON.parse(cookie_form_data_json);
					if (typeof form_data != 'undefined') {
						if (form_data.user.customer_id == 53){
							if (typeof form_data.pcr != 'undefined' && form_data.pcr != null && form_data.pcr.length > 0){
								if (typeof form_data.uid != 'undefined' && form_data.uid != null && form_data.uid != 0){
									auto_login_email(form_data);
									return;
								}
							}
						} else {
							auto_login_email(form_data);
						}
					}
				}</p>
<p>			}</p>
<p> 			//////////////////////////////////////////////////
 			function read_form_from_cookie(class_name) {
 			    var cookie_form_data_json = $.cookie(class_name);
 			    var form_data = JSON.parse(cookie_form_data_json);
 			    $.each(form_data, function(index, value) {
 			        $("#"+ value.id).val(value.val);
 			    });
 			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_create_account() {
				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
				var fbFormN_zip = $.trim($("#fbFormN_zip").val());
				var fbFormN_location = $.trim($("#fbFormN_location").val());
				var fbFormN_telephone = $.trim($("#fbFormN_telephone").val());
				var fbFormN_email = $.trim($("#fbFormN_email").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				if ($("#fbFormN_password").length) {
				    var fbFormN_password = $.trim($("#fbFormN_password").val());
				}
				if ($("#fbFormN_password_confirm").length) {
				    var fbFormN_password_confirm = $.trim($("#fbFormN_password_confirm").val());
				}</p>
<p>				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; 
if (fbFormN_telephone.length > 1) {</p>
<p>			var telephoneReg = (fbFormN_telephone.match(/^(ds)*$/));</p>
<p>}
				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;</p>
<p>				var password_params = '';</p>
<p>				$("#commentError_name").hide(); 	
				$("#commentError_location").hide(); 
				$("#commentError_telephone").hide(); 
				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); 
				$(".disclaimerText").hide();</p>
<p>				if (nameReg == false) {
					$("#commentError_name").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentError_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (telephoneReg == null) {
					$("#commentError_telephone").show();
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){
					$("#commentError_email").show();
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>				if ($("#fbFormN_password").length && $("#fbFormN_password_confirm").length) {
					if (fbFormN_password != fbFormN_password_confirm) {
					    $("#commentError_password").show();
					    hasErrors = true;
					}
					else {
					    password_params += "&fbFormN_password=" + encodeURIComponent(fbFormN_password);
				        password_params += "&fbFormN_password_confirm=" + encodeURIComponent(fbFormN_password_confirm);
					}
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					save_form_to_cookie('comment_form_input');
					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_create_account&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_telephone="+encodeURIComponent(fbFormN_telephone)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&customer_id="+fbForm_customerId+"&story_id="+encodeURIComponent(fbForm_storyId)+password_params,
						error: function(){ },
						success: function(data){
							if (data.code == 0) {
								setMessageBox(data.message, data.addclass);
							} else {</p>
<p>			$("#disclaimerConfirm").hide();
			$("#commentLogin").hide();
			$("#fbForm_message").hide();
			$("#fbForm_message_count_class").hide();
			$("#commentError_message").hide();
			$("#commentInfo_Fb").hide(); 
			$("#commentsForm_send").hide();
			$("#fbCommentPublishCheckbox").hide();
			$("#commentsForm_send_noFb").hide();</p>
<p>								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p>				/////////////////////////////////////////////////
				function confirm_delete_account() {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=confirm_delete_account&customer_id="+customer_id+"&email="+encodeURIComponent(login_email_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#deleteAccount').html(data.message);
					            $('#deleteAccount').fadeIn(800);
					            $('#commentFormSubContainer').slideUp(1000);
					            $('body,html').stop().animate({
					                'scrollTop': $("#deleteAccount").offset().top-200
					            }, 1000)
					        }
					    }     
				 	});
				}</p>
<p>                /////////////////////////////////////////////////
				function cancel_delete_account() {
					$('#deleteAccount').html('');
					$('#deleteAccount').hide();
					$('#commentFormSubContainer').slideDown(1000);
				}</p>
<p>                /////////////////////////////////////////////////
				function delete_account() {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=delete_account&customer_id="+customer_id+"&email="+encodeURIComponent(login_email_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#deleteAccount').html('');
					            $('#deleteAccount').hide();
					            $('#commentFormSubContainer').slideDown(1000);
					            setMessageBox(data.message, data.addclass);
								delete_cookie('comment_login_details_email');
					        }
					        else if (data.code == 2) {
					            $('#deleteAccount').html('');
					            $('#deleteAccount').hide();
					            $('#commentFormSubContainer').slideDown(1000);
					            setMessageBox(data.message, data.addclass);
					        }
					    }     
				 	});
				}</p>
<p>  			//////////////////////////////////////////////////
  			function commentsForm_update_account_close() {
  			    $("#manageAccount").html('');
  			}</p>
<p> 			///////////////////////////////////////////////////
  			function commentsForm_update_account() {
  				var fbFormN_firstName = $.trim($("#update_firstName").val());
  				var fbFormN_surname = $.trim($("#update_surname").val());
  				var fbFormN_zip = $.trim($("#update_zip").val());
  				var fbFormN_location = $.trim($("#update_location").val());
  				var fbFormN_telephone = $.trim($("#update_telephone").val());
  				var fbFormN_email = $.trim($("#update_email").val());
  				var fbFormN_email_hidden = $.trim($("#update_email_hidden").val());
  				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
  				var login_email_token = $.trim($("#login_email_token").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				if ($("#update_password").length) {
  				    var fbFormN_password = $.trim($("#update_password").val());
  				}
  				if ($("#update_password_confirm").length) {
  				    var fbFormN_password_confirm = $.trim($("#update_password_confirm").val());
  				}</p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; </p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;</p>
<p>				var password_params = '';</p>
<p>				$("#commentErrorUpdate_name").hide(); 	
				$("#commentErrorUpdate_location").hide(); 
				$("#commentErrorUpdate_telephone").hide(); 
				$("#commentErrorUpdate_email").hide(); 
				$("#commentErrorUpdate_password").hide(); 
				$(".disclaimerText").hide();</p>
<p>				if (nameReg == false) {
					$("#commentErrorUpdate_name").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentErrorUpdate_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (telephoneReg == null) {
					$("#commentErrorUpdate_telephone").show();
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){
					$("#commentErrorUpdate_email").show();
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>				if ($("#fbFormN_password").length && $("#fbFormN_password_confirm").length) {
					if (fbFormN_password != fbFormN_password_confirm) {
					    if ((fbFormN_password != 'mot de passe' || fbFormN_password_confirm != 'confirmer le mot de passe') && (fbFormN_password != 'password' || fbFormN_password_confirm != 'confirm password')) {
					        $("#commentErrorUpdate_password").show();
					        hasErrors = true;
					    }
					}
					else {
					    password_params += "&fbFormN_password=" + encodeURIComponent(fbFormN_password);
				        password_params += "&fbFormN_password_confirm=" + encodeURIComponent(fbFormN_password_confirm);
					}
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
	                save_form_to_cookie('comment_form_input');
					jQuery.ajax({ type: "POST",
				          dataType: "json",
				          cache: false,
	                	  url: "/community/talkback_ajax.html",
				          async: true,
				          data: "action=talkback_update_account&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_telephone="+encodeURIComponent(fbFormN_telephone)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbFormN_email_hidden="+encodeURIComponent(fbFormN_email_hidden)+"&customer_id="+fbForm_customerId+password_params+"&token="+login_email_token+"&story_id="+encodeURIComponent(fbForm_storyId),
				          error: function(){ },
				          success: function(data){
				          	if (data.code == 1) {
							    $("#disclaimerConfirm").hide();
				          	    $("#commentLogin").hide();
				          	    $("#fbForm_message").hide();
				          	    $("#fbForm_message_count_class").hide();
				          	    $("#commentErrorUpdate_message").hide();
				          	    $("#commentInfo_Fb").hide(); 
				          	    $("#commentsForm_send").hide();
				          	    $("#fbCommentPublishCheckbox").hide();
							    $("#commentsForm_send_noFb").hide(); 
			          		    $("#commentInfo_noFb").show();
			          		    $("#manageAccount").toggle();
			          		    $("#commentInfo_noFb").text(data.message);
			          		    setMessageBox(data.message, data.addclass);
								delete_cookie('comment_login_details_email');
			          		} else if (data.code == 2){
								$("#commentLogin").show();
								$("#fbForm_message").show();
								$("#fbForm_message_count_class").show();
								$("#commentErrorUpdate_message").hide();
								$("#commentInfo_Fb").hide(); 
								$("#commentsForm_send").hide();
								$("#fbCommentPublishCheckbox").hide();
								$("#commentsForm_send_noFb").hide(); 
								$("#commentInfo_noFb").hide();
								$("#manageAccount").toggle();
								setMessageBox(data.message, data.addclass);
								if (data.user.customer_id == 53){
									auto_login_email(data);
								}
							} else if (data.code == 3){
								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p> 			// Handler to reset the timer on each notification 
 			var timeoutHandle;
 			function setMessageBox(message, boxclass) {
 			    $("#messageBox").hide();
 			    $("#messageBox").html(message);
 			    $("#messageBox").removeClass("warning error success").addClass(boxclass);
 			    $("#messageBox").fadeIn(1500);</p>
<p> 			    clearTimeout(timeoutHandle);</p>
<p> 			    timeoutHandle = setTimeout(function(){
 			        $("#messageBox").fadeOut(2000, function () {
 			      });
 			    }, 12000);
 			}</p>
<p> 			function forgot_password_send() {
				var email = $.trim($('#password_forgot_email').val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				var hasErrors = false;</p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/;</p>
<p>				if(emailRegObj.test(email) == false){      
					$("#commentError_password_forgot_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {</p>
<p>					jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=reset_password&customer_id="+fbForm_customerId+"&email="+encodeURIComponent(email),  
					    error: function(){ },
					    success: function(data){
						        if (data.code = 0) {
						            setMessageBox(data.message, data.addclass);
						        }
						        else if (data.code = 1) {
						            $('#comment_password_reset_form').toggle('slow');
						            $('#comment_login_form').toggle('slow');
						            setMessageBox(data.message, data.addclass);
						        }
					    }     
				 	});</p>
<p>				}
 			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_login_noFb() {
				var fbFormN_email = $.trim($("#fbFormN_email_login").val());
				var fbFormN_password = $.trim($("#fbFormN_password_login").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				var hasErrors = false;</p>
<p>				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/;</p>
<p>				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); </p>
<p>				if(emailRegObj.test(fbFormN_email) == false){      
					$("#commentError_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {</p>
<p>					//$("#commentsForm_send").attr("disabled", "true");
					//$("#commentsForm_send_noFb").attr("disabled", "true");
					//save_form_to_cookie('comment_form_input');</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_login_email&email="+encodeURIComponent(fbFormN_email)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password),
						error: function(){</p>
<p>						},
						success: function(data){
							//$("#commentLogin").hide();
							//$("#fbForm_message").hide();
							//$("#fbForm_message_count_class").hide();
							//$("#commentError_message").hide();
							//$("#commentInfo_Fb").hide(); 
							//$("#commentsForm_send").hide();
							//$("#fbCommentPublishCheckbox").hide();
							//$("#commentsForm_send_noFb").hide(); </p>
<p>							if (data.code == 2) {
								$('.commentFBlogin').hide();
								$('#comment_login_form').hide();
								$("#change_phonenumber").show();
								setMessageBox(data.message, data.addclass);
							} else {
								$("#change_phonenumber").hide();
								//$("#commentInfo_noFb").show();
								//$("#commentLoggedInEmail").text(data.message);
								setMessageBox(data.message, data.addclass);
								$("#commentLoggedInEmail").show();
								if ('user' in data) {
									auto_login_email(data);
								}
							}
						}
					});
				}
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_phone_change() {
				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_email_phone_chnage").hide();
							$("#fbFormN_email_phone_chnage").hide();
							$("#commentError_telephone_change").hide();
							$("#fbFormN_telephone_change").hide();
							$("#commentError_password_phone_chnage").hide();
							$("#fbFormN_password_phone_chnage").hide();
							$("#commentsForm_sms_change_veryfy").hide();</p>
<p>							$("#fbFormN_sms_change_Ver").show();
							$("#commentsForm_sms_send_change_veryfy").show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}</p>
<p>			///////////////////////////////////////////////////</p>
<p>			function comments_modifyForm_phone_change() {</p>
<p>				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_email_phone_chnage").hide();
							$("#fbFormN_email_phone_chnage").hide();
							$("#commentError_telephone_change").hide();
							$("#fbFormN_telephone_change").hide();
							$("#commentError_password_phone_chnage").hide();
							$("#fbFormN_password_phone_chnage").hide();
							$("#commentsForm_sms_change_veryfy").hide();</p>
<p>							$("#fbFormN_sms_change_Ver").show();
							$("#commentsForm_sms_send_change_veryfy").show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_phone_change_sms_verify() {
				var fbFormN_email_phone_chnage = $.trim($("#fbFormN_email_phone_chnage").val());
				var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());
				var fbFormN_password_phone_chnage = $.trim($("#fbFormN_password_phone_chnage").val());
				var fbFormN_sms_change_Ver = $.trim($("#fbFormN_sms_change_Ver").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());</p>
<p>				jQuery.ajax({ type: "POST",
					dataType: "json",
					cache: false,
					url: "/community/talkback_ajax.html",
					async: true,
					data: "action=talkback_phone_change_sms_verify&email="+encodeURIComponent(fbFormN_email_phone_chnage)+"&customer_id="+fbForm_customerId+"&password="+encodeURIComponent(fbFormN_password_phone_chnage)+"&telephone="+encodeURIComponent(fbFormN_telephone_change)+"&code="+encodeURIComponent(fbFormN_sms_change_Ver),
					error: function(){
					},
					success: function(data){
						if (data.code == 1) {
							$("#commentError_sms_change_ver").hide();
							$("#fbFormN_sms_change_Ver").hide();
							$("#commentsForm_sms_send_change_veryfy").hide();
							$("#change_phonenumber").hide();</p>
<p>							$('#comment_login_form').show();</p>
<p>							setMessageBox(data.message, data.addclass);
						} else {
							setMessageBox(data.message, data.addclass);
						}
					}
				});
			}
			///////////////////////////////////////////////////
			function commentsForm_sms_verify() {
				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
				var fbFormN_telephone = $.trim($("#fbFormN_telephone").val());
				var fbFormN_email = $.trim($("#fbFormN_email").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				var fbFormN_smsVer = $.trim($("#fbFormN_smsVer").val());</p>
<p>				var hasErrors = false;</p>
<p>				if (!hasErrors) {</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "json",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=talkback_sms_verify&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&email="+encodeURIComponent(fbFormN_email)+"&telefone="+encodeURIComponent(fbFormN_telephone)+"&code="+ fbFormN_smsVer +"&customer_id="+fbForm_customerId+"&story_id="+encodeURIComponent(fbForm_storyId),
						error: function(){
						},
						success: function(data){
							if (data.code == 0) {
								setMessageBox(data.message, data.addclass);
							} else {
								$("#commentLogin").hide();
								$("#sms_verify").hide();
								$("#fbFormN_smsVer").hide();
								$("#commentsForm_sms_veryfy").hide();</p>
<p>								setMessageBox(data.message, data.addclass);
							}
						}
					});
				}
			}</p>
<p>			//////////////////////////////////////////
			//swissnoise quiva
			function auto_login_quiva(data) {
				console.log("quiva login start");
				var user = {
					"remoteId": data.uid,
					"username": data.user.email,
					"password": data.pcr,
					"email": data.user.email,
					"firstName": data.user.first_name,
					"lastName": data.user.last_name,
					"zipCode": data.user.post_code,
					"locality": data.user.city,
					"phoneNumber": data.user.mobile_number
				};
				whatif.login(user).always(function() {</p>
<p>				});
				console.log("quiva login done");
			}
			//END swissnoise quiva</p>
<p>  			function auto_login_email(data) {
			    $(".commentFBlogin").hide();
			    $(".commentOhnelogin").hide();
			    var html = '';
			    var name = data.user.first_name +' '+ data.user.last_name;
			    html += '<span class="fbUserWelcome">Bienvenue, <span id="fbUserRealName">'+ name +'</span></span><br />';
			    html += '<a href="" id="commentsForm_send_email" onclick="return false;">Soumettre Commentaire</button>';
			    html += '<a href="" class="emailLogoutButton" onclick="return false;">Déconnecter</a><br />';
			    html += '<a href="" id="emailManageAccount" onclick="return false;">Gérer le profil</a>';
			    html += '<input id="login_email_token" name="login_email_token" value="'+ data.token +'" type="hidden">';
			    html += '<input id="login_email_email" name="login_email_email" value="'+ data.user.email +'" type="hidden">';
			    $("#commentLoggedInEmail").html(html);
			    set_logged_in_cookie(data);
			    $("#commentLoggedInEmail").show();</p>
<p>  			}</p>
<p> 			///////////////////////////////////////////////////
  			function commentsForm_send_noFb() {
  				var fbForm_message = $.trim($("#fbForm_message").val());  
  				fbForm_message = fbForm_message.replace(/&/g, "+");
  				var fbForm_uri = $.trim($("#fbForm_uri").val());
  				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
  				var fbForm_ip = $.trim($("#fbForm_ip").val());</p>
<p>  				var is_logged_in = false;
  				if ($("#is_logged_in").length) {
  				    is_logged_in = true;
  				}</p>
<p>  				var fbFormN_firstName = $.trim($("#fbFormN_firstName").val());
  				var fbFormN_surname = $.trim($("#fbFormN_surname").val());
  				var fbFormN_zip = $.trim($("#fbFormN_zip").val());
  				var fbFormN_location = $.trim($("#fbFormN_location").val());
  				var fbFormN_email = $.trim($("#fbFormN_email").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message 
  				if ($("#fbFormN_password").length) {
  				    var fbFormN_password = $.trim($("#fbFormN_password").val());
  				}
  				if ($("#fbFormN_password_confirm").length) {
  				    var fbFormN_password_confirm = $.trim($("#fbFormN_password_confirm").val());
  				}</p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var messageReg =  fbForm_message.length > 1; 
				var nameReg = !(fbFormN_firstName.match(/(*)/)) && !(fbFormN_surname.match(/(*)/)) && fbFormN_firstName.length > 1 && fbFormN_surname.length > 1;
				// dont check for ZIP, cause of foreign countries 
				//var locReg = !(fbFormN_zip.match(/(*)/)) && !(fbFormN_location.match(/(*)/)) && fbFormN_zip.length > 1 && fbFormN_location.length > 1;   
				var locReg = !(fbFormN_location.match(/(*)/))&& fbFormN_location.length > 1; 
				var emailRegObj = /^((a-zA-Z0-9_.-))+@((a-zA-Z0-9_.-))+.((a-zA-Z))+((a-zA-Z))+/; 	 // /^((a-zA-Z0-9_.-+))+@(((a-zA-Z0-9-))+.)+((a-zA-Z0-9){2,4})+$/;
				var password_params = '';</p>
<p>				$("#commentError_name").hide();
				$("#commentError_location").hide();
				$("#commentError_email").hide();
				$("#commentError_password").hide();
				$("#commentError_message").hide();
				$("#commentError_disclaimer").hide();
				$(".disclaimerText").hide();</p>
<p>				if (messageReg == false) {
					$("#commentError_message").show();
					hasErrors = true;
				}</p>
<p>				if (nameReg == false) {
					$("#commentError_name").show();
					hasErrors = true; 
				}</p>
<p>				if (locReg == false) {
					$("#commentError_location").show(); 	
					hasErrors = true; 
				}</p>
<p>				if(emailRegObj.test(fbFormN_email) == false){      
					$("#commentError_email").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;
				}</p>
<p>				if (!($('#disclaimerConfirmBtn').is(':checked'))) {
					$("#commentError_disclaimer").show();
					$(".disclaimerText").show();
					hasErrors = true;
				}</p>
<p>				if (!hasErrors) {</p>
<p>					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					save_form_to_cookie('comment_form_input');</p>
<p>					jQuery.ajax({ type: "POST",
						dataType: "html",
						cache: false,
						url: "/community/talkback_ajax.html",
						async: true,
						data: "action=sendComment&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID,
						error: function(){ },
						success: function(){
							$("#commentLogin").hide();
							$("#fbForm_message").hide();
							$("#fbForm_message_count_class").hide();
							$("#commentError_message").hide();
							$("#commentInfo_Fb").hide();
							$("#commentsForm_send").hide();
							$("#fbCommentPublishCheckbox").hide();
							$("#commentsForm_send_noFb").hide();
							$("#disclaimerConfirm").hide();
							$("#commentInfo_noFb").show();
						}
					});
				}
			}</p>
<p>			///////////////////////////////////////////////////
			function commentsForm_send_email() {
				var fbForm_message = $.trim($("#fbForm_message").val());  
				fbForm_message = fbForm_message.replace(/&/g, "+");
				var fbForm_uri = $.trim($("#fbForm_uri").val());
				var fbForm_storyId = $.trim($("#fbForm_storyId").val());
				var fbForm_customerId = $.trim($("#fbForm_customerId").val());
				var fbForm_ip = $.trim($("#fbForm_ip").val());
				var login_email_token = $.trim($("#login_email_token").val());</p>
<p>  				var is_logged_in = false;
  				if ($("#is_logged_in").length) {
  				    is_logged_in = true;
  				}</p>
<p>  				var fbFormN_email = $.trim($("#login_email_email").val());
  				var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message </p>
<p>  				var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());</p>
<p>				var hasErrors = false; </p>
<p>				var messageReg =  fbForm_message.length > 1; </p>
<p>				$("#commentError_name").hide(); 	
				$("#commentError_location").hide(); 
				$("#commentError_email").hide(); 
				$("#commentError_password").hide(); 
				$("#commentError_message").hide(); 	
				$("#commentError_disclaimer").hide(); 	
				$(".disclaimerText").hide();</p>
<p>				if (messageReg == false) {
					$("#commentError_message").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (fbFormN_gotcha.length > 1) {
					hasErrors = true;  
				}</p>
<p>			    if (!($('#disclaimerConfirmBtn').is(':checked'))) {
					$("#commentError_disclaimer").show(); 	
					hasErrors = true; 
				}</p>
<p>				if (!hasErrors) {
					$("#commentsForm_send").attr("disabled", "true");
					$("#commentsForm_send_noFb").attr("disabled", "true");
					commentNotSent = false;</p>
<p>				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=send_comment_email&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&customer_id="+fbForm_customerId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID+"&email="+encodeURIComponent(fbFormN_email)+"&token="+login_email_token,  
					    error: function(){ },
					    success: function(data){
						          	if (data.code == 1) {
						          	    $("#commentLogin").hide();
						          	    $("#fbForm_message").hide();
						          	    $("#fbForm_message_count_class").hide();      	
						          	    $("#commentError_message").hide();
									    $("#commentError_name").hide(); 	 	
									    $("#commentError_location").hide(); 	
									    $("#commentError_email").hide();	
									    $("#commentError_disclaimer").hide(); 	
									    $(".disclaimerText").hide();
									    $("#commentInfo_noFb").hide(); 
    									$("#commentsForm_send").hide(); 
									    $("#fbCommentPublishCheckbox").hide();
									    $("#disclaimerConfirm").hide();
									    $("#commentsForm_send_noFb").hide();	
						          	    $("#commentInfo_noFb").show();  
						          	    $("#commentSendLoading").hide();
						          	    $("#commentInfo_Notice").hide();
						          	    $("#manageAccount").hide();
						          	}
						          	else if (data.code == 2) {
						          	    setMessageBox(data.message, data.addclass);
						          	}
					    }     
				 	});		
				}		
  			}  			</p>
<p>			///////////////////////////////////////////////////
			///////////////////////////////////////////////////
  			// some jquery UI functions
			function fbLoginDisplay(loginState) {
				$(document).ready(function(){
					if (loginState == true) {
						$(".notloggedToFacebook").hide();
						$(".loggedToFacebook").show();
						$('#commentsForm_send_noFb').hide();
						$('#commentsForm_send').show();
						$("#fbCommentPublishCheckbox").show();
						$(".recommendCommentFacebook").show();
					}
	else {
						$(".loggedToFacebook").hide(); 
						$(".notloggedToFacebook").show(); 
						$('#commentsForm_send').hide();
						$('#commentsForm_send_noFb').show();
						$("#fbCommentPublishCheckbox").hide();
						$(".recommendCommentFacebook").hide();
						if ($("#commentLoggedInEmail").length) {
							$("#commentLoggedInEmail").show();
						}
				}});
  			}</p>
<p>  			///////////////////////////////////////////////////
  			function fbDomInsert(username, uid, token) {  
						$(document).ready(function(){  
		           $("#fbUserRealName").html(username); 
		           var imgHtml= "<img src='https://graph.facebook.com/me/picture?access_token="+token+"'/>";
		           $("#fbUserProfilePicture").html(imgHtml);</p>
<p>		           $("#fbForm_realName").val(username); 
		           $("#fbForm_userId").val(uid);
		           $("#fbForm_userToken").val(token);
	        	});
				}
				///////////////////////////////////////////////////
				function loginDrop() {
					$(document).ready(function(){
						$('#commentLogin').slideDown();
						$("textarea#fbForm_message").attr("rows", 6);
						$("#commentsForm_send").removeAttr("disabled");
						$("#commentsForm_send_noFb").attr("disabled", "");
						$("#commentsForm_send_email").removeAttr("disabled");
						$("#fbForm_message").val("");
						$('#fbForm_message').removeAttr("onclick");
					});
				}
		///////////////////////////////////////////////////
		function doOnFbConnect() {
			$(".recommendCommentFacebook").show(); // for comments below: display checkbox to choose if recommended comments get published on facebook
		}</p>
<p>		///////////////////////////////////////////////////
		function log(msg){
			if (typeof console === 'undefined') {
				return false;
			} else {
				return true;
			}
		}</p>
<p>		/////////////////////////////////////////////////////////////////////////////////	
        /////////////////////////////////////////////////////////////////////////////////  
        /////////////////////////////////////////////////////////////////////////////////
        // main </p>
<p>        // fb auth 
        var fbAccessToken = ''; 
        var fbUserID = ''; 
        var fbUserName = '';  
        FBcomments.initFb(); 
        var nnFBloggedIn = check_nnCookie();  
   			if (nnFBloggedIn == true) {
   				fbLoginDisplay(true); </p>
<p>   			}
   			else {
   				fbLoginDisplay(false); 
   			}</p>
<p>function inputFocus(thisFor, thisClass) {
    $('#'+ thisFor).focus(function() {
        $('.'+ thisClass).animate({ opacity: "0" }, "fast");
    }).blur(function() {
        if($(this).val() == "") {
            $('.'+ thisClass).animate({ opacity: "1" }, "fast");
        }
    });
}</p>
<p>			//// some more jquery stuff
   			$(document).ready(function(){
				read_logged_in_cookie();</p>
<p>				// hide 'populär auf facebook' widget in sideline
				//$("#fb_activityFeed").hide(); </p>
<p>				$("#fbCommentPublishCheckbox").hide();</p>
<p>$('#fbFormN_password_login').keypress(function(e){
    if (e.which == 13){
        e.preventDefault();
        $(this).blur();
        $('#commentsForm_post_confirmed').focus().click();
        return false;
    }
});</p>
<p>$('#fbFormN_smsVer').keypress(function(e){
    if (e.which == 13){
        e.preventDefault();
        $(this).blur();
        $('#commentsForm_sms_veryfy').focus().click();
        return false;
    }
});</p>
<p>// Bind to set the fadeout of form labels when clicked or focused
$('.sbsLabel label').each(function () {
    var thisFor = $(this).attr('for');
    var thisClass = $(this).attr('class');
    inputFocus(thisFor, thisClass);
});</p>
<p>   				// some form display handling 
					$('#disclaimerButtonShow').bind('click', function(){
						$('.disclaimerText').show();
						$('#disclaimerButtonShow').css('display','none');
						$('#disclaimerButtonHide').css('display','inline');
					});
					$('#disclaimerButtonHide').bind('click', function(){
						$('.disclaimerText').hide();
						$('#disclaimerButtonHide').css('display','none');
						$('#disclaimerButtonShow').css('display','inline');
					});</p>
<p>				// display login data on start 
				if ($("#fbUserRealName").html()) {
					if ($("#fbUserRealName").html().length >= 2){ // && $("textarea#fbForm_message").attr("rows") > 2
						$("#fbCommentPublishCheckbox").show();
					}
				}</p>
<p>				// clear textarea 
				$("#fbForm_message").val(''); </p>
<p>				// submit buttons , disable on on reload 
				$("#commentsForm_send").attr("disabled", "true");
				$("#commentsForm_send_noFb").attr("disabled", "true");</p>
<p>				// set checkboxes
				$('#fbForm_publishOnFB').attr('checked', true); 
				$('.recommendCommentPublishOnFb').attr('checked', true); 
				$('#disclaimerConfirmBtn').attr('checked', false);</p>
<p>				// fixes a tiny bug: if values are prefilled on reload they should not be grey 
				var myFbFormIds = ('fbFormN_firstName', 'fbFormN_surname', 'fbFormN_zip', 'fbFormN_location', 'fbFormN_email', 'fbFormN_password', 'fbFormN_password_confirm');
				for (var ii=0;ii < myFbFormIds.length; ii++) {
				  if ($("#"+myFbFormIds(ii)).length) {
					if (!($("#"+myFbFormIds(ii)).val().match(/(*)/))) {
						$("#"+myFbFormIds(ii)).css('color','#000000'); 
					};
				  }
				}

				$('.comment_signup_form_toggle').live('click', function(){
					$('#comment_signup_form').toggle('slow');
					$('#comment_login_form').toggle('slow');
					return false;
				});

				$('.comment_form_forgot_password').live('click', function(){
				    $('#comment_password_reset_form').toggle('slow');
				    $('#comment_login_form').toggle('slow');
				    return false;
				});

				$('.emailLogoutButton').live('click', function() {
					delete_cookie('comment_login_details_email');
					$("#commentLoggedInEmail").html('');
					$("#manageAccount").html('');
					$("#commentLoggedInEmail").hide();
					$(".commentFBlogin").show();
					$(".commentOhnelogin").show();
				});

				$('#show_update_phone').live('click', function() {
					$("#commentLoggedInEmail").html('');
					$("#manageAccount").html('');
					$("#commentLoggedInEmail").hide();
					$("#comment_login_form").hide();

					$("#change_phonenumber").show();
					$(".commentOhnelogin").show();
				});

				$('#commentsForm_send_email').live('click', function() {
				    if (commentNotSent) {
				        commentsForm_send_email();
				    }
				});

				$('#emailManageAccount').live('click', function () {
				    var customer_id = $.trim($("#fbForm_customerId").val());
				    var login_email_email = $.trim($("#login_email_email").val());
				    var login_email_token = $.trim($("#login_email_token").val());

				    jQuery.ajax({ type: "POST",
					    dataType: "json",
					    cache: false,
		                url: "/community/talkback_ajax.html",
					    async: true,
					    data: "action=login_manage_account&#038;customer_id="+customer_id+"&#038;email="+encodeURIComponent(login_email_email)+"&#038;token="+login_email_token,
					    error: function(){ },
					    success: function(data){
					        if (data.code == 0) {
					            setMessageBox(data.message, data.addclass);
					        }
					        else if (data.code == 1) {
					            $('#manageAccount').html(data.message);
					            $('#manageAccount').show();
					        }
					    }     
				 	});
				});

				});
        </script><br /></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
