{
        btn1On = new Image()
        btn1On.src ="images/m-accueil-1-off.gif"
        btn1Off = new Image()
        btn1Off.src ="images/m-accueil-1.gif"   
		
		btn2On = new Image()
        btn2On.src ="images/m-profil-2-off.gif"
        btn2Off = new Image()
        btn2Off.src ="images/m-profil-2.gif" 
		
		btn3On = new Image()
        btn3On.src ="images/m-publications-3-off.gif"
        btn3Off = new Image()
        btn3Off.src ="images/m-publications-3.gif"
		
		btn4On = new Image()
        btn4On.src ="images/m-archives-4-off.gif"
        btn4Off = new Image()
        btn4Off.src ="images/m-archives-4.gif"  
		
		btn5On = new Image()
        btn5On.src ="images/m-sitesinterets-5-off.gif"
        btn5Off = new Image()
        btn5Off.src ="images/m-sitesinterets-5.gif" 
		
		btn6On = new Image()
        btn6On.src ="images/m-nousjoindre-6-off.gif"
        btn6Off = new Image()
        btn6Off.src ="images/m-nousjoindre-6.gif"  
		
		btn7On = new Image()
        btn7On.src ="images/m-plandusite-7-off.gif"
        btn7Off = new Image()
        btn7Off.src ="images/m-plandusite-7.gif"                             
}

function switchOn(imageName) {
  if (document.images)
     document.images[imageName].src = eval(imageName + 'On.src');
}
                 
function switchOff(imageName) {
  if (document.images)
     document.images[imageName].src = eval(imageName + 'Off.src');
}


function Advise() {
	alert("Nous vous informons que ce site ne fait pas partie du \"Comité permanent de lutte à la toxicomanie\".  Par conséquent, les renseignements échangés ne sont plus assujettis à la politique de confidentialité du CPLT mais à celle du site privé, le cas échéant.");
}

function livre() {
	var popurl="../sprm/livre_drogues/fr/index_societe_sans_drogue.html";
	winpops=window.open(popurl,"","width=750,height=510,resizable=yes");
}

var popupWin = null;
	
function openWindow(url,WIDTH,HEIGHT) {

	TOP = (screen.height/2) - ( HEIGHT/2);
	LEFT = (screen.width/2) - ( WIDTH/2);
		
	url;
		
	if(!popupWin || popupWin.closed){
		popupWin = window.open( url , 'cplt', 'scrollbars=yes,top = ' + TOP + ',left = ' + LEFT + ',resizable=0,width=' + WIDTH + ',height=' + HEIGHT)
		popupWin.focus();
	} else {
		popupWin.close();
		openWindow(url ,WIDTH,HEIGHT);
	}
}