<link rel="stylesheet" type="text/css" mXattribut="href:csspath" media="screen"/>

<div class="tabe">
	<ul>
	<mx:bloc id="TabeB">
		<li mXattribut="class:TabeView">
			<a mXattribut="href:UrlTabeView" mXattribut="class:ClassTabeView">
				<img mXattribut="src:pictoTabe" mXattribut="class:ClassTabeView" mXattribut="alt:TabeNameView"/>
				<mx:text id="TabeNameView"/>
			</a>
		</li>
	</mx:bloc id="TabeB">
	</ul>
</div>
<div class="box">
	<mx:bloc id="NHSADMINFORUM">		
		<table class="tableNhsforum">
			<tr>
				<th class="styleName"><mx:text id="lblRubname"/></th>
				<th><mx:text id="lgdNbsubj"/></th>
				<th><mx:text id="lgdNbmsg"/></th>
				<th class="styleAction"><mx:text id="lblAction"/></th>
			</tr>
		</table>

		<mx:bloc id="CATEGORY">
			<a mXattribut="name:anchorName"></a>
			<div class="catFieldset">
				<div class="fieldsetHeader"><mx:text id="catlabel"/></div>
				<table class="tableNhsforum">
					<tr class="style0">
						<td class="styleName" colspan="4"><a mXattribut="href:urlTodelCat" class="linkdelete"><mx:text id="ldgDelCategory" /></a></td>
					</tr>
					<mx:bloc id="RUBRIQUE">
					<tr mXattribut="class:lineStyle">
						<td class="styleName">
							<span class="name"><mx:text id="rubname" /></span><br />
							<span class="comment"><mx:text id="rubcomment" /></span>
						</td>
						<td><mx:text id="rubnbsubj" /></td>
						<td><mx:text id="rubnbmsg" /></td>
						<td class="styleAction"><a mXattribut="href:urlToupdateRub" class="linkupdate">&nbsp;</a><a mXattribut="href:urlTodelRub" class="linkdelete">&nbsp;</a></td>
					</tr>
					</mx:bloc id="RUBRIQUE">
				</table>
				<!-- AJOUTER UNE RUBR //-->
				<a mXattribut="href:catAnchor" mXattribut="onclick:catOnclick"><mx:text id="lgdAddRubrique" /></a>
				<div mXattribut="id:divCatid" style="display:none;">
				<form mXattribut="name:formName" method="POST" mXattribut="action:urlTopost">
				<input type="hidden" name="currentCatid" mXattribut="value:currentCatid"/>
				<fieldset class="fieldset">
					<mx:text id="lblRubriqueRight" /> : <mx:select id="nhsforumRubriqueRight" /><br />
					<mx:text id="lgdRubname" /> : <mx:formField id="newRubrique" size="48" /><br />
					<mx:text id="lgdComment" /> : <mx:formField id="newComment" size="48" />
					<div class="action">
						<input type="submit" mXattribut="value:btnAdd" />
					</div>
				</fieldset>
				</form>
				</div>
			</div>
		</mx:bloc id="CATEGORY">

		<form name="NHSMANAGEFORUMCAT" method="POST" mXattribut="action:urlAddCategory">

		<!-- AJOUTER UNE CAT //-->
		<fieldset class="fieldset">
			<legend><mx:text id="lgdAddCategory" /></legend>
			<!-- <mx:formField id="newCategory" id="newCategory" size="64" /> //-->
			<mx:text id="lblCategoryRight"/> : <mx:select id="nhsforumCategoryRight"/><br />
			<mx:formField id="newCategory" id="newCategory" style="width:50%;"/>
<!-- 			<textarea id="newCategory" name="newCategory" rows="15" cols="80" style="width: 80%">Nouvelle categorie</textarea> -->
			<div class="action">
<!-- 				<input type="submit" mXattribut="value:btnAdd" onclick="javascript:document.NHSMANAGEFORUMCAT.action=document.NHSMANAGEFORUMCAT.addCategory.value;" /> -->
				<input type="submit" mXattribut="value:btnAdd" />
			</div>
		</fieldset>
		</form>
	</mx:bloc id="NHSADMINFORUM">
</div>
<script type="text/javascript">
<!--

function visible_elem(element)
{
	// cas ns6
// 	if (document.getElementById)
// 	{
		if (document.getElementById(element).style.display=='none')
			document.getElementById(element).style.display='';
		else
			document.getElementById(element).style.display='none';
// 	}
// 	// cas ie 5.5
// 	else if (document.all)
// 	{
// 		if (document.all[element].style.display=='none')
// 			document.all[element].style.display='';
// 		else
// 			document.all[element].style.display='none';
// 	}
}
//-->
</script>