if (typeof addthis_disable == "undefined") {

var addthis_config = {
	username: "educaloi",
	ui_language: langue
}
	

// Original : http://javascript-array.com/scripts/jquery_simple_drop_down_menu/
// Modification : Simon - egzakt.com
var timeout    = 300;
var closetimer = 0;
var active_button = null;
var active_contenu = null;

function athis_open(obj) {
	athis_canceltimer();
	athis_close();

	if (JQ(obj).attr('class').match('addthis_partager')) {
		active_button = obj;
		active_contenu = JQ(obj).next('.addthis_toolbox');
	} else if (JQ(obj).attr('class').match('addthis_toolbox')) {
		active_button = JQ(obj).prev('.addthis_partager');
		active_contenu = obj;
	}
	if (active_button != null)
		JQ(active_button).addClass('addthis_partager_over');
	if (active_contenu != null)
		JQ(active_contenu).css('display', 'block');
}

function athis_close() {
	if (active_contenu != null)
		JQ(active_contenu).css('display', 'none');
	if (active_button != null)
		JQ(active_button).removeClass('addthis_partager_over');
	active_button = null;
	active_contenu = null;
	
}

function athis_timer() {
	closetimer = window.setTimeout(athis_close, timeout);
}

function athis_canceltimer() {
	if(closetimer) {
		window.clearTimeout(closetimer);
		closetimer = null;
	}
}

JQ('.addthis_partager, .addthis_toolbox').bind("mouseover",function() { return athis_open(this) });
JQ('.addthis_partager, .addthis_toolbox').bind("mouseout",function() { return athis_timer(this) });
JQ('.addthis_partager').bind("click",function() { return false; });
document.onclick = athis_close;

}

JQ('.addthis_toolbox').hide();