/* 
 * 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 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, Tuna Salad, Egg Salad", "",
	"<u>Bread</u>", "White, Whole Wheat, Multi-grain", "",
	"<u>Cheese</u>", "Swiss, Havarti, Cheddar, Provolone, Cream Cheese", "",
	"<u>Addons</u>", "cranberries, mango chutney, guacamole or hummus", "$0.50"
	);
	
var preMade = new Array(
	"Sandwiches, Wraps",
	"",
	"Assorted Premade Sandwiches", "without cheese<br />with cheese", "<br />$5.25<br />$6.00",
	"Assorted Premade Wraps", "In a wholewheat or tomato flour tortilla.", "$6.50",
	"Premade Lettuce Wraps", "With teriyaki chicken, rice noodles, cabbage, carrot, tomato, and cucumber and lettuce wrapped in rice paper. Served with peanut sauce or sweet chili sauce on the side.", "$6.50",
	"Paninis", "Ham, Turkey, Tuna or Roast Beef.<br />Fullsize<br />Halfsize", "<br />$7.50<br />$4.25"
	);
	
var salad = new Array(
	"Premade Salad Bowls",
	"Choice of dressings on Salads",
	"B.C. Bowl", "Mixed greens, julienne carrots, cucumber, red onion, broccoli, dried cranberries, and walnuts.", "$6.50",
	"Spinach Bowl", "Baby spinach, hard boiled egg, julienne carrots, cucumber, red onion, broccoli, and toasted almonds.", "$6.50",
	"Chef Bowl", "Mixed greens, ham, chicken, hard boiled egg, cucumber, tomato, and julienne carrots.", "$7.50"
	);
/*	
var salad = new Array(
	"Salad Bowls",
	"",
	"House", "Mixed greens, julienne carrots, red onions, hard-boiled egg, tomato, and cucumber with a raspberry vinaigrette.", "$7.25",
	"B.C.", "Mixed greens, julienne carrots, green onions, sliced apples, dried cranberries, and sweet & spicy walnuts with honey-mustard.", "$7.25",
	"Mandarin Spinach", "Mandarin segments, spinach, broccoli, julienne carrot, red onions, and toasted almonds with a sesame-ginger vinaigrette.", "$7.25",
	"Add-on", "1/2 fresh chicken breast.", "$1.70"
	);
*/
var entrees = new Array(
	"Hot Entrees",
	"",
	"Irish Beef and Potato Stew", "Bowl with a roll.", "$5.95",
	"Curried Butter Chicken", "Served with basmati rice, mango chutney, and toasted almonds.", "$7.50",
	"Homemade Chili", "Cup with a roll<br />Bowl with a roll", "<br />$3.75<br />$5.95",
	"Classic Baked French Onion Soup", "", "$5.25",
	"Samosas", "Vegetarian or Chicken with mango chutney.", "$3.25",
	"Burritos", "Bean & Cheese with salsa & sour cream.", "$2.75",
	"Pita Pizza", "Choice of Ham & Pineapple or BBQ Chicken with caramelized onions.", "$6.50",
	"Spanakopita", "Served with tzatziki.", "$4.50"
	);
	
//"Choice of Hot Entr&eacute;e", "Baked meat lasagna served with a roll.<br />Spinach and Cheese cannelloni served with a roll.<br />Baked macaroni and cheese served with a roll.<br />Ginger beef with peppers on farkey noodles.<br />Sweet & Sour pork with fresh pineapple on rice.<br />Potato & cheese perogies with bacon & sour cream." , "$5.95",

var sides = new Array(
	"Sides",
	"",
	"Assorted Deli Salads", "sml<br />lrg", "$2.95<br />$4.95",
	"Soup of the Day","cup<br />bowl", "$2.75<br />$4.50",
	"Baked French Onion Soup", "", "$5.25"
	);	
	
var dessert = new Array(
	"Dessert",
	"",
	"Assorted Squares", "", "$2.25",
	"Assorted Loaves", "", "$2.50",
	"Butter Tart", "", "$2.25",
	"Date Square", "", "$2.75",
	"Polynesian Bar", "", "$2.75",
	"Peanut Butter Oat Bar", "", "$2.75",
	"Muffins", "", "$1.75",
	"Health Muffins", "", "$1.75",
	"Scones", "", "$2.50",
	"Cookies", "", "$1.00",
	"Health Cookies", "", "$1.95",
	"Energy Bars", "", "$2.75",
	"Cinnamon Buns", "(Wed & Fri)", "$2.50",
	"Rice Krispy Squares", "(Mon & Wed)", "$1.75",
	"Chocolate Covered Espresso Beans", "", "$3.00"
	);
	
var hotBeverage = new Array(
	"Hot Beverage",
	"",
	"Coffee", "sm.<br />med.<br />lg.", "<br />$1.35<br />$1.55<br />$2.10",
	"Espresso", "sng.<br />dbl.", "<br />$1.50<br />$2.00",
	"Americano", "sng.<br />dbl.", "<br />$2.25<br />$2.75",
	"Cappuccino", "sm.<br />med.<br />lg.", "<br />$2.75<br />$3.50<br />$4.25",
	"Cafe Latte", "med.<br />lg.", "<br />$2.75<br />$3.50",
	"Cafe Mocha", "med.<br />lg.", "<br />$3.25<br />$4.00",
	"Caramel Machiato", "med.<br />lg.", "<br />$3.25<br />$4.00",
	"Chai Tea Latte", "med.<br />lg.", "<br />$3.00<br />$3.75",
	"Matcha Green Tea Latte", "med.<br />lg.", "<br />$3.00<br />$3.75",
	"London Fog", "med.<br />lg.", "<br />$3.00<br />$3.50",
	"Tea", "med.<br />lg.", "<br />$1.55<br />$1.55",
	"Steamers", "med.<br />lg.", "<br />$2.50<br />$3.00",
	"Hot Chocolate", "med.<br />lg.", "<br />$2.50<br />$3.00",
	"Hot Apple Cider", "med.<br />lg.", "<br />$2.25<br />$2.75",
	"Soy Substitute", "", "$0.75",
	"Extra shot of espresso or flavouring", "", "$0.50"
	);

