var myZoom;

function init(o) {
	var stretchers = document.getElementsByClassName('stretcher');
	var toggles = document.getElementsByClassName('menutitre');
	var myAccordion = new fx.Accordion(
		toggles, stretchers, {opacity: false, duration: 500, defaultStretcher: o }
	);
	
	if(document.getElementById("zoom")) {
		myZoom = new fx.Combo('zoom', {height: true, opacity: true, duration: 1000});
		myZoom.hide('height');
	}
}

function zoom() {
	myZoom.toggle();
}

function addToFavorites() {
	if (document.all) { window.external.AddFavorite(location.href, document.title); }
	else { alert('Vous pouvez faire CTRL + D pour ajouter cette page dans vos signets, ou favoris.') }
}

function retour() {
	history.go(-1);	
}
