function changecolor (id) {
	this.couleur = '#f7ae3b';
	this.id = id;

	if (typeof this.highlighted == 'undefined' || this.highlighted == '') {
		document.getElementById(this.id).style.color = this.couleur;
		this.highlighted = this.id;
	}
	else {
		if (this.id != this.highlighted) {
			document.getElementById(this.id).style.color = this.couleur;
			document.getElementById(this.highlighted).style.color = '';
			this.highlighted = this.id;
		}
		else {
			document.getElementById(this.id).style.color = '#f7ae3b';
			this.highlighted = this.id;
		}
	}
}

var highlightLink = function () {
        var active = null, colour = '#f7ae3b';
        if (this.attachEvent) this.attachEvent('onunload', function () {
            active = null;
        });
        return function (element) {
            if ((active != element) && element.style) {
                if (active) active.style.color = '';
                element.style.color = colour;
                active = element;
            }
        };
};
	

var Lst;
function changecolor2(obj) {
	if (Lst) {
		Lst.style.color='#ffffff';
	}
	obj.style.color='#f7ae3b';
	Lst = obj;
}
