// JavaScript Document
var MENU_ITEMS =
[

 wrap(
	['Charlemagne', '/index.php', {'tw' : '_self', 'sb' : '/index.php'},
	['librairie', '/fichiersHTML/librairie.html', {'tw' : '_self', 'sb' : '/fichiersHTML/librairie.html'}],
	['papeterie', '/fichiersHTML/papeterie.html', {'tw' : '_self', 'sb' : '/fichiersHTML/papeterie.html'}],
	['adresses &amp; horaires', '/fichiersHTML/adresses.html', {'tw' : '_self', 'sb' : '/fichiersHTML/adresses.html'}],]),
 

 wrap(
	['<span class="dm_t-0_rouge">Carte Avantage</span>', 'http://charlemagne.philor.eu/', {'tw' : '_blank', 'sb' : 'http://charlemagne.philor.eu/'},]),


 wrap(
	['<span class="dm_t-0_blanc">commander</span>', 'http://www.lalibrairie.com/charlemagne/', {'tw' : '_blank', 'sb' : 'http://www.lalibrairie.com/charlemagne/'},]),
 
 
 wrap(
	['professionnels', '#', {'tw' : '_self', 'sb' : '#'},
	['papeterie', 'http://www.charlemagnefrance.com', {'tw' : '_blank', 'sb' : 'http://www.charlemagnefrance.com'}],
	['librairie', 'http://www.dilicom.net/Consultation.cgi?', {'tw' : '_blank', 'sb' : 'http://www.dilicom.net/Consultation.cgi?'}],]),
 
 wrap(
	['contacts', '/fichiersHTML/contacts.html', {'tw' : '_self', 'sb' : '/fichiersHTML/contacts.html'}]),

];

function wrap( item ) {
	var url_current = String(window.location);
	var url_link = '.' + '/' + item[1];

	if ( url_current == url_link )
		item[0] = '<span id="dm_t-active_link">' + item[0] + '</span>';
	return (item);

}