/* 
 * 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 breakfast = new Array(
	"Morning Startups",
	"",
	"Breakfast Pastries", "Choose from a selection of our freshly baked muffins, loaves, and scones.<br />12\" platter(10-15 people)<br />16\" platter(15-25 people)", "<br /><br />$30.00<br />$50.00",
	"Breakfast Parfaits", "Our own individual parfaits layered with yogurt, fresh fruit, and granola.", "$3.00/per person",
	"Fresh Seasonal Fruit Platter", "A colourful selection of fresh sliced seasonal fruit.<br />12\" platter(10-15 people)<br />16\" platter(15-25 people)", "<br /><br />$30.00<br />$45.00"
	);
	
var sandwich = new Array(
	"Specialty Sandwich Platters",
	"",
	"Classic Sandwich", "A selection of sandwiches made with white, whole wheat, and multigrain bread with a variety of meat, tuna, cheese, and vegetarian fillings.", "$6.25/per person",
	"Deluxe Sandwich & Wrap", "Your classic fillings presented on an assortment of gourmet breads and whole wheat wraps.", "$6.75/per person",
	"Wrap Platter", "As assortment of meat and vegetarian fillings wrapped in whole wheat and flavoured tortillas.", "$6.95/per person",
	"Chef's Lunch Special", "Chef's selection of deluxe sandwiches and wraps served with a choice of individual deli salads, an assortment of desserts and a selection of pop, juice, and bottled water.", "$12.50/per person"
	);
	
var deli = new Array(
	"Deli Platters", 
	"",
	"Deli Meat", "A variety of cold cuts including ham, salami, summer sausage, and pepperoni.<br />12\" platter(10-15 people)<br />16\" platter(15-25 people)", "<br /><br />$30.00<br />$50.00",
	"Deluxe Meat", "Our finest selection of house roasted meats, corned beef, and Italian hams.<br />12\" platter(10-15 people)<br />16\" platter(15-25 people)", "<br /><br />$35.00<br />$60.00",
	"Meat & Cheese Combo", "A combination of classic cheeses, selected house roasted meats, and cold cuts.<br />12\" platter(10-15 people)<br />16\" platter(15-25 people)", "<br /><br />$40.00<br />$65.00",
	"Classic Cheese", "A colourful platter of sliced or cubed cheese including cheddar, havarti, provolone, and swiss.<br />12\" platter(10-15 people)<br />16\" platter(15-25 people)<br />Crackers may be purchased at an additional charge.", "<br /><br />$40.00<br />$65.00",
	"Snack Platter", "A fine selection of bite-size tidbits of assorted cheeses, smoked sausages, pickles, and olives.<br />12\" platter(10-15 people)<br />16\" platter(15-25 people)", "<br /><br />$40.00<br />$70.00",
	"Fresh Garden Medley", "Seasonal fresh vegetables served with our own zesty ranch dip. Other dips may be available upon request.<br />12\" platter(10-15 people)<br />16\" platter(15-25 people)", "<br /><br />$30.00<br />$45.00",
	"Fresh Seasonal Fruit", "A colourful selection of fresh sliced seasonal fruit.<br />12\" platter(10-15 people)<br />16\" platter(15-25 people)", "<br /><br />$30.00<br />$45.00"
	);
	
var desserts = new Array(
	"Desserts",
	"",
	"Classic Dessert Squares", "A sweet selection of your favourite classic delights.<br />12\" platter(10-15 people)<br />16\" platter(15-25 people)", "<br /><br />$30.00<br />$50.00",
	"Coffee Break Cookies & Loaves", "A selection of freshly baked cookies and/or our own fresh baked loaves.<br />12\"<br />16\"", "<br /><br />$30.00<br />$50.00"
	);
		
var beverages = new Array(
	"Beverages",
	"",
	"Coffee Carafe", "Regular/Decaf.", "$15.00",
	"Assorted Tea", "", "$1.75/per person",
	"Assorted Bottled Pop", "", "$2.00 each",
	"Assorted Bottled Fruit Juice", "", "$2.35 each",
	"Bottled Water", "", "$2.00 each"
	);
	
var policy = new Array(
	"Please Note",
	"Cutlery, plates, cups, and napkins are included.<br />Some menu items may require 48hrs advance notice.<br />Payment Policy: Mollys is pleased to accept Visa, Mastercard, Cash, Cheque or Debit (on pickup orders)."
	);
		
// Add function calls after this comment //
addMenuItem(breakfast);
addMenuItem(sandwich);
addMenuItem(deli);
addMenuItem(desserts);
addMenuItem(beverages);
printPolicy(policy);

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