<?xml version="1.0" encoding="ISO-8859-15"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xslc="http://xslcomponents.org/TR/WD-xslc">
	<xsl:import href="../../xslc.xsl"/>
	<xsl:import href="../../Common.xsl"/>
	<xsl:template match="/">
		<xsl:apply-templates select="document"/>
	</xsl:template>
	<xsl:template match="document">
		<xsl:call-template name="xslc:Page">
			<xsl:with-param name="DisplayToolbar">1</xsl:with-param>
			<xsl:with-param name="DisplayTabControl">0</xsl:with-param>
			<xsl:with-param name="DisplayTabs">0</xsl:with-param>
			<xsl:with-param name="BodyAttributes">
				<Attributes onload="GrpInit(); "/>
			</xsl:with-param>
			<xsl:with-param name="DisplayActionMenu">
				<xsl:if test="/document/OutParams/AmMode='0'">2</xsl:if>
				<xsl:if test="/document/OutParams/AmMode!='0'">1</xsl:if>
			</xsl:with-param>
			<xsl:with-param name="Head">
				<style type="text/css">a.aopt { text-decoration:none;}
a.aoptselected { text-decoration: none; background-color: #cbdaf5}

fieldset
{
  border:1px solid #B1DBF3; 
    -moz-border-radius:4px;
    border-radius:4px;
}

.separa
    {
    border-top: 1px solid blue;
    padding-top: 5px;
    margin-top: 2px;
    }
</style>
				<script language="javascript">
					<![CDATA[   function oForm(oWidth, oHeight) {
      if (vidPaneID.style.display=='block') {
         vidPaneID.style.display='none';
//         vidPaneID.innerHTML=''; 
      } else {
         vidPaneID.style.display='block';
//         vidPaneID.style.width=oWidth;
//         vidPaneID.style.height=oHeight;
      }
   }]]>
					<![CDATA[   function ShowHideForm(vid) {
      if (vid.style.display=='block') {
         vid.style.display='none';
      } else {
         vid.style.display='block';
      }
   }
   function wReload(hRef) {
      parent.document.location = hRef;
   }]]>
				</script>
				<script language="javascript">
					<![CDATA[// ==========================================================================
// Afficher la fenêtre popup pour la saisie des infos Liste des Commerciaux
// ==========================================================================
function lPopForm(PopID, idEquipement, idGroup, sInfo, tInfo) {
var posScroll =f_scrollTop();
   vidPaneID = document.getElementById('vdiv'+PopID); 
   vidPaneID.style.top=posScroll +15;
   vidPaneID.style.left='145px';                    
//   vidPaneID.style.align = 'center';
  ShowHideForm(vidPaneID);
//      ShowHide(vidPaneID, 'WIDTH', 435, 'HEIGHT', 365); 

  if (popObj = getObjectById(PopID)) {
      popObj.style.top = 18; //posScroll +15;
      popObj.style.left = 0; //55;
      popObj.style.width = 430;
      popObj.style.height = 255;
  var rdm=Math.floor(Math.random()*100000);
      popObj.src = XMLC_BaseHRef+'FormtEquips?idEquipement='+ idEquipement +'&SelGroup=' + idGroup +'&SelInfo=' + sInfo +'&TxtInfo=' + tInfo +'&randNumber='+rdm;;
  }
}]]>
				</script>
				<script language="javascript">
					<![CDATA[var apLastValue='x';
function VOapShowHide_dark(ID) {
  if (apLastValue!='') apShowHide_dark(ID); 
  apLastValue='x';
}
function VOapShowHide(ID) {
  if (apLastValue!='') apShowHide(ID); 
  apLastValue='x';
}
function VOShowHideActionMenu() {
  ShowHideActionMenu(); 
  goSubmit();
}

function onKeyTestCR(e) {
  var aKey = window.event ? e.keyCode : e.which;
  if (aKey == 13) {
    goSubmit(); 
    }
}]]>
				</script>
				<script language="javascript">
					<![CDATA[// Valider les paramètres d'appel et lancement Service
// 
function goService(nService) {
  if (nService != '') {
     if (nService.search('http://www')==-1) nService=XMLC_BaseHRef+nService ;
     document.location =  nService ;}
  return false;
}

function goSubmit() {
  SetField('MainForm', 'AmMode',  (getObjectById('xslcActionMenu').style.display == 'none') ? '0' : '1');
  document.MainForm.submit(); 
  return false;
}]]>
				</script>
				<script language="javascript">
					<![CDATA[// Construction de la liste des Groupes...
var tGrps= new Array(]]>
					<xsl:if test="/document/InfosCptS/InfosCpt/CptOrdre=1">
						<![CDATA['blocdo',]]>
					</xsl:if>
					<xsl:for-each select="/document/Groups/Group">
						<xsl:sort select="Name"/>
						<xsl:if test="(Name!='') and (Name!='SuperAdmins') and (Name!='VOUsers') and (Name!='Guests')">
							<![CDATA[']]>
							<xsl:value-of select="Name"/>
							<![CDATA[',]]>
						</xsl:if>
					</xsl:for-each>
					<![CDATA['eof');
]]>
					<![CDATA[function trim(stringToTrim) {
  return stringToTrim.replace(/^\s+|\s+$/g,"");
}
var nbRows = 0;

function GrpInit() {
      var cptMax = 0;
      var cptVal = 0;
      getObject('cptGRP').value = '0';
      for (var j1=0; j1<tGrps.length-1; j1 = j1 + 1) {
        tGrps[j1] = trim(tGrps[j1]).toLowerCase();
        tGrps[j1] = trim(tGrps[j1].replace('user_', ''));
        if (getObject('cptGRP')) {
            cptVal = parseInt(getObject('cptGRP').value) + 1;
            getObject('cptGRP').value = cptVal;
            cptMax=(cptMax > cptVal) ? cptMax : cptVal;
            }
        }
   nbRows = Math.floor((cptMax +1) / 2);
   getObject('hGRP').innerHTML = getObject('hGRP').innerHTML +'('+getObject('cptGRP').value+')';
   GrpSelect('1'); 
}

function getOptValue(opt, libopt, posi) {
var reg=new RegExp(";", "g");
var items=getObject('nv'+opt+posi).innerHTML.toLowerCase();
var titems=items.split(reg);
var sResult='';

for (var ii=0; ii<titems.length; ii++) {
  for (var jj=0; jj<tGrps.length-1; jj = jj + 1) {
    if (tGrps[jj]==titems[ii]) {  
      sResult=sResult + " - " +tGrps[jj]+"<BR>";
        }
     }
   }
if (sResult!='') {
  sResult = libopt+'<BR>'+sResult+'<BR>'}
  return sResult;
 }]]>
				</script>
				<script language="javascript">
					<![CDATA[function setDescURL(toThis, fromThis) {
  getObject(toThis).innerHTML = getObject(fromThis+'_1').innerHTML + ' - ' + getObject(fromThis+'_2').innerHTML;
  }

function setDescSRC(toThis, fromThis) {
  getObject(toThis).src = getObject(fromThis).src;
  }

function setCommand() {
  apos=getObject('idValue').value;
  acmd = '';
  if (getObject('nvGrp'+apos).innerHTML != '') {
    acmd=acmd+'&vGrp=' + getObject('nvGrp'+apos).innerHTML;}
  if (getObject('nvGrp'+apos).innerHTML != '') {
    acmd=acmd+'&idInfos=' + getObject('fid'+apos).value;}

  getObject('sinfoFrame').innerHTML = acmd;

  if (popObj = getObjectById('frUpdate')) {
      popObj.src = XMLC_BaseHRef+'UpdateInfosAxVO?'+acmd;
  }
}
]]>
				</script>
				<script language="javascript">
					<![CDATA[function clickSel(item) {
  var apos = getObject('idValue').value;
  var aopt = getObject('idSel').value;
  var abbr = tGrps[parseInt(item)];

  var sval=getObject('nv'+aopt+apos).innerHTML;
  sval =';'+sval+';';
  sval=sval.replace(';;', ';');
  sval=sval.replace(';;', ';');
  var memval = sval.toLowerCase();
  if (memval.indexOf(';'+abbr+';') ==-1) {
    sval=sval+';'+abbr+';'
    sval=sval.replace(';;', ';')}
  if (memval.indexOf(';'+abbr+';') !=-1) {
    sval=memval.replace(';'+abbr+';', ';')}
  sval=sval.replace(';;', ';');
  if (sval==';') {
    sval='' }
  getObject('nv'+aopt+apos).innerHTML=sval;
  GrpSelect(apos);
  setCommand();
 }
]]>
				</script>
				<script language="javascript">
					<![CDATA[function selSelect(item)
 {
  item='Grp'; 
  getObject('idSel').value = item;

  var aoptClass = '';
  var posi = getObject('idValue').value;
  var optList=';'+getObject('nv'+item+posi).innerHTML.toLowerCase()+';';
  var sResult='<table><tr><td width="200 px">';
  var cptRow = nbRows;

  for (var jj=0; jj<tGrps.length-1; jj = jj + 1) {
        aoptClass = (optList.indexOf(';'+tGrps[jj]+';') !=-1) ? 'aoptselected' : 'aopt';
        sResult=sResult + '<a href="javascript:clickSel('+jj+');" class="' + aoptClass + '"> - '+tGrps[jj]+' - </a><BR>';
        cptRow = cptRow - 1;
        if (cptRow == 0) {
            cptRow = nbRows;
            sResult=sResult + '</td><td>';
            }
     }
  for (var jj=0; jj<cptRow; jj = jj + 1) {
     sResult=sResult + '<BR>';
     }

  sResult=sResult + '</td></tr></table>';
  getObject('selList').innerHTML = sResult;

 }
]]>
				</script>
				<script language="javascript">
					<![CDATA[function GrpSelect(posi)
 {
  Hide('frUpdate'); 
  if (getObject('idValue').value !=0) {
    if (2 % getObject('idValue').value==0) {
      getObject('tr'+getObject('idValue').value).className='clDataGridDark'}
    if (2 % getObject('idValue').value!=0) {
      getObject('tr'+getObject('idValue').value).className='clDataGridLight'}
    }
   getObject('tr'+posi).className='optRowSelected';
   optoldClass='optRowSelected';
setDescURL('sidOption', 'idOpt'+posi); 
getObject('idValue').value = posi;
getObject('idInfos').value = getObject('fid'+posi).value;

var vList = getOptValue('Grp', 'Groupe(s) Autorisé(s)', posi);

getObject('optList').innerHTML = vList;
selSelect('');
 }
]]>
				</script>
				<script language="javascript"/>
			</xsl:with-param>
			<xsl:with-param name="ActionMenu">
				<xsl:if test="/document/XMLC_Params/XMLC_UserName != '' ">
					<xsl:call-template name="xslc:VOActionPanel">
						<xsl:with-param name="Expanded">1</xsl:with-param>
						<xsl:with-param name="Dark">1</xsl:with-param>
						<xsl:with-param name="Name">FiltAffichage</xsl:with-param>
						<xsl:with-param name="Title">Paramètres</xsl:with-param>
						<xsl:with-param name="Content">
							<xsl:variable name="idAffSel">
								<xsl:if test="/document/OutParams/AffSel=''">0</xsl:if>
								<xsl:value-of select="/document/OutParams/AffSel"/>
							</xsl:variable>
							<table cellpadding="2" cellspacing="0">
								<xsl:for-each select="/document/ListFiltersS/ListFilters">
									<xsl:variable name="apOver">
										<xsl:if test="idAffichage='-1' or nService=''">apRowNoSelected</xsl:if>
										<xsl:if test="idAffichage!='-1'">apRowSelected</xsl:if>
									</xsl:variable>
									<xsl:variable name="apAttr">
										<xsl:if test="idAffichage='-1' or nService=''">color:#A0A0A0;</xsl:if>
										<xsl:if test="/document/XMLC_Params/XMLC_Action=nService or 'ACLInfos'=nService">
											<xsl:if test="AttrColor!=''">color:#<xsl:value-of select="AttrColor"/>; font-weight: bold;</xsl:if>
											<xsl:if test="AttrColor=''">color:#3f3dfd; </xsl:if>
										</xsl:if>
										<xsl:if test="idAffichage!='-1' and /document/XMLC_Params/XMLC_Action!=nService and nService!=''">
											<xsl:if test="AttrColor=''">color:#145aa2; </xsl:if>
											<xsl:if test="AttrColor!=''">color:#<xsl:value-of select="AttrColor"/>; </xsl:if>
										</xsl:if>
									</xsl:variable>
									<xsl:variable name="nServ">
										<xsl:value-of select="nService"/>
									</xsl:variable>
									<xsl:if test="idAffichage!='-2'">
										<tr>
											<td class="apLink" onmouseover="oldClass=this.className; this.className='{$apOver}';" onmouseout="this.className=oldClass;" onclick="javascript: goService('{$nServ}'); return false;" align="left" style="{$apAttr} width:200px;">
												<span style="color:#d0d0ff;">
													<xsl:if test="AttrIndent='1'">» </xsl:if>
													<xsl:if test="AttrIndent='2'">»» </xsl:if>
													<xsl:if test="AttrIndent='3'">»»» </xsl:if>
												</span>
												<xsl:if test="/document/XMLC_Params/XMLC_Action=nService">
													<img border="0" src="{$XMLC_PictosPath}ico_run.gif"/> - </xsl:if>
												<xsl:value-of select="FilterName"/>
											</td>
										</tr>
									</xsl:if>
								</xsl:for-each>
							</table>
						</xsl:with-param>
					</xsl:call-template>
				</xsl:if>
			</xsl:with-param>
			<xsl:with-param name="Title">
				<xsl:if test="/document/ListFiltersS/ListFilters[nService=/document/XMLC_Params/XMLC_Action]/FilterName=''">Paramétrage des Autorisations d'accès</xsl:if>
				<xsl:value-of select="/document/ListFiltersS/ListFilters[nService=/document/XMLC_Params/XMLC_Action]/FilterName"/>
			</xsl:with-param>
			<xsl:with-param name="ToolbarButtonsLeft">
				<ToolbarButton>
					<xsl:call-template name="ToolButtonRefresh">
						<xsl:with-param name="URL">ACLInfos?InfosAxVO_StartingRow=<xsl:value-of select="/document/InfosAxVOS/@StartingRow"/>&amp;SelGroup=<xsl:value-of select="/document/OutParams/SelGroup"/>&amp;SelInfo=<xsl:value-of select="/document/OutParams/SelInfo"/>&amp;SelDescInfo=<xsl:value-of select="/document/OutParams/SelDescInfo"/>&amp;SelProfil=<xsl:value-of select="/document/OutParams/SelProfil"/>&amp;vSearch=<xsl:value-of select="/document/OutParams/vSearch"/>
						</xsl:with-param>
					</xsl:call-template>
				</ToolbarButton>
				<ToolbarButton>
					<img border="0" src="{$XMLC_SkinPath}toolbar_separator.gif"/>
				</ToolbarButton>
				<xsl:call-template name="CommonToolbarButtonsLeft"/>
			</xsl:with-param>
			<xsl:with-param name="ToolbarButtonsRight">
				<xsl:call-template name="VOLineToolbarButtonsRight"/>
			</xsl:with-param>
			<xsl:with-param name="Body">
				<xsl:call-template name="xslc:ApplicationMessages"/>
				<xsl:call-template name="VOZoneTab">
					<xsl:with-param name="nService">OptParams</xsl:with-param>
				</xsl:call-template>
				<xsl:apply-templates select="InfosAxVOS"/>
				<xsl:call-template name="SelectedOption"/>
				<xsl:call-template name="xslc:PoweredBy"/>
			</xsl:with-param>
		</xsl:call-template>
	</xsl:template>
	<xsl:template name="SelectedOption">
		<iframe border="0" frameborder="1" marginheight="0" marginwidth="0" height="300 px" width="100%" id="frUpdate" scrolling="no" src="{$XMLC_Portal}blank.htm" style="position: relative; display: none; z-index:1000;"/>
		<div id="idImages" style="display: none; ">
			<input id="idValue" value="0"/>
			<input class="clFlatTextInput" id="idSel"/>
			<input class="clFlatTextInput" id="idInfos"/>
			<input id="cptGRP" value="0"/>
		</div>
		<div class="separa"/>
		<p>
			<div id="sidOption" style="font-size:16px; font-weight:bold"/>
			<div id="sinfoFrame" style="font-size:8px; display: none; "/>
		</p>
		<table>
			<tr style="display: none; ">
				<td>
					<fieldset>
						<legend style="font-weight:bold">Option(s) sélectionnée(s)</legend>
						<div id="optList"/>
					</fieldset>
				</td>
			</tr>
			<tr valign="top">
				<td>
					<fieldset>
						<legend style="font-weight:bold">Sélection des groupes</legend>
						<table>
							<tr>
								<td id="SelGrp" width="150px" onclick="selSelect('Grp');" onmouseover="seloldClass=this.className; this.className='optRowSelected';" onmouseout="this.className=seloldClass;">
									<div id="hGRP">
										<img border="0" src="{$XMLC_PictosPath}button_service.gif"/>Liste des Groupes</div>
								</td>
							</tr>
						</table>
						<div class="separa"/>
						<table>
							<tr>
								<td>
									<div id="selList"/>
								</td>
							</tr>
						</table>
					</fieldset>
				</td>
			</tr>
		</table>
	</xsl:template>
	<xsl:template match="InfosAxVOS">
		<xsl:param name="RecordCount" select="@RowCount"/>
		<xsl:variable name="ctxtInfo">'<xsl:value-of select="/document/InfoRubricsS/InfoRubrics[opt_param=/document/OutParams/SelInfo]/opt_text"/>'</xsl:variable>
		<xsl:variable name="vOrd" select="/document/OutParams/ORDERFIELD"/>
		<div id="zoneTOP">
			<p style="font-size:16px">
				<xsl:if test="/document/ListFiltersS/ListFilters[nService=/document/XMLC_Params/XMLC_Action]/FilterName=''">Paramétrage des Autorisations d'accès</xsl:if>
				<xsl:value-of select="/document/ListFiltersS/ListFilters[nService=/document/XMLC_Params/XMLC_Action]/FilterName"/>
			</p>
			<table width="100%">
				<tr>
					<td width="50px" align="right">Info : </td>
					<td width="180px">
						<select id="CBDescInfo" onchange="javascript: document.MainForm.SelDescInfo.value=getObjectById('CBDescInfo').value; goSubmit() ; return false;" style="width:150px">
							<xsl:for-each select="/document/ListDescInfoS/ListDescInfo">
								<option value="{descInfo}">
									<xsl:if test="/document/OutParams/SelDescInfo=descInfo">
										<xsl:attribute name="selected"/>
									</xsl:if>
									<xsl:value-of select="txtInfo"/>
									<xsl:if test="/document/XMLC_Params/XMLC_Authenticated != '0' "> (<xsl:value-of select="CptDescInfo"/>)</xsl:if>
								</option>
							</xsl:for-each>
						</select>
					</td>
					<td width="50px" align="right">Sélection : </td>
					<td width="180px">
						<select id="CBSelProfil" onchange="javascript: document.MainForm.SelProfil.value=getObjectById('CBSelProfil').value; goSubmit() ; return false;" style="width:120px">
							<xsl:if test="/document/InfosCptS/InfosCpt/CptOrdre!=1">
								<option value="">
									<xsl:if test="/document/OutParams/SelProfil=''">Choix Profil</xsl:if>
									<xsl:if test="/document/OutParams/SelProfil!=''">Tous Profils</xsl:if>
								</option>
							</xsl:if>
							<xsl:if test="/document/InfosCptS/InfosCpt/CptOrdre=1">
								<option value="">
									<xsl:if test="/document/OutParams/SelProfil=''">Choix Blocage ou Profil</xsl:if>
									<xsl:if test="/document/OutParams/SelProfil!=''">Tous </xsl:if>
								</option>
								<option value="blocdo" style="color:red">
									<xsl:if test="/document/OutParams/SelProfil='blocdo'">
										<xsl:attribute name="selected"/>
									</xsl:if>blocage DateOrdre<xsl:if test="/document/OutParams/SelProfil='blocdo'"> inclus</xsl:if>
								</option>
							</xsl:if>
							<xsl:for-each select="/document/Groups/Group">
								<xsl:sort select="Name"/>
								<xsl:if test="(Name!='') and (Name!='SuperAdmins') and (Name!='VOUsers') and (Name!='Guests')">
									<xsl:variable name="vName">
										<xsl:value-of select="Name"/>
									</xsl:variable>
									<option value="{Name}">
										<xsl:if test="/document/OutParams/SelProfil=$vName">
											<xsl:attribute name="selected"/>
										</xsl:if>
										<xsl:value-of select="Name"/>
										<xsl:if test="/document/OutParams/SelProfil=$vName"> inclus</xsl:if>
									</option>
								</xsl:if>
							</xsl:for-each>
							<xsl:if test="/document/InfosCptS/InfosCpt/CptOrdre=1">
								<option value="!blocdo" style="color:red">blocage DateOrdre exclu</option>
							</xsl:if>
							<xsl:for-each select="/document/Groups/Group">
								<xsl:sort select="Name"/>
								<xsl:if test="(Name!='') and (Name!='SuperAdmins') and (Name!='VOUsers') and (Name!='Guests')">
									<xsl:variable name="vName">!<xsl:value-of select="Name"/>
									</xsl:variable>
									<option value="!{Name}" style="color:orange">
										<xsl:if test="/document/OutParams/SelProfil=$vName">
											<xsl:attribute name="selected"/>
										</xsl:if>
										<xsl:value-of select="Name"/>
										<xsl:if test="/document/OutParams/SelProfil=$vName"> exclu</xsl:if>
									</option>
								</xsl:if>
							</xsl:for-each>
						</select>
					</td>
					<td width="65px" align="right">Recherche : </td>
					<td width="100%">
						<input class="clFlatTextInput" id="iSearch" size="7" onkeyup="javascript: document.MainForm.vSearch.value=getObjectById('iSearch').value; onKeyTestCR(event); return false;" value="{/document/OutParams/vSearch}" style="text-align: left"/>, (<xsl:value-of select="$RecordCount"/> champs sélectionnés). </td>
				</tr>
			</table>
		</div>
		<form action="{/document/Aliases/bdVODLL}ACLInfos" name="MainForm" method="post">
			<input type="hidden" name="AmInfo" value="{/document/OutParams/AmInfo}"/>
			<input type="hidden" name="AmMode" value="{/document/OutParams/AmMode}"/>
			<input type="hidden" name="SelDescInfo" value="{/document/OutParams/SelDescInfo}"/>
			<input type="hidden" name="SelProfil" value="{/document/OutParams/SelProfil}"/>
			<input type="hidden" name="vFiltre" value="{/document/OutParams/vFiltre}"/>
			<input type="hidden" name="vOrdre" value="{/document/OutParams/vOrdre}"/>
			<input type="hidden" name="vSearch" value="{/document/OutParams/vSearch}"/>
		</form>
		<table border="0" cellpadding="2" cellspacing="0" class="clFlatTable" width="100%">
			<tr class="clRowHeader">
				<xsl:if test="/document/XMLC_Profile/XMLC_DisplayHeaderGradient = '1'">
					<xsl:attribute name="style">background-image: url('<xsl:value-of select="$XMLC_SkinPath"/>rowHeader_Gradient.gif');</xsl:attribute>
				</xsl:if>
				<td width="200 px">Champ </td>
				<td width="150 px">Libellé pour saisie</td>
				<td width="400 px">Accès Autorisés</td>
			</tr>
			<xsl:apply-templates select="InfosAxVO"/>
			<xsl:call-template name="xslc:ListFooter">
				<xsl:with-param name="colspan">3</xsl:with-param>
				<xsl:with-param name="URLParams">&amp;SelGroup=<xsl:value-of select="/document/OutParams/SelGroup"/>&amp;SelInfo=<xsl:value-of select="/document/OutParams/SelInfo"/>&amp;SelDescInfo=<xsl:value-of select="/document/OutParams/SelDescInfo"/>&amp;SelProfil=<xsl:value-of select="/document/OutParams/SelProfil"/>&amp;vFiltre=<xsl:value-of select="/document/OutParams/vFiltre"/>&amp;vOrdre=<xsl:value-of select="/document/OutParams/vOrdre"/>&amp;vSearch=<xsl:value-of select="/document/OutParams/vSearch"/>
				</xsl:with-param>
				<xsl:with-param name="MaxPages">30</xsl:with-param>
			</xsl:call-template>
		</table>
	</xsl:template>
	<xsl:template match="InfosAxVO">
		<xsl:variable name="clValue">
			<xsl:choose>
				<xsl:when test="(position() mod 2)=0">clDataGridDark</xsl:when>
				<xsl:otherwise>clDataGridLight</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>
		<xsl:variable name="idPos">
			<xsl:value-of select="position()"/>
		</xsl:variable>
		<xsl:variable name="nfidInfos">fid<xsl:value-of select="position()"/>
		</xsl:variable>
		<xsl:variable name="nfOK">fOK<xsl:value-of select="position()"/>
		</xsl:variable>
		<xsl:variable name="nfVD">fVD<xsl:value-of select="position()"/>
		</xsl:variable>
		<xsl:variable name="nfidOpt">idOpt<xsl:value-of select="position()"/>
		</xsl:variable>
		<xsl:variable name="sRowSelect">optRowSelected</xsl:variable>
		<tr class="{$clValue}" id="tr{$idPos}" onclick="GrpSelect('{position()}');" onmouseover="optoldClass=this.className; this.className='{$sRowSelect}';" onmouseout="this.className=optoldClass;">
			<input type="hidden" id="{$nfidInfos}" value="{idAXVO}"/>
			<td>
				<div id="{$nfidOpt}_1">
					<xsl:value-of select="vInfo"/>
				</div>
			</td>
			<td>
				<div id="{$nfidOpt}_2">
					<xsl:value-of select="txtInfo"/>
				</div>
			</td>
			<td>
				<div id="nvGrp{$idPos}">
					<xsl:value-of select="tag"/>
				</div>
			</td>
		</tr>
	</xsl:template>
</xsl:stylesheet>
