// send browser back to menu page
function redirectToMenu()
{ window.location.assign('/index.php?id=food_menu'); }
// method to "show" the item customization
function showCustomize()
{
	document.getElementById('divItemCustomizationPopup').popupInstance.show();
	return true; // we want the itemadd/itemedit to continue so we must return true here
}
// method to hide then show the item customization; this recalculates the size of the object and properly centers the popup
function showCustomize2()
{
	var inst = document.getElementById('divItemCustomizationPopup').popupInstance;
	// recalculate the size of the window
	inst.hide();
	inst.show();
	
	// we don't have to return anything here because these are called by the *Finished events and the return value
	// from these events will be ignored
}
// we're done with the item customization so we can hide it now
function hideCustomize()
{
	document.getElementById('divItemCustomizationPopup').popupInstance.hide();
}
