function addCategory(thisElement)
{
	var catNum = document.getElementById(thisElement).options.length;

	var newCat = prompt('Name your new category:');
	var newCatIdent = "new__"+newCat;

	if (newCat.length > 0)
	{
		var newOption = new Option(newCat, newCatIdent, false, true)

		document.getElementById(thisElement).options[catNum] = newOption;

		alert("Category has been added and will be saved once you save or publish.");
	}
	else {
		alert("Category name must be at least one character long!");
	}

}