// *****************************************************************************
// **                                SETTINGS                                 **
// *****************************************************************************

// 'linka' use this if part of the URL is the same in ALL the links
// In this example all the files are in a subfolder called 'pages'
linka='';

// the filename of the page the menu appears in eg 'menu.html'
thisPage='menu-acc.htm';

// Do you want to use images for the category bullets?
// If so then specify the path to your images folder from the menu page
imgPath='';

// do you want to use images for the category bullets?
lev1img='yes';					// insert yes or no

// give image names and dimensions
lev1OpName='doss-o.gif';			// open image name
lev1OpHeight='11';				// image height
lev1OpWidth='15';				// image width

lev1ClosName='doss-f.gif';		// closed image name
lev1ClosHeight='11';			// image height
lev1ClosWidth='15';				// image width

// do you want to use images for the sub-category bullets?
lev2img='yes';		// insert yes or no

// give image names and dimensions
lev2Name='bullet2c.gif';			// image name
lev2Height='10';				// image height
lev2Width='10';					// image width

// do you want to use a text character for the sub-category bullets?
lev2Char='yes';		// insert yes or no

// set bullet character for level 2 bullets
bullet = ' ';

// base target - the frame that the links are targetting
base = 'sujet';

// *****************************************************************************
// **                             END OF SETTINGS                             **
// *****************************************************************************

// pulls 'page' variable out of URL - do not alter
	var x = 0
	page = location.search.substr(1).split("?")
	for (x=0;x<=page.length;x++) {
		eval(page)
		}
page = escape(page);
page = page.slice(7);

// do not alter this bit
function subMenu(name,linkb) {
 this.name = name;
 this.linkb = linkb;
}
document.write('<BASE target="' + base + '">');

// *****************************************************************************
// **                             BUILD MENU DATA                             **
// *****************************************************************************

// Musique Menu
if (page=='mus') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Accueil, sondage','welcome.htm');
thisMenu[1] = new subMenu('Écoles de musique','ecoles.htm');
thisMenu[2] = new subMenu('Conservatoire','anciens_saguenay.htm');
thisMenu[3] = new subMenu('Ensembles vocaux','ensembles-vocaux.html');
thisMenu[4] = new subMenu('Liens musicaux','signmb.htm');
thisMenu[5] = new subMenu('Composition','catal_mb.htm');
thisMenu[6] = new subMenu('Contrepèteries','contrepet.htm');
thisMenu[7] = new subMenu('Cours d\'écriture','http://michelbaron.phpnet.us/index.htm');
}



// Cathédrale Menu
if (page=='cat') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Historique','cathedrale_historique.html');
thisMenu[1] = new subMenu('Aujourd\'hui','cathedrale.html');
thisMenu[2] = new subMenu('Le grand orgue','cathedrale_orgue.html');
thisMenu[3] = new subMenu('Le choeur','cathedrale_choeur.html');
thisMenu[4] = new subMenu('Les concerts','cathedrale_concerts.html');
thisMenu[5] = new subMenu('La chapelle','cathedrale_chapelle.html');
thisMenu[6] = new subMenu('Calendrier','cathedrale_calendrier.html');
thisMenu[7] = new subMenu('Événements 2008','http://michelbaron.com/photos/cathedrale2008/');
}






// Saguenay Menu
if (page=='sag') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Le fjord','fjord.htm');
thisMenu[1] = new subMenu('Écrans de veille','scr.htm');

}

// Divers Menu
if (page=='divers') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Ma religion','antiantivirus.htm');
thisMenu[1] = new subMenu('Premier livre d\'or','invites-bak.htm');
thisMenu[2] = new subMenu('Livre d\'or courant','http://services.hit-parade.com/hp-livredor.asp?site=a7107');
thisMenu[3] = new subMenu('Recherches / site','search.html');
}

// Personnelles Menu
if (page=='pers') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Le webmestre','mb.htm');
thisMenu[1] = new subMenu('Composition','catal_mb.htm');
thisMenu[2] = new subMenu('Cours CHANEZ: appel à tous!','chanez.htm');
}

// Autres Menu
if (page=='photo') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Menu commenté','http://michelbaron.com/photos/index.html');
thisMenu[1] = new subMenu('Mai 68 à Paris','http://michelbaron.com/photos/mai1968/');
thisMenu[2] = new subMenu('Mai 68 commenté','http://dhost.info/photocanon/mai68/');
thisMenu[3] = new subMenu('Souvenirs','http://michelbaron.com/photos/diapos/');
thisMenu[4] = new subMenu('Oradour-sur-Glane','http://michelbaron.com/photos/oradour/');
thisMenu[5] = new subMenu('Cathédrale de Chicoutimi','http://michelbaron.com/photos/cathedrale2008/');
thisMenu[6] = new subMenu('L\'envolée symphonique','http://michelbaron.com/photos/envolee/');
thisMenu[7] = new subMenu('Zoo sauvage','http://michelbaron.com/photos/animaux/');
thisMenu[8] = new subMenu('Quito, Équateur','http://dhost.info/photocanon/quito/');
thisMenu[9] = new subMenu('La Havane, Cuba','http://michelbaron.com/photos/havane/');
thisMenu[10] = new subMenu('Bagotville 2009','http://michelbaron.com/photos/bagotville2009/');
thisMenu[11] = new subMenu('Mon matériel','http://michelbaron.com/photos/m42.html');
}



