var LinkToItem = 
{
	// -----------------
	// -
	// - begin of link list
	// - make changes here
	// - a number on the right side of colon determines what menu item to highlight when user is on given page
	// -
	// -----------------

	"/radio/index.html" 		: 1,
	"/radio/team.html" 			: 2,
	"/radio/survey.html"		: 3,
	"/radio/photos.html" 		: 4,
	"/radio/contacts.html" 		: 5,

	"/foundation/index.htm" 	: 1,
	"/foundation/mission.htm" 	: 2,
	"/foundation/fomunyoh.htm" 	: 3,
	"/foundation/board.htm" 	: 4,
	"/foundation/committee.htm" : 5,
	"/foundation/contact.htm" 	: 6,

	"/foundation/cameroon.htm" 	: 1,
	"/foundation/democracy.htm"	: 2,
	"/foundation/rulers.htm" 	: 3,

	"/press/index.htm" 	: 1,
	"/press/index_releases.html" 	: 2,
	"/press/index_radio.html"	: 3,
	"/press/index_video.htm" 	: 4,

	"/foundation/photo_2004.php": 5,
	"/foundation/photo_2002.htm": 6,
	"/foundation/photo_2000.htm": 7,
	"/foundation/photo_1999.htm": 8,
	
	// -----------------
	// -
	// - end of list
	// -
	// -----------------

	"":1
}

$(document).ready(function()
{
	//ul = document.getElementsByClassName("left_menu")[0];	// DOM: get menu (ul)
	//lis = ul.getElementsByTagName("li");					// DOM: get menu items (ul->li)
	lis = $('ul.left_menu li');
	url = document.URL.replace(/^http:\/\/[^\/]+/,"");		// RegExp: get path from URL
	if (LinkToItem[url] != null)										// If such page is pointed in list
	{
		lis[LinkToItem[url]-1].getElementsByTagName("a")[0].className = 'current';	// apply the 'current' style to the specified menu item
	}
	return true;
}
);


