<link rel="stylesheet" type="text/css" mXattribut="href:csspath" media="screen"/>
<script type="text/javascript">window.parent.document.title = "<mx:text id="pagetitle"/>";</script>

<!--<script type="text/javascript" src="data/javascript/jquery.min.js"> </script>
<script type="text/javascript" src="data/javascript/jquery.tools.min.js"> </script>
<script type="text/javascript" src="data/javascript/jquery.ui.min.js"> </script>-->
<script type="text/javascript">
//<![CDATA[
	$(document).ready(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 = "//connect.facebook.net/fr_FR/sdk.js#xfbml=1&appId=794779543899011&version=v2.0";
		fjs.parentNode.insertBefore(js, fjs);
	}(document, 'script', 'facebook-jssdk'));
	function toggleComments(id)
	{
		$("#"+id).toggle("slide");
	}
// ]]>
</script>
<fieldset class="framebox">
<div id="messageprint"></div>
<div class="box">
	<div id="lastestsnews">
		<mx:bloc id="news">
			<div class="news">
				<div class="newshead">
					<span class="newstitle"><mx:bloc id="iconBloc"><mx:image id="icon"/></mx:bloc id="iconBloc"><a mXattribut="href:newslink"><mx:text id="newstitle"/></a></span>
					<span class="newsdate"><mx:text id="newsdate"/></span><br/>
				</div>
				<div class="newscontent">
					<div class="newscontent"><mx:text id="newscontent"/></div>
				</div>
				<div class="newsbottom" onclick="javascript:toggleComments('newscomments_<mx:text id="newsId"/>')"><mx:text id="lblnewscomments"/>
					<div id="newscomments_<mx:text id="newsId"/>" class="newscomments">
						<div id="fb-root"></div>
<!-- 						<div class="fb-comments" data-href="https://www.facebook.com/fablcube/comments/" data-numposts="5" data-colorscheme="light"></div> -->
						<div class="fb-comments" data-href="<mx:text id="dataRefUrl"/>" data-numposts="5" data-colorscheme="light"></div>
					</div>
				</div>
			</div>
		</mx:bloc id="news">
	</div>
	<mx:bloc id="BLOCCHARTE">
		<script type="text/javascript">
		//<![CDATA[
			$(document).ready(function() {
				$("#facebox").overlay({
					closeOnClick: false,
					api:true
				})<mx:text id="loadcharte"/>;
				var dataString = 'rules='+ 1;
				$("#checkbox").change(function () {
					$.ajax
					({
						type: "POST",
						data: dataString,
						cache: false
					});
					$("#facebox").toggle();
				});
			});
		// ]]>
		</script>
		<div id="facebox" class="apple_overlay">
			<div class="contentWrap">
				<div class="chartes">
					<mx:text id="textCharteLegion"/>
				</div>
			</div>
		</div>
	</mx:bloc id="BLOCCHARTE">
</div>
</fieldset>