/* Left menu functions */


function OpenMenuNode(oThis)
{
	if (oThis.parentNode.className == 'close')
	{
		//oThis.parentNode.className = 'current';
		document.cookie = "openItem=" + oThis.id + ";path=/;";
	}
	return false;
}

function saveCurrent(oThis)
{
	document.cookie = "selectedItem=" + oThis.id + ";path=/;";
	return false;
}

function clearCookie(oThis)
{
	document.cookie = "openItem=;path=/";
	document.cookie = "selectedItem=;path=/";
	return false;
}

function clearSubCookie(oThis)
{
	document.cookie = "selectedItem=;path=/";
	return false;
}