{
        btn1On = new Image()
        btn1On.src ="images/m-accueil.jpg"
        btn1Off = new Image()
        btn1Off.src ="images/m-accueil-off.jpg"   
		
		btn2On = new Image()
        btn2On.src ="images/m-quisommesnous.jpg"
        btn2Off = new Image()
        btn2Off.src ="images/m-quisommesnous-off.jpg" 
		
		btn3On = new Image()
        btn3On.src ="images/m-portefolio.jpg"
        btn3Off = new Image()
        btn3Off.src ="images/m-portefolio-off.jpg"
		
		btn4On = new Image()
        btn4On.src ="images/n-services.jpg"
        btn4Off = new Image()
        btn4Off.src ="images/n-services-off.jpg"  
		
		btn5On = new Image()
        btn5On.src ="images/m-contact.jpg"
        btn5Off = new Image()
        btn5Off.src ="images/m-contact-off.jpg" 
                         
}

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);
	}
}