	// Store the buttons
	var MenuButtons = new Array();
	// Set the location of the images used in the rollovers
	ImageLocation = "images/";
	var cur = "";
	// Check to see if the user's browser supports rollovers
	var supported = document.images;
	
     // Define the On and Off states of the button
	function MenuButton(Src, Txt){
		if (supported){
			this['Off'] = new Image();
			this['Off'].src = ImageLocation + Src + "_off.jpg";
			this['On'] = new Image();
			this['On'].src = ImageLocation + Src + "_on.jpg";
			this['TextImage'] = new Image();
			this['TextImage'].src = ImageLocation + Src + "_text.jpg";
		}
		this['Text'] = Txt;
	}
	// Rollover functions for the On and Off states of the buttons
	function RollOverOn(ImgName){
		if (supported  && (ImgName != cur)){
			document.images[ImgName].src = MenuButtons[ImgName]['On'].src;
			document.images['text'].src = MenuButtons[ImgName]['TextImage'].src;
		}
		WindowStatusOn(ImgName);
	}
	function RollOverOff(ImgName){
		if (supported && (ImgName != cur)){
			document.images[ImgName].src = MenuButtons[ImgName]['Off'].src;
			document.images['text'].src = ImageLocation + "text.jpg";
		}
	WindowStatusOff();
	}
	// Rollover functions for the browser's status window
	function WindowStatusOn(ImgName) {
		window.status = MenuButtons[ImgName]['Text'];
	}
	function WindowStatusOff() {
		window.status = '';
	}

	function ShowMenu() {
		document.getElementById("menubrowse").style.display='block';
		document.getElementById("menuadvanced").style.display='block';
		document.getElementById("menudownload").style.display='block';
	}

	// Preload all of the menu buttons
	MenuButtons['home'] = new MenuButton('home','Home page');
	MenuButtons['deals'] = new MenuButton('deals','Check out our special deals!');
	MenuButtons['menu'] = new MenuButton('menu','Browse through our menu');
	MenuButtons['lunch'] = new MenuButton('lunch','Check out our lunch specials!');
	MenuButtons['faqs'] = new MenuButton('faqs','Frequently asked questions');
	MenuButtons['store'] = new MenuButton('store','Store hours and information');
	MenuButtons['menubrowse'] = new MenuButton('menubrowse','View our takeout menu');
	MenuButtons['menuadvanced'] = new MenuButton('menuadvanced','View our menu with advanced options');
	MenuButtons['menudownload'] = new MenuButton('menudownload','Download our menu onto your computer');

	document.images[cur].src = MenuButtons[cur]['On'].src;