<!--

//Retrieving browser type.
var path;
var ie;
var ns; 
var boxflag="";
function detectBrowser() {
ie=true
var str = location.href
var filename =  str.substr(str.length-10, 10);

	
	// Sets the currentstate of drop down menus to hidden
	for (i=1; i<63; i++) {
		currentstate[i]="hidden";
		currentstateText[i]="hidden";
 	}
}

var currentobj;
var currentText;
var currentstate = new Array()
var currentstateText = new Array()
var currentstateLayer = new Array()
var number;

// ##########################
// pop under
// ##########################
function pubpp() {
nouv_fen = window.open("http://www.passepart.ca/fichiers/01/01coup_de_coeur.html",'popunder','height=250, width=250, left=100, top=100, toolbar=0, location=0,directories=0,status=0,menubar=0, scrollbars=0,resizable=0'); 
nouv_fen.blur();

}


// ##########################
function init() {
var str = location.href
var filename =  str.substr(str.length-10, 10);

	
	// Sets the currentstate of drop down menus to hidden
	for (i=1; i<63; i++) {
		currentstate[i]="hidden";
		currentstateText[i]="hidden";
 	}
}


// ##########################
// Displays Drop Down Menus
// ##########################

function showMenu(currentobj) {
number=currentobj
currentobj="Menu" + currentobj
var temp = eval("document.all." + currentobj + ".style");

	if (currentstate[number]=="hidden") {		
		if (ie){temp.visibility="visible";}
		if (ns) {temp.visibility="show";}
		currentstate[number]="visible";
	}	
}


// ########################
//  Hides Drop Down Menus
// ########################

function hideMenu(currentobj) {
number=currentobj
currentobj = "Menu" + currentobj
var temp = eval("document.all." + currentobj + ".style");	
var str = location.href

	if (ie) {temp.visibility = "hidden";}
	if (ns) {temp.visibility = "hide";}
	currentstate[number]="hidden";
}


// #######################################
// Rollover function
// #######################################
var img_name;
var img_state;
function swappic(img_name,img_state) {
	eval("document." + img_name + ".src ='images/accueil_html/bullet" +img_state + ".gif';");
}

