main = new Array(
new Array(
new Array("***** CHOOSE 3 ONLY ******"),
new Array("Succulent Roast Beef"),
new Array("Tender Roast Lamb"),
new Array("Roast Pork/Crackling/Apple Sauce"),
new Array("Roast Chicken"),
new Array("Italian Lasagne, Beef or Vegetarian "),
new Array("Creamy Bacon & Sundried Tomato With Tortolleni "),
new Array("***** PLEASE SELECT DESERTS BLEOW *****")
),
new Array(
new Array("***** CHOOSE 3 ONLY ******"),
new Array("Succulent Roast Beef"),
new Array("Tender Roast Lamb/Mint Sauce"),
new Array("Roast Pork/Crackling/Apple Sauce"),
new Array("Roast Chicken"),
new Array("Hot Baked Ham "),
new Array(" "),
new Array("***** PLEASE SELECT DESERTS BLEOW *****")
),
new Array(
new Array("***** CHOOSE 3 ONLY ******"),
new Array("Sizzling BBQ Steak"),
new Array("Chicken Satay Kebabs (1 per person)"),
new Array("Seasoned Beef Sausages"),
new Array("Vegetarian Patties"),
new Array("Gourmet Pork Sausages"),
new Array("Seasoned Rissoles "),
new Array("***** PLEASE SELECT DESERTS BLEOW *****")
),
new Array(
new Array("***** CHOOSE 3 ONLY ******"),
new Array("Baby Baguettes $70"),
new Array("Finger Sandwiches $90"),
new Array("Nibbles Platter $70"),
new Array("Fruit Platter $75"),
new Array("Asian Hot Nibbles $85"),
new Array("Quiche & Tartlets (Mini) $85"),
new Array("Aussie Party $75"),
new Array("Speciality Party Pies $75"),
new Array("Off The Grill Platter $80"),
new Array("Cookie Platters $75")
),
new Array(
new Array("***** NO VARIATION ON THIS SELECTION ******")
),
new Array(
new Array("***** NO VARIATION ON THIS SELECTION ******")
),
new Array(
new Array("***** THIS IS NOT A MENU CHOICE ******")
),
new Array(
new Array("***** PLEASE CHOOSE ONE ******"),
new Array("Normal Breakfast Menu"),
new Array("Upgrade to SUPER Breakfast Menu")
),
new Array(
new Array("***** CHOOSE 2 ONLY  ******"),
new Array("Succulent Roast Beef"),
new Array("Tender Roast Lamb"),
new Array("Roast Pork/Crackling/Apple Sauce"),
new Array("Roast Chicken"),
new Array(" "),
new Array(" "),
new Array("***** PLEASE SELECT DESERTS BLEOW *****")
),
new Array(
new Array("***** CHOOSE 3 ONLY ******"),
new Array("Beef bourguignon"),
new Array("Chicken Bacon & Avocado Parcels"),
new Array("Baby Beef Burgers"),
new Array("Crumbed Reef Fish"),
new Array("Hot Roasted Beef with Gravy"),
new Array("Cold Ham & Chicken Platters"),
new Array("Savoury Quiche"),
new Array("Bolognaise with Spiral Pasta"),
new Array("Thai Chicken Curry"),
new Array("Lamb Navarin"),
new Array("Italian Lasagne Beef or Vegetarian"),
new Array("Tortolleni 'w' Bacon & Sundried Tomato in Creamy Sauce"),
new Array("Ravioli Rich Beef with Tomato Sauce"),
new Array("***** PLEASE SELECT DESERTS BLEOW *****")
),
new Array(
new Array("***** NO VARIATION ON THIS SELECTION ******")
),
new Array(
new Array("***** CHOOSE 2 ONLY  ******"),
new Array("Succulent Roast Beef"),
new Array("Roast Pork"),
new Array("Hot Diced Chicken")
),
new Array(
new Array("***** CHOOSE 3 ONLY ******"),
new Array("Tender Roast Lamb with Garlic & Rosemary"),
new Array("Juicy Hot Roasted Chicken"),
new Array("Succulent Roast Beef"),
new Array("Lasagne (beef or Vegetarian)"),
new Array("Sundried Tomato & Bacon Tortelleni In a Creamy Sauce"),
new Array("Fettucine Napoli (vegetarian)"),
new Array("Bolognaise with Spiral Pasta"),
new Array("Fettucine 'w' Tomato & Basil topped 'w' Mozzarella cheese (vegetarian)"),
new Array("Tortolleni with Parsley Butter"),
new Array("Chicken and Cheese Pasta Bake"),
new Array("Tuna Mornay"),
new Array("***** PLEASE SELECT DESERTS BLEOW *****")
),
new Array(
new Array("***** MAINS: CHOOSE 3 ONLY ******"),
new Array("Rib Fillet Steak"),
new Array("Grilled Chicken Breasts"),
new Array("Grilled Fish With Lemon Wedges"),
new Array("Beef Sausages"),
new Array("Tandori Chicken Kebabs"),
new Array("Prawns on Skewers"),
new Array("Gourmet Hamburger Patties"),
new Array(" "),
new Array("***** SALAD: CHOOSE 3 ONLY ******"),
new Array("Seafood Salad"),
new Array("Asian Noodle Salad"),
new Array("Creamy Italian Pasta"),
new Array("Mixed Bean"),
new Array("Vegetable Pasta"),
new Array("Hawiian Rice"),
new Array("Mediterranean Cous Cous"),
new Array("Russian Potato Salad"),
new Array("Savoury Rice Salad"),
new Array("***** PLEASE SELECT DESERTS BLEOW *****")
),
new Array(
new Array("***** CHOOSE 3 ONLY ******"),
new Array("Tender Roast Lamb & Mint Sauce"),
new Array("Roast Pork & Apple Sauce"),
new Array("Roast Turkey"),
new Array("Roast Chicken"),
new Array("Roast Beef"),
new Array("Cold Chicken and Ham Platters"),
new Array("***** PLEASE SELECT DESERTS BLEOW *****")
),
new Array(
new Array("***** CHOOSE 3 ONLY ******"),
new Array("Sizzling Rib Fillet Steak"),
new Array("Seasoned Beef Sausages"),
new Array("Gourmet Pork Sausages"),
new Array("Succulent Chicken Breast or Satay Sticks"),
new Array("Garlic and Herb Rissoles")
),
new Array(
new Array("***** NO VARIATION ON THIS SELECTION ******")
),
new Array(
new Array("***** NO VARIATION ON THIS SELECTION ******")
)
);
function fillSelectFromArray(selectCtrl, itemArray, goodPrompt, badPrompt, defaultItem) {
var i, j;
var prompt;
// empty existing items
for (i = selectCtrl.options.length; i >= 0; i--) {
selectCtrl.options[i] = null;
}
prompt = (itemArray != null) ? goodPrompt : badPrompt;
if (prompt == null) {
j = 0;
}
else {
selectCtrl.options[0] = new Option(prompt);
j = 1;
}
if (itemArray != null) {
// add new items
for (i = 0; i < itemArray.length; i++) {
selectCtrl.options[j] = new Option(itemArray[i][0]);
if (itemArray[i][1] != null) {
selectCtrl.options[j].value = itemArray[i][1];
}
j++;
}
// select first item (prompt) for sub list
selectCtrl.options[0].selected = true;
   }
}

