function clearCurrentLink()
{
	var a = document.getElementsByTagName("A");
	for(var i=0;i < a.length;i++)
	{
		if(a[i] && a[i].getAttribute('href').length > 0)
		{
			if(a[i].href.split("?lid")[0] == window.location.href.split("?lid")[0])
			{
				a[i].className += ' current_link';
			}

			if(window.location.href.indexOf(a[i].href) != -1 )
			{
				a[i].className += ' current_link_parent_category';
			}
		}
	}
}
