bgcolor='#205E51';
bgcolor2='#205E51';
var strUrlTmp = document.location.pathname;
var aryUrlSplit = strUrlTmp.split("/");
var strUrlActif = '';
function DownloadFileJs(sNameDownFile, sType) {
	document.frmDownloadFile.file.value = sNameDownFile;
	document.frmDownloadFile.type.value = sType;
	document.frmDownloadFile.submit();
}

function AfficherLogoBAsp(sNiveau) {
	var sOut = '';

	sOut = '<a href="http://www.rie.ca/basp" target="_blank"><img src="' + sNiveau + 'images/logo_basp.gif" border="0" style="margin : 5 0 5 0px;"></a><br><a href="http://www.criq.qc.ca/fr/0100_enaff/p0114_rohs.html" target="_blank"><img src="' + sNiveau + 'images/logo_criq.jpg" border="0" style="margin : 5 0 5 0px;"></a><br><img src="' + sNiveau + 'images/logo_dec.gif" style="margin : 0 0 5 0px;"><br><img src="' + sNiveau + 'images/logo_mdeie.gif" style="margin : 0 0 0 0px;">';

	return sOut;
}


for (var i=2; i < aryUrlSplit.length; i++) {
	strUrlActif += aryUrlSplit[i];
	if (i < (aryUrlSplit.length-1)) {
		strUrlActif += '/';
	}
 }
document.write('<style type="text/css">');
document.write('.popper { POSITION: absolute; VISIBILITY: hidden; z-index:3; }')
document.write('#topgauche { position:absolute;  z-index:10; }')
document.write('A:hover.ejsmenu {color:#ACC5C0; text-decoration:none;}.texte_choisi{color:#ACC5C0;text-decoration:none;font-family:Verdana;	font-size: 11px;font-weight: bold;}')

document.write('td:hover.ejsmenu {color:#CB7A40; text-decoration:none;}')
document.write('A.ejsmenu {color:#FFFFFF; text-decoration:none;font-weight: bold;}')
document.write('</style>')
document.write('<div style="position:relative;height:20;left:101"><DIV class=popper id=topdeck></DIV>');
/*
SCRIPT EDITE SUR L'EDITEUR JAVACSRIPT
http://www.editeurjavascript.com
*/

/*
LIENS
*/
zlien = new Array;
zlien[0] = new Array;
zlien[1] = new Array;
zlien[2] = new Array;
zlien[3] = new Array;
zlien[4] = new Array;
/*zlien[4][0] = '<A HREF="' +strNiveau+ '101/101a.asp" CLASS=ejsmenu>BD normatives</A>';
zlien[4][1] = '<A HREF="' +strNiveau+ '101/101b.asp" CLASS=ejsmenu>BD techniques</A>';*/
zlien[5] = new Array;

var nava = (document.layers);
var dom = (document.getElementById);
var iex = (document.all);
if (nava) { skn = document.topdeck }
else if (dom) { skn = document.getElementById("topdeck").style }
else if (iex) { skn = topdeck.style }
skn.top = 20;

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = pos;
var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#FFFFFF WIDTH=130 ><TABLE WIDTH=150 BORDER=0 CELLPADDING=4 CELLSPACING=2></TR>";
pass = 0
while (pass < msg.length)
	{
	content += "<TR><TD BGCOLOR="+bgcolor+" onMouseOver=\"this.style.background='"+bgcolor2+"'\" onMouseOut=\"this.style.background='"+bgcolor+"'\" HEIGHT=1><FONT SIZE=1px FACE=\"Verdana\">&nbsp;&nbsp;"+msg[pass]+"</FONT></TD></TR>";
	pass++;
	}
content += "</TABLE></TD></TR></TABLE>";
if (nava)
  {
    skn.document.write(content);
	  skn.document.close();
	  skn.visibility = "visible";
  }
    else if (dom)
  {
	  document.getElementById("topdeck").innerHTML = content;
	  skn.visibility = "visible";
  }
    else if (iex)
  {
	  document.all("topdeck").innerHTML = content;
	  skn.visibility = "visible";
  }
}
function AfficherMenuLien(sMenuTexte, sMenuLien, sMenuLienSelected) {
	var sOut = '';

	sMenuLien2 = strNiveau + sMenuLien
	sMenuLienSelected = strNiveau + sMenuLienSelected;

	if(sMenuLien2 != sMenuLienSelected){
		sOut = '<A onClick="return(true)" onMouseOver="pop(zlien[0],0)" href=' + sMenuLien2 + ' CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana" >' + sMenuTexte + ' </FONT></a>'; 
	} else {
		sOut = '<span class=texte_choisi>'+sMenuTexte+'</span>';
	}
	return sOut;
}
function kill()
{
	skn.visibility = "hidden";
}
document.onclick = kill;
document.write('<DIV ID=topgauche><TABLE CELLPADING=0 CELLSPACING=0 BORDER= 0 WIDTH=520 HEIGHT=7 BGCOLOR=#205E51 ><TR>')

document.write('<TD WIDTH=60 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[0],0)" onMouseOut="this.style.background=\''+bgcolor+'\'">' + AfficherMenuLien('Membres','100/membres.asp',strUrlActif) + '</TD>')

document.write('<TD WIDTH=5 ALIGN=center BGCOLOR='+bgcolor+' ><FONT SIZE=2 COLOR=#FFFFFF FACE="Verdana" > <strong>|</strong></FONT></TD>')


document.write('<TD WIDTH=60 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[1],100)" onMouseOut="this.style.background=\''+bgcolor+'\'">'+ AfficherMenuLien('Adhésion','100/adhesion.asp',strUrlActif) +'</TD>')

document.write('<TD WIDTH=5 ALIGN=center BGCOLOR='+bgcolor+'>  <FONT SIZE=2 FACE="Verdana" COLOR=#FFFFFF  > <strong>| </strong></FONT></TD>')

document.write('<TD WIDTH=60 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[2],200)" onMouseOut="this.style.background=\''+bgcolor+'\'">'+ AfficherMenuLien('Activités','100/activites.asp',strUrlActif) +'</TD>')

document.write('<TD WIDTH=5 ALIGN=center BGCOLOR='+bgcolor+' > <FONT SIZE=2 FACE="Verdana" COLOR=#FFFFFF  > <strong>| </strong></FONT></TD>')

document.write('<TD WIDTH=60 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[3],300)" onMouseOut="this.style.background=\''+bgcolor+'\'">'+ AfficherMenuLien('Comités','100/comites.asp',strUrlActif) +'</TD>')

document.write('<TD WIDTH=5 ALIGN=center BGCOLOR='+bgcolor+'>  <FONT SIZE=2 FACE="Verdana" COLOR=#FFFFFF  > <strong>| </strong></FONT></TD>')

document.write('<TD WIDTH=280 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[4],400)" onMouseOut="this.style.background=\''+bgcolor+'\'">'+ AfficherMenuLien('Les bénéfices de faire parti du RIE','100/benefices.asp',strUrlActif) +'</TD>')

document.write('<TD WIDTH=5 ALIGN=center BGCOLOR='+bgcolor+'>  <FONT SIZE=2 FACE="Verdana" COLOR=#FFFFFF  > <strong>| </strong></FONT></TD>')

document.write('</TR></TABLE></DIV></div>')