if (!tacoBell.DriveThru.FrescoMenu) {
	tacoBell.DriveThru.FrescoMenu = (function() {
		var $_menuHotspots;
		var $_menuItemInfoAll = $('.menuItemInfo');
		var $_menuItemSetAll = $('.menuItemsSet');
		var _rolloverTimeout;
		var _overMenuItem = false;
		var _overMenuInfo = false;
		var that = this;
		function _setUp() {
			$_menuHotspots = $('area');
			_addRolloverHandlers();
			//_loadRolloverStates();
		}
		function _addRolloverHandlers() {
			$_menuHotspots.each(function() {
				$(this).hover(
					_showItemInfo,
					_hideItemInfo
				);
			});
		}
		function _showItemInfo(event) {
			_overMenuItem = true;
			var menuItemNum = $(event.target).attr('id').replace(/menuItem/gi,'');
			// hide existing menu item set and info balloon
			//$_menuItemSetAll.hide();
			//$_menuItemInfoAll.hide();
			// show this menu item set and info balloon
			//$('#menuItemsSet' + menuItemNum).show();
			$_menuItemInfoAll.attr('id', 'menuItemInfo' + menuItemNum);
			$('#menuItemTextContainer').text($('#menuItemText' + menuItemNum).text());
			$_menuItemInfoAll.show();
			// handle info balloon mouseover/out
			$('#menuItemInfo' + menuItemNum).hover(
				function() {
					_overMenuInfo = true;
				},
				function() {
					_overMenuInfo = false;
				}
			);
			if (tacoBell.DriveThru.isIE6) {
				$('#navTop').css('behavior','url(' + tacoBell.DriveThru.jsPath + 'iepngfix.htc)');
			}
		}
		function _hideItemInfo(event) {
			_overMenuItem = false;
			_rolloverTimeout = setTimeout('tacoBell.DriveThru.FrescoMenu.rolloverTimerAction()', 400);
		}
		function _rolloverTimerAction() {
			if (!_overMenuItem && !_overMenuInfo) {
				clearTimeout(_rolloverTimeout);
				$_menuItemInfoAll.hide();
				//$_menuItemSetAll.hide();
				//$('#menuItemsSet0').show();
			} else {
				clearTimeout(_rolloverTimeout);
				_rolloverTimeout = setTimeout('tacoBell.DriveThru.FrescoMenu.rolloverTimerAction()', 400);
			}
		}
		function _loadRolloverStates() {
			$('#menuItemsSets').load('includes/fresco_menu_rollover_states.html');
		}
		return {
			setUp: function() {
				_setUp();
				tacoBell.DriveThru.rollover('', 'DTD', true);
			},
			rolloverTimerAction: function() {
				_rolloverTimerAction();
			}
		}
	})();
};