var coldBeverage = new Array(
	"Cold Beverage",
	"",
	"Ice Coffee & Tea", "","",
	"Latte", "sml<br />lrg", "$3.50<br />$5.25",
	"Flavoured Latte", "sml<br />lrg", "$4.00<br />$6.00",
	"Mocha", "sml<br />lrg", "$4.00<br />$6.00",
	"Caramel Machiato", "sml<br />lrg", "$4.00<br />$6.00",
	"Chai Latte", "sml<br />lrg", "$3.75<br />$5.75",
	"Matcha Green Tea Latte", "sml<br />lrg", "$3.75<br />$5.75",
	"Extra","Soy Substitute<br />Extra shot of Espresso or flavouring", "$0.50<br />$0.50",
	"","<hr />", "",
	"Italian Sodas", "assorted flavours", "$3.25",
	"Pop", "", "$1.25",
	"Ice Tea", "", "$2.35",
	"Assorted Juice", "", "$2.35",
	"AMP Energy Drink", "", "$2.95",
	"Water", "", "$2.00",
	"Milk", "", "$2.50",
	"Sobe", "", "$2.95"
	);
	
var smoothies = new Array(
	"Smoothies",
	"",
	"Raspberry & Peaches Creamsicle", "Raspberry, peaches, frozen yogurt, orange juice, and milk.<br />sml<br />lrg", "<br />$4.50<br />$6.75",
	"Berry Sunrise", "Strawberries, blueberries, raspberries, cranberries, frozenyogurt, milk, and orange juice.<br />sml<br />lrg", "<br />$6.75<br />$9.25",
	"Morning Glory", "Pineapple, peaches, cranberries, frozen yogurt, and apple juice.<br />sml<br />lrg", "<br />$4.50<br />$6.75",
	"Fruit Explosion", "Cherry jet tea, peaches, bananas, pineapple, strawberries, mango sorbet, and orange juice.<br />sml<br />lrg", "<br />$6.75<br />$9.25",
	"Cherry Burst", "Cherry jet tea, frozen yogurt, and milk.<br />sml<br />lrg", "<br />$4.50<br />$6.75",
	"Tropical Colada", "Colada jet tea, pinapple, and mango sorbet.<br />sml<br />lrg", "<br />$4.50<br />$6.75",
	"Kelowna Colada", "Colada jet tea, peaches, and pinapple.<br />sml<br />lrg", "<br />$6.75<br />$9.25",
	"Strawberry Colada", "Colada jet tea, strawberries, pineapple, and frozen yogurt.<br />sml<br />lrg", "<br />$6.75<br />$9.25",
	"Mocha-sicle", "Espresso, chocolate, frozen yogurt, and milk.<br />sml<br />lrg", "<br />$6.75<br />$9.25",
	"Mellow Yellow", "Pineapple, banana, peaches, milk, and mango sorbet.<br />sml<br />lrg", "<br />$4.50<br />$6.75",
	"Soyalishous", "Banana, strawberries, soymilk, and honey<br />sml<br />lrg", "<br />$4.50<br />$6.75",
	"Boosters", "Protein Powder<br />Flax<br />Echinacea<br />Matcha<br />Vege Greens<br />Soy Substitute", "<br />$0.75<br />$0.75<br />$0.75<br />$1.25<br />$1.25<br />$0.75"
	);
	
var blended = new Array(
	"Blended Beverages",
	"",
	"Coffee & Tea Frappes","","",
	"Latte", "sml<br />lrg", "$3.75<br />$5.75",
	"Mocha", "sml<br />lrg", "$4.25<br />$6.50",
	"Caramel Machiato", "sml<br />lrg", "$4.25<br />$6.50",
	"Chai Tea", "sml<br />lrg", "$4.25<br />$6.50",
	"Matcha Green Tea", "sml<br />lrg", "$4.25<br />$6.50",
	"Whipped Vanilla Lemonade", "sml<br />lrg", "$3.75<br />$5.75"
	);
	
/*
 "Smoothies", "Strawberries or Blueberries with banana, milk, honey, and a choice of creamy or frozen yogurt.", "$4.25",
 "Fruit Shakes", "Soy, strawberries, and blueberries.<br />Orange juice, pineapple, and banana.<br />Orange juice, banana, and strawberries.", "$4.25"	
 */
	
// Add function calls after this comment //
addMenuItem(sandwichBar);
addMenuItem(preMade);
addMenuItem(salad);
addMenuItem(entrees);
addMenuItem(sides);
addMenuItem(dessert);
addMenuItem(hotBeverage);
document.write('<tr><td class="menuItemComment" colspan="2" style="text-align:center;">~ Ask about our weekly & seasonal specials ~</td></tr>');
addMenuItem(coldBeverage);
addMenuItem(smoothies);
addMenuItem(blended);

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