
function addFavorite() {
	browserName = navigator.appName;
	browserVer = parseInt(navigator.appVersion);
	
	if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) {
		window.external.AddFavorite(location.href, document.title);
	}
}

/* nav */
//POur chaque rubrique qu'on ajoute, il faut créer son COUNT
isExpanded = false;
var count60 = 0;
var count61 = 0;
var count63 = 0;


function expandIt(el, Id) {

	//var whichEl = eval(el + "Child");
	var whichEl = document.getElementById(el + "Child");
	//var divColl = document.all.tags("div");
	
	var divColl = document.getElementsByTagName('div');

	if (this["count"+Id] == 0) {
		   for (i=0; i<divColl.length; i++) {
				if ( (divColl[i].className == "subMenu") ) {
					divColl[i].style.display = (isExpanded) ? "block" : "none";
					count60 = 0;
					count61 = 0;
					count63 = 0;
				}
			}
			//document.all[(el+"Child")].style.display = "block";
			document.getElementById(el+"Child").style.display = "block";
			this["count"+Id] = 1;
			openedItem = eval(el+"Child");
	} else  {
		//document.all[(el+"Child")].style.display = "none";
		document.getElementById(el+"Child").style.display = "none";
		this["count"+Id] = 0;
	}
	//alert(count);
}
