function saveBoxState(_id) 
{
	// Get state
	if($("#box_" + _id + "_content").is(":visible"))
	{
		var type = "Show";
	}
	else
	{
		var type = "Hide";
	}
	
	// Do ajax request
	$.get(pathPrefix + "/Ajax/sty" + type + "Box" + firstSeperator + "id=" + _id + sid2);	
}

function updateNavigationCategoryItemState(_item) 
{
	var visible = _item.style.display == 'none' ? 0 : 1;
	
	$.get(pathPrefix + "/Ajax/navUpdateCategoryState" + firstSeperator + "id=" + _item.id.substr(14) + "&visible=" + visible);
}
