$(document).ready
(
	function()
	{
		//Separate effects for each section
		if (pLoc = self.location.href.match(/([a-z\-]+\.html)$/i))
		{
			if (pLoc.length > 0 && pLoc[1])
			{
				var links = document.getElementsByTagName("A");

				for (i=0;i<links.length;i++)
				{
					if (links[i].href.indexOf(pLoc[1]) != -1) //this is out current element
					{
						if (links[i].parentNode.id.indexOf('menu-') != -1)
						{
							$("#" + links[i].parentNode.id).animate( { left:245, width:650, top: 0 },1000 );
						}
					}
				}
			}
		}
	}
);