/* 
 * Author: Justin Chum
 * 
 * This javascript file contains the contents which is called within an index.html file. 
 * The setup is pretty easy as the file will run and parse each array.
 * 
 * Currently the arrays are setup as such:
 * *** Make sure you follow it carefully and test, commas and number of strings matters *****
 * First: Title 
 * Second: Description
 * Third: Item Title
 * Fourth: Item Description
 * Fifth: Item Price
 * 
 * Repeat 3-5 if you want more items.
 * 
 * Example
 * ----------------------------------------
 * var tempArray = new Array(
 * 		"Menu Item Title",
 * 		"Menu Item Description",
 * 		"Item title", "Item Description", "Item Price",
 * 		"Item2 title", "Item2 Description", "Item2 Price"
 * 		);
 * 
 * addMenuItem(tempArray);
 * 
 * ----------------------------------------
 * 
 * The funtion addMenuItem will be called and print out the contents of the array. 
 * Then the last part of the file will build the div:fixed shortcut
 * 
 * */

// Add arrays after this comment //
var preMade = new Array(
	"Pre-Made Sandwiches",
	"",
	"Sandwich", "without cheese<br />with cheese", "<br />$5.25<br />$6.00"
	);
	
var sandwichBar = new Array(
	"Build Your Own Sandwich",
	"",
	"Includes", "lettuce and tomato<br />lettuce, tomato, and choice of cheese", "<br />$5.75<br />$6.50",
	"<u>Fillings</u>", "Ham, Roast Turkey, Roast Beef, Veggie, Chicken Salad, Asian Chicken Salad, Tuna Salad, Egg Salad", "",
	"<u>Bread</u>", "White, Whole Wheat, Multi-grain, Sourdough, Marble Rye", "",
	"<u>Cheese</u>", "Swiss, Havarti, Cheddar, Provolone, Cream Cheese", ""
	);
	
var gSandwich = new Array(
	"Gourmet Sandwiches",
	"",
	"Deli-Sub", "Ham, fresh roasted turkey, capicola, cheddar and provolone cheese, lettuce, tomato, onion, and herb mayo on a French roll.", "$7.25",
	"Roast Turkey", "Cream cheese, cranberry, lettuce, and mayo on sourdough bread.", "$6.95",
	"Traditional ClubHouse", "Turkey, bacon, lettuce, tomato, mayo on toasted whole wheat bread.", "$7.25",
	"Monte Cristo", "Turkey, ham, swiss cheese, honey dijon mayo on grilled egg battered white bread.", "$7.25",
	"Beef Dip", "House roasted beef on a garlic buttered French roll served with au jus for dipping.", "$7.25",
	"Mediterranean Grilled Chicken", "Capicola, provolone cheese, caramelized onions, lettuce, and tomato mayo on toasted focaccia bread.", "$7.25",
	"Grilled Reuben", "Corned beef, swiss cheese, sauerkraut, and grainy-dijon mayo on marble rye.", "$7.25",
	"Swiss B.L.T.", "Bacon, lettuce, tomato, swiss cheese, and herb mayo on toasted multi-grain bread.", "$6.95",
	"Toasted Vegetarian Club", "Lettuce, tomato, onion, cucumber, provolone cheese, cream cheese, and guacamole on sourdough bread.", "$6.95",
	"Grilled 3 Cheese", "Melted cheddar, monterey jack, and swiss cheese on a choice of bread.", "$5.95"
	);
	
var paninis = new Array(
	"Paninis",
	"", 
	"Roast Turkey", "Roast turkey, havarti cheese, onion, tomato, and pesto mayo on grilled italian bread.", "$8.25",
	"Italian Chicken", "Fresh chicken, prosciutto, caramelized onion, gouda, and sundried tomato mayo on grilled italian bread.", "$8.25",
	"Three Ham", "Prosciutto, capicola, black forest ham with provolone cheese and honey dijon mayo on grilled italian bread.", "$8.25"
	);

var wrap = new Array(
	"Wraps",
	"", 
	"Warm Teriyaki Chicken Wrap", "Fresh chicken breast, fresh Pineapple, green onions, lettuce, and sesame-ginger mayo.", "$6.95",
	"Tuna Salad Wrap", "Tuna Salad, Green onion, celery, lettuce, tomato, cucumber, and mayo.", "$6.95",
	"Warm Beef Fajita Wrap", "Saut&eacute;ed beef strips, cheddar and monterey jack cheese, saut&eacute;ed onions and peppers, salsa, and guacamole.", "$6.95",
	"Ranch Wrap", "Chicken strips, smoked bacon, lettuce, tomato, green onion, cheddar and monterey jack cheese,and ranch mayo.", "$6.95",
	"Greek Veggie Wrap", "Tomato, cucumber, onion, peppers, olives, feta cheese, and tzatziki.", "$6.95",
	"Chicken Caesar Wrap", "Chicken strips, lettuce, parmesan, cro&ucirc;tons, and creamy Caesar dressing.", "$6.95",
	"BBQ Beef Wrap", "Shaved roasted beef, saut&eacute;ed mushrooms and onions, peppers, lettuce, tomato, cheddar and monterey jack cheese, BBQ sauce, and herb mayo.", "$6.95"
	);
	
var mollyBurgers = new Array(
	"Molly Burgers",
	"", 
	"Bistro Burger", "Homemade beef patty, bacon, mushrooms, cheddar, lettuce, tomato, onion and house mayo on a plain kaiser.", "$6.95",
	"Mushroom Swiss Burger", "Homemade beef patty, mushrooms, swiss cheese, lettuce, tomato, onion, and herb mayo on a plain kaiser.", "$6.95",
	"Vegetarian Burger", "Havarti cheese, mushrooms, lettuce, tomato, onion, guacamole, and house mayo on a whole wheat kaiser.", "$6.95"
	);

var hotDogs = new Array(
	"Gourmet Hot Dogs",
	"", 
	"Regular Dog", "choice of condiments<br />add cheese<br />add bacon", "<br />$2.75<br />$0.75<br />$0.75",
	"Chili Dog", "Chili, cheddar, and green onion.", "$4.75",
	"Reuben Dog", "Swiss cheese, sauerkraut, and honey dijon mayo.", "$4.25",
	"Molly Dog", "Cheddar, bacon, caramelized onions, BBQ sauce, and ranch mayo.", "$4.75",
	"<u>Condiments</u>", "Mayo, Ketchup, BBQ sauce, Mustard, Relish, Hot sauce.", ""
	);


var poutine = new Array(
	"Poutine",
	"",
	"Half Order", "Fries, gravy, and nacho cheese", "$4.00",
	"Full Order", "Fries, gravy, and nacho cheese", "$6.25",
	"Deluxe", "Fries, gravy, nacho cheese, sour cream, green onions, diced tomatoes, and mushrooms.", "$7.95",
	"Ranch", "Fries, gravy, nacho cheese, green onions, diced tomatoes, bacon, chicken strips, and ranch dressing.", "$8.50"
	);

var stir = new Array(
	"Stir Fries",
	"",
	"Asian Beef, Chicken or Vegetarian", "with carrots, savoy cabbage, onion, peppers, mushrooms, broccoli, and teriyaki sauce on steamed rice or farkay noodles.", "$8.95"
	);

var salad = new Array(
	"House Salad Bowls",
	"(Meal-size specialty salads)",
	"Chef's", "Ham, chicken, swiss and cheddar cheese, lettuce, onion, tomato, cucumber, egg, and honey-dijon dressing.", "$8.95",
	"Caesar", "Traditional Caesar with homemade cro&ucirc;tons, creamy caesar dressing, parmesan cheese, chicken breast, and garlic toast.", "$8.95",
	"Ranch", "Chicken strips, bacon, lettuce, tomato, green onions, cheddar and monterey jack cheese, and ranch dressing.", "$8.95",
	"Asian", "Teriyaki chicken, asian noodle salad, mixed veggies, greens, sesame-ginger vinaigrette, and toasted sesame seeds.", "$8.95",
	"Greek", "Grilled chicken breast, greek salad, greens, feta vinaigrette, pita break, and tzatziki.", "$8.95"
	);

var sides = new Array(
	"Sides",
	"",
	"Deli Salads", "sm.<br />lg.", "<br />$2.95<br />$4.95",
	"Soup of the Day", "Cup<br />Bowl<br />Add Roll", "<br />$2.75<br />$4.50<br />$0.75",
	"Fries", "sm.<br />lg.", "<br />$2.50<br />$4.00",
	"Onion Rings", "sm.<br />lg.", "<br />$3.00<br />$4.50",
	"Chicken Fingers and Dip", "", "$6.25",
	"Gravy", "", "$1.00",
	"Garlic Bread", "", "$1.95",
	"Sausage Roll", "", "$2.25"
	);

var kids = new Array(
	"Kids",
	"",
	"Chicken Fingers", "with choice of soup, salad or fries.", "$5.50",
	"Half Sandwich", "with choice of soup, salad or fries.", "$5.50"
	);

var dessert = new Array(
	"Dessert",
	"",
	"Assorted Squares", "", "$2.25",
	"Assorted Loaves", "", "$2.50",
	"Butter Tart", "", "$1.50",
	"Muffins", "", "$1.95",
	"Scones", "", "$2.50",
	"Cookies", "", "$1.50",
	"Assorted Chocolate Bars and Candy", "", "$1.50",
	"Cinnamon Buns", "(Wed & Fri)", "$2.50",
	"Rice Krispy Squares", "(Mon & Wed)", "$1.75"
	);
	
var beverage = new Array(
	"Beverage",
	"",
	"Pop", "", "$2.00",
	"Ice Tea", "", "$2.35",
	"Juice", "", "$2.35",
	"Bottle Water", "", "$2.00",
	"Milk", "", "$2.50",
	"Sobe", "", "$2.95",
	"Gatorade", "", "$2.75",
	"Red Bull", "", "$3.25",
	"Coffee", "sm.<br />med.<br />lg.", "<br />$1.35<br />$1.55<br />$2.10",
	"Tea", "", "$1.55",
	"Hot Chocolate", "", "$2.25"
	);
	
var breakfast = new Array(
	"Breakfast",
	"",
	"Full Breakfast - with choice of ham, bacon or sausage, toast, and homemade panfries", "One Egg<br />Two Egg<br />Three Egg", "<br />$5.50<br />$6.50<br />$7.50",
	"Ham and Cheese Omelette - with toast and homemade panfries", "Two Egg<br />Three Egg", "<br />$7.00<br />$8.50",
	"Bagel and Cream Cheese", "", "$2.95",
	"Toast and Preserves", "", "$1.95",
	"English Muffin and Preserves", "", "$1.95",
	"Fruit Salad", "sm.<br />lg.", "<br />$2.95<br />$4.95",
	"<u>On The Side</u>", "Ham, bacon or sausage<br />One Egg, any style<br />Panfries", "<br />$2.75<br />$1.25<br />$2.75"
	);
	
var breakfastSW = new Array(
	"Breakfast Sandwiches and Wraps",
	"",
	"Molly Wrap", "Red onion, mushrooms, peppers, tomato, cheese, and 2 eggs scrambled in a whole wheat tortilla.<br />Add ham, sausage or bacon", "<br />$4.50<br />$6.00",
	"Original Sandwich", "1 Egg, ham, and cheddar cheese on an english muffin.", "$4.00",
	"Molly Sandwich", "1 Egg, ham, tomato, and cheddar cheese on an english muffin.", "$4.25",
	"Swiss Sandwich", "1 Egg, ham, and swiss cheese on an english muffin.", "$4.00",
	"Ranch Sandwich", "1 Egg, ham, peppers, onions, tomato, and cheddar cheese on an english muffin.", "$4.95"
	);

// Add function calls after this comment //
addMenuItem(preMade);
addMenuItem(sandwichBar);
addMenuItem(gSandwich);
addMenuItem(paninis);
addMenuItem(wrap);
addMenuItem(mollyBurgers);
addMenuItem(hotDogs);
addMenuItem(poutine);
addMenuItem(stir);
addMenuItem(salad);
addMenuItem(sides);
addMenuItem(kids);
addMenuItem(dessert);
addMenuItem(beverage);
addMenuItem(breakfast);
addMenuItem(breakfastSW);

// Print List function prints out the shortcut menu
printList();
