// JavaScript Document
//----------------------------------------------------------------------------------------------------------
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
   }
/*-----------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------AJAX--------------------------------------------------------*/  
/*-----------------------------------------------------------------------------------------------------------*/ 
function ObjectDiv( div , content ) {  
		 if ( document.getElementById ) document.getElementById( div ).innerHTML =( content);
		 else if ( document.layers )  document.div.innerHTML = content; 
		 else document.all.div.innerHTML = content;
        }
function Goto( FILE , METHOD , DATA , div ) {  if( METHOD == 'GET' && DATA != null ){ FILE += '?' + DATA;DATA = null; }
 var httpRequestM = null;   
                         if( window.XMLHttpRequest )  httpRequestM = new XMLHttpRequest();  // Firefox 
                        else if( window.ActiveXObject )httpRequestM = new ActiveXObject( "Microsoft.XMLHTTP" ); // Internet Explorer
					    else return "Votre navigateur ne supporte pas les objets XMLHTTPRequest...";// XMLHttpRequest non supporté par le navigateur   
					//-------------------------------------------------------------------------------------------------
					httpRequestM.open( METHOD , FILE , true );
					
                    httpRequestM.onreadystatechange = function() { if(httpRequestM.readyState == 4) ObjectDiv( div , httpRequestM.responseText ); }
                
                        if( METHOD  == 'POST' ) httpRequestM.setRequestHeader( "Content-type" , "application/x-www-form-urlencoded" );
                
                     httpRequestM.send( DATA );   
        }
function RecupChainAJAX( div , href , method , data )  {  // wait = "<div align='left'>" ;
                    // wait+="<b><font style='color:red;'>Chargement en cours.....</font></b><br/>" 
					var wait ="<img src='http://"+window.location.host+"/JS/loading.gif' border='0' width='12' height='11'  alt='Chargement en cours....'>";//
				//wait +=	"</div>";
                ObjectDiv( div , wait );
                Goto( href , method , data , div );
                return false; } 
/*-----------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------*/
/*----------------------------Déclaration des variables------------------------------------------------------*/
var chemRollOvPuce="url(http://"+window.document.location.host +"/images_index/puce_rouge.gif)";
var displ="block";//tableau menu vertical/afficher(none) ou non afficher(block)
var textDec="none";//ssmenu :texte souligné ou pas
var rollov="#CC0000"; //couleur rollover//
var rollout="#19328f";//couleur rollout//
var IDMenuHoriz="MenuHoriz";
var IDMenuVert="Tableau_04";
var IDCorpDoc="corps_du_doc";
var index="index.php";
var SeparMH=" >";//separateur menu horizontal
var infoTime="&timestp="+Math.floor((new Date()).getTime() / 1000);//DECLARATION DU TIMESTAMP

//-----------------------------------------------------------------------------------------------------------
function OUTERHTML(obj){//pour les balise fermées!!
tabRech = new Array;
var lemot=EscapeRegex(obj.innerHTML);
var Pnt=obj.parentNode.innerHTML;;
var nod=obj.nodeName;
var xp=new RegExp("<"+ nod +"[^>]*>"+lemot+ "<\/" + nod + ">","igm");
tabRech=Pnt.match(xp);//alert(tabRech[tabRech.length-1])
return tabRech[tabRech.length-1];}//RECUPERE L'INTERIEUR D'UNE BALISE ET SA BALISE
function INNERTEXT(obj) {
/*
if (navigator.userAgent.search(/Mozilla.+/)>-1);
if (navigator.userAgent.search(/Gecko.+/)>-1);
if (navigator.userAgent.search(/Safari.+/)>-1);
if (navigator.userAgent.search(/Opera.+/)>-1);
if (navigator.userAgent.search(/Firefox.+/)>-1)
*/
if (obj){
if (navigator.userAgent.search(/MSIE.+/)>-1) return obj.innerText;else
if (navigator.userAgent.search(/Netscape.+/)>-1) return (obj.innerHTML)? obj.innerHTML.replace(/<[\w+]+[^>]*>/igm,"").replace(/<\/[\w+]+>/igm,""):obj.data;else 
return obj.textContent;
 }else return "";	}//RECUPERE LE TEXTE D'UNE BALISE 

function EscapeRegex(chaine){
	testSpcChar=new Array(92,33,34 ,35,36 ,37,39,40,41,42,43,44,45,46,47,58,60,61,62,63,64,91,93,94,95,96,123,124,125,126); 
var chaineverif="";//;,38,59
for (j=0;j<testSpcChar.length;j++)
chaine = chaine.replace(String.fromCharCode(testSpcChar[j]),String.fromCharCode(92)+String.fromCharCode(testSpcChar[j]));
return chaine;}//ECHAPPE LES CHAINE DE CARACTERE POUR LES EXPR. REGULMIERE
function EscapeTitle(chaine){
for (u=192;u<256;u++)
chaine = chaine.replace(String.fromCharCode(u),"&#"+u+";");	
return chaine;}//ECHAPPE LES CHAINE DE CARACTERE POUR LES TITLE DES BALISE HREF.
function EscapGuillemet(chaine){return chaine.replace(/'/gm,"&#39;");}//ECHAPPE LES GUILLEMET SIMPLE DROIT
//------------------------------------------------------------------------------------------------------------
//-------------------------------------Ecriture du menu horizontale-------------------------------------------
function menuH(obj){
	if (obj.style.color!=rollov && document.getElementById(IDMenuHoriz).innerHTML!="" ){
var exp=new RegExp(SeparMH,"g");
var ancienLienTab =document.getElementById(IDMenuHoriz).lastChild.data.substring(0,2).replace(exp,"");
ancienLienTab +=document.getElementById(IDMenuHoriz).lastChild.data.substring(2);
var ancienLien =document.getElementById(IDMenuHoriz).innerHTML.replace(/&gt;/g,">").replace(ancienLienTab,"");
ancienLien += '<a href="' +escape(HrefBefore()) + '" >'+  ancienLienTab + '</a>';
if (obj) obj.href += "?htmMenu=" + escape(ancienLien+  SeparMH + obj.title)+infoTime;
}}
//------------------------------------------------------------------------------------------------------------
function HrefBefore() {var trouvInt=(document.location.href.indexOf("?")!=-1) ? document.location.href.indexOf("?") : document.location.href.length;return window.document.location.href.replace(/#0/g,"").slice(0,trouvInt);}//url:avant le ? 
function HrefAfter() {var trouvInt=(document.location.href.indexOf("?")!=-1) ? document.location.href.indexOf("?") : document.location.href.length;return window.document.location.href.replace(/#0/g,"").slice(trouvInt,document.location.href.length);}//url:après le ?
//____________________________________________________________________________________________________________
//------------------------------------------------------------------------------------------------------------
//---------------------------title dans menu et retour page d'accueil-----------------------------------------
//------------------------------------------------------------------------------------------------------------
function lienAcc() {
if(document.getElementById(IDMenuHoriz).firstChild.nodeType==1) 
return (document.getElementById(IDMenuHoriz).firstChild.href);else 
return HrefBefore();}//RECUPERE LE LIEN D'AVANT
function MenuH_MenudeRoulant(titre){
var accueil=INNERTEXT(document.getElementById(IDMenuHoriz)).replace(/&gt;/g,">").split(SeparMH)[0];
return "?htmMenu="+escape("<a href='"+EscapGuillemet(lienAcc())+"' title='"+EscapGuillemet(accueil)+"' >"+accueil+"</a>"+SeparMH +titre)+infoTime; 	}//RECUPERE ET ECRIT L'URL DE LA PREMIERE PAGE OUVERTE 
function initMenu(name){
	;
var	OBJ=document.getElementById(name);
var lienMenu=OBJ.firstChild.firstChild.firstChild.childNodes;

for (i=0; i<lienMenu.length;i++) {
if (lienMenu[i].nodeName=="A" ) {lienMenu[i].title=INNERTEXT(lienMenu[i]).replace(/\r\n/ig,"");		

lienMenu[i].onclick = function(){
Menu(this);
if (this.nextSibling) this.lastChild.style.color =(this.nextSibling.style.display!='none') ? rollov:rollout;
if (this.href.substr(this.href.length-2)!="#0") this.href+=MenuH_MenudeRoulant(this.title);}
}

/*if (lienMenu[i].nodeName=="TABLE" )*/
if (lienMenu[i].nodeName=="TABLE" )
for (j=0; j < lienMenu[i].getElementsByTagName("a").length ; j++)
{lienMenu[i].getElementsByTagName("a")[j].title=INNERTEXT(lienMenu[i-1])+ SeparMH + INNERTEXT(lienMenu[i].getElementsByTagName("a")[j]).replace(/\r\n/ig,"");

if (lienMenu[i].nodeName=="TABLE" )lienMenu[i].getElementsByTagName("a")[j].onclick = function(){this.href+=MenuH_MenudeRoulant(this.title);
}}}}//INITIALISATION DU MENU DE GAUCHE

function Menu(obj){  
if (obj.nextSibling && obj.nextSibling.nodeName=="TABLE") {obj.nextSibling.style.display = (obj.nextSibling.style.display!="block") ? "block" : "none";}
elem=document.getElementById(IDMenuVert).firstChild.firstChild.firstChild.childNodes;
for (i=0; i<elem.length;i++) 
if (elem[i].nodeName=="A") if (INNERTEXT(elem[i])!=INNERTEXT(obj)) {elem[i].nextSibling.style.display="none";
elem[i].lastChild.style.color = rollout ;}} // OUVERTURE ET FERMETURE DES TABLEAUX DU MENU VERTICALE
//____________________________________________________________________________________________________________
//----------------------------------------------Menu horizontal-----------------------------------------------
//------------------------------------------------------------------------------------------------------------
//----------------initialisation du menu horizontale : sur chaque lien ecriture de l'url----------------------
//------------------------------------------------------------------------------------------------------------
function initiLink(){
for(i=0;i<document.getElementById(IDMenuHoriz).getElementsByTagName('A').length;i++){	
document.getElementById(IDMenuHoriz).getElementsByTagName('A')[i].onclick=function()
{
this.href+= "?htmMenu="+ escape((document.getElementById(IDMenuHoriz).innerHTML.slice(0,document.getElementById(IDMenuHoriz).innerHTML.search(EscapeRegex(OUTERHTML(this)))) + INNERTEXT(this)))+infoTime;
}
/*document.getElementById(IDMenuHoriz).getElementsByTagName('A')[i].title=EscapeTitle((EscapeRegex(INNERTEXT(document.getElementById(IDMenuHoriz).getElementsByTagName('A')[i]))));
document.getElementById(IDMenuHoriz).getElementsByTagName('A')[i].title=INNERTEXT(document.getElementById(IDMenuHoriz).getElementsByTagName('A')[i]);*/	
}
	}//PREPARE CHAQUE LIEN DU MENU HORIZONTALE,POUR LA FUTURE URL DE CELUI-CI	
	
function initMenuHoriz(){
//document.getElementById(IDMenuHoriz).innerHTML=window.document.title;
if (  (document.getElementById(IDMenuHoriz).innerHTML=="")) 
{

/*RecupChainAJAX( IDMenuHoriz , "http://www.a7on.info/list_dossier_ok_2.php" , "POST" , "url="+escape(window.location.href.split("/")[window.location.href.split("/").length-2]+"/"+window.location.href.split("/")[window.location.href.split("/").length-1])+"&" );
setTimeout('initiLink();initLienCorpDoc();interactive();',1000);*/
;
}
else initiLink();}//AJAX:SI L'URL EST VIDE, ALORS ON ENVOIT EN "POST" LA CHAINE DE CARACTERE "Dossier/Fichier.php(ou html)" AU SERVEUR,CELUI-CI RENVOI EN POST LA CHAINE CHEMIN DANS LE "<SPAN>" "MenuHoriz"
//____________________________________________________________________________________________________________
//------------------------------------------------------------------------------------------------------------
//----------------------------------------Corps du document---------------------------------------------------
//------------------------------------------------------------------------------------------------------------
/*if(document.getElementById(IDCorpDoc).getElementsByTagName('A')[i].href!="")
	{}*/

function initLienCorpDoc(){
for(i=0;i<document.getElementById(IDCorpDoc).getElementsByTagName('A').length;i++)	
{
document.getElementById(IDCorpDoc).getElementsByTagName('A')[i].title=INNERTEXT(document.getElementById(IDCorpDoc).getElementsByTagName('A')[i]).replace(/\r\n/gi,"");

document.getElementById(IDCorpDoc).getElementsByTagName('A')[i].onclick=function()
{this.title=INNERTEXT(this).replace(/\r\n/gi,"");menuH(this);}
}}//PLACE UN TITLE SUR CHAQUE LIENS DU "CORPS DU DOCUMENT" 
//ET PREPARE LA FUTURE URL DU MENU HORIZONTALE
//____________________________________________________________________________________________________________
//------------------------------------------------------------------------------------------------------------
//                      fonctions d'ouverture et fermeture des Menus
//------------------------------------------------------------------------------------------------------------

function efface() {
var cont=document.getElementById(IDMenuVert).firstChild.firstChild.firstChild.childNodes;
for(i=0; i<cont.length ;i++) if (cont[i].nodeName=="A") 
{cont[i].nextSibling.display="none";}	}//FERME TOUS LES SS MENUS
//------------------------------------------------------------------------------------------------------------
var Href="";var Href2="";hrefi=new Array;HrefInfolien=new Array;//D2CLARATION DES VARIABLES
//------------------------------------------------------------------------------------------------------------
function minimenu(obj) {
Tabl= document.getElementById(obj);
hrefi=HrefBefore().replace("#0","").split("/");
Href=hrefi[hrefi.length-2]+"/"+hrefi[hrefi.length-1];
//--Lien solitaire---------------------------------------------------------------------------------------
dschild= Tabl.firstChild.firstChild.firstChild.childNodes;
//alert(dschild.length+"--->"+Href2+"=="+Href); 
for (k=0; k< dschild.length;k++)
if (dschild[k].nodeName=="A" ) {
HrefAlone=dschild[k].getAttribute("href").split("/");//url
Href2=HrefAlone[HrefAlone.length-2]+"/"+ HrefAlone[HrefAlone.length-1];//url
if((Href2==Href)&&(Href2.substr(Href2.length-2)!="#0")) {dschild[k].lastChild.style.color=rollov;}} }//COLORISE LE LIEN SOLITAIRE(sans ss-menu)
//------------------------------------------------------------------------------------------------------------
function idem_Url_menu(num,id){
if(document.getElementById(id).getElementsByTagName('A').length>num && document.getElementById(id).getElementsByTagName('A')){
HrefInfolien=document.getElementById(id).getElementsByTagName('A')[num].href.split("/");
//alert(HrefInfolien[HrefInfolien.length-2]+"/"+ HrefInfolien[HrefInfolien.length-1]);
return HrefInfolien[HrefInfolien.length-2]+"/"+ HrefInfolien[HrefInfolien.length-1];
};}//RECUPERE L'URL DU MENU HORIZONTALE S'IL Y EN A UNE
//-------------------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------------------

function initmenuH(){var string=""
result_menhoriz=new Array;
for(i=0;i<document.getElementById(IDCorpDoc).getElementsByTagName('A').length;i++) 
result_menhoriz[i]=idem_Url_menu(i,IDCorpDoc);

for(i=0; i<result_menhoriz.length ; i++) string += result_menhoriz[i]+ "\r\n";
alert(string);}
//setTimeout('initmenuH();',100);
//--------------------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------------------
function interactive(){setTimeout("interac();",100);}
function interac(obj){
efface();//fermeture de tout le menu
href2=new Array;HrefAlone=new Array;HrefInfolien=new Array;tableau=new Array ;tablHref=new Array;
var nod;var nodM;;;var HrefInfolienStr="";var HrefMen="";var abv=true;tschild=new Array;
//-------------------------------------------------------------------------------------------------------
if (obj)  Href=obj.getAttribute("href"); else {	
hrefi=HrefBefore().replace("#0","").split("/");
Href=hrefi[hrefi.length-2]+"/"+hrefi[hrefi.length-1];} 
Tableau= document.getElementById(IDMenuVert);
//--Lien solitaire---------------------------------------------------------------------------------------
tschild= Tableau.firstChild.firstChild.firstChild.childNodes;//alert(tschild.length+"--->"+Href2+"=="+Href); 
for (k=0; k< tschild.length;k++)
if (tschild[k].nodeName=="A" ) {
HrefAlone=tschild[k].getAttribute("href").split("/");//url
Href2=HrefAlone[HrefAlone.length-2]+"/"+ HrefAlone[HrefAlone.length-1];//url
if((Href2==Href)&&(Href2.substr(Href2.length-2)!="#0")) {tschild[k].lastChild.style.color=rollov;return INNERTEXT(tschild[k].firstChild.firstChild);;}} 
//-------------------------------------------------------------------------------------------------------

//-------------------------------------------------------------------------------------------------------
tableau=Tableau.getElementsByTagName('TABLE') ;
//-------------------------------------------------------------------------------------------------------
//init_Color();
//-------------------------------------------------------------------------------------------------------
for (i=0; i< tableau.length;i++){
if (tableau[i].nodeName=="TABLE") {
 tablHref=tableau[i].getElementsByTagName('A');
for (j=0; j< tablHref.length;j++){	
href2=tablHref[j].getAttribute("href").replace("#0","").split("/");//url
HrefMen=(href2[href2.length-2]+"/"+href2[href2.length-1]);//url
//alert(((HrefMen==idem_Url_menu(0,IDCorpDoc))+"\r\n"+(HrefMen==idem_Url_menu(1,IDCorpDoc))));
if ( (HrefMen==Href)|| (HrefMen==idem_Url_menu(0,IDCorpDoc)||HrefMen==idem_Url_menu(1,IDCorpDoc)||HrefMen==idem_Url_menu(2,IDCorpDoc)||HrefMen==idem_Url_menu(3,IDCorpDoc)) )
{nod=tablHref[j];
nodM=tableau[i].previousSibling;
tableau[i].style.display=displ;
nod.style.color=rollov;
nodM.lastChild.style.color=rollov;
nod.style.textDecoration=textDec;
if (navigator.appName.substring(0,3)=="Net"){
while(nod.hasChildNodes()) nod=nod.firstChild;
nod.parentNode.parentNode.style.listStyleImage=chemRollOvPuce;
}
else {nod.childNodes[0].style.listStyleImage=chemRollOvPuce;}
}}}}} //OUVERTURE DU MENU DE GAUCHE VERTICALE EN FONCTION DE L'URL DE LA PAGE


//_____________________________________________________________________________________________________________
//-------------------------------------------------------------------------------------------------------------  
//-------------------------------------------------------------------------------------------------------------
//----------------------------impression d'une zone html-------------------------------------------------------
//-------------------------------------------------------------------------------------------------------------
function ImprZone(title, obj) {
var content = document.getElementById(obj).innerHTML;

var UrlImgAdd="http://"+window.document.location.host +"/";
var fen = window.open("", "Impression", "height=500, width=600,toolbar=0, menubar=1, scrollbars=1, resizable=1,status=0,location=0, left=10, top=10");
fen.document.title = title;
fen.document.body.style.color = '#000000';
fen.document.body.style.backgroundColor = '#FFFFFF';
fen.document.body.style.padding = "2px";
//((navigator.appName.substring(0,3)=="Net" || navigator.appName.substring(0,3)=="Ope") ? UrlImgAdd:UrlImgAdd)
//fen.document.styleSheets[0].href=UrlImgAdd+"CSS/StyleCIEP.css" ;
//fen.document.body.innerHTML ='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
//fen.document.body.innerHTML += '<html><head>';
//fen.document.body.innerHTML +='</head><body>';
fen.document.body.innerHTML+='<table width="100%"  cellpadding="0" cellspacing="0" border="0"  bordercolor="#CCCCCC" align="center" >';

fen.document.body.innerHTML+='<tr><td>';
fen.document.body.innerHTML+='<img width="100%" src="'+UrlImgAdd+'images_index/index80_02_4.jpg" alt="CIEP" border="0" bordercolor="#CCCCCC"  />';
fen.document.body.innerHTML+='</td></tr>';  
fen.document.body.innerHTML+='<tr><td><br/><br/>';
fen.document.body.innerHTML +='<style>p {orphans:2;}h1, h2, h3, h4, h5, h6 {page-break-after:avoid;}</style>';
fen.document.body.innerHTML +='<link href="'+UrlImgAdd+'CSS/StyleCIEP.css" type="text/css" rel="stylesheet" />';
fen.document.body.innerHTML+=(content);
fen.document.body.innerHTML+='</td></tr></table>';
fen.document.body.innerHTML+='</body></html>';
fen.window.print();/*setTimeout('fen.window.close();',10000);*/} //IMPRIME UNE ZONE D4UN DOCUMENT HTML
//_____________________________________________________________________________________________________________
//-------------------------------------------------------------------------------------------------------------
//---------------------------Fonctions d'encodage UTF8---------------------------------------------------------
//-------------------------------------------------------------------------------------------------------------
function unencode (txt) {
var chars=[];
for (var i=0; i<txt.length; i+=3) {
var tmp = (txt.substr(i, 3));
while (tmp.length>1 && tmp.substr(0,1)=="0") {
tmp = tmp.substr(1);
}
chars.push(tmp);
}
var evalTerm="String.fromCharCode(" + chars.join(',') + ")";
return unescape(eval(evalTerm))}
function encode (txt) {
if (txt=="") { return ""; }
txt = escape(txt);
var code = txt.charCodeAt(0)
while(code.length<3) {code = ("0"+code);}
for (var i=1; i<txt.length; i++) {
var tmp = (""+txt.charCodeAt(i));
while (tmp.length<3) { tmp = ("0"+tmp); }
code += (tmp);
}
return code;}
function tbText_onchange(o) {
document.getElementById("lCode").innerHTML=encode(o.value);
var lText = document.getElementById("lText")
lText.innerHTML="";
lText.appendChild(document.createTextNode(unencode(encode(o.value))))}
//_____________________________________________________________________________________________________________
//_____________________________________________________________________________________________________________
//
//-------------------------------------------------------------------------------------------------------------
//----------------------¤--¤---¤¤---¤--¤------¤--¤--¤¤¤¤¤--¤--¤----¤¤¤---¤¤¤---¤¤¤¤¤---------------------------
//----------------------¤¤-¤--¤--¤--¤¤-¤------¤--¤----¤----¤--¤-----¤---¤------¤-------------------------------
//----------------------¤-¤¤--¤--¤--¤-¤¤------¤--¤----¤----¤--¤-----¤----¤-----¤¤¤-----------------------------
//----------------------¤-¤¤--¤--¤--¤-¤¤------¤--¤----¤----¤--¤-----¤------¤---¤-------------------------------
//----------------------¤--¤---¤¤---¤--¤-------¤¤-----¤----¤--¤¤¤¤-¤¤¤--¤¤¤----¤¤¤¤¤---------------------------

function init_Color(){
elem=document.getElementById(IDMenuVert).firstChild.firstChild.firstChild.childNodes;	
for(i=0;i<elem.length;i++){
	if (elem[i].nodeName=="A") 
	if (elem[i].href.substr(elem[i].href.length-2)=="#0") elem[i].firstChild.style.color=rollout;
	//alert(elem[i].href)
	}
	
	}
function AffichLien() {
Tabl=new Array;
 Tabl=document.getElementById(IDMenuVert).getElementsByTagName('TABLE');
var Men1=""; 
var Men0=document.getElementById("info_lien").value.split("/")[0]+"/";
for (i=0; i<Tabl.length;i++){
Tabl[i].previousSibling.onmouseover=function(){
	document.getElementById("info_lien").value="";
	document.getElementById("info_lien").value  = Men0 + textValue(this);
	Men1= document.getElementById("info_lien").value;}	
for (j=0; j < Tabl[i].getElementsByTagName("a").length; j++)
Tabl[i].getElementsByTagName('a')[j].onmouseover=function(){

	document.getElementById("info_lien").value  = Men1+"/"+ textValue(this)+ "";}
}}
function textValue(obj) {return (navigator.appName.substring(0,3)=="Net") ? obj.textContent: obj.innerText; }
function reperlien() {
for (i=0; i<document.getElementById(IDCorpDoc).getElementsByTagName('a').length;i++)
document.getElementById(IDCorpDoc).getElementsByTagName('a')[i].onclick=function()
 {
document.getElementById("info_lien").value = interactive(this);
}}
function HrefMenuHoriz(obj){
obj.href+="?htmMenu=" +replacCod(document.getElementById(IDMenuHoriz).innerHTML.replace(/'/g,"’") + ""+obj.innerText );}
function innerTXT(obj){return obj.innerText.replace(/\'/g,"’");}
function replacCod(txt) {return txt.replace(/=/g,"¤").replace(/\//g,"|").replace(/&/g,"~").replace(/;/g,"^");}






