// JavaScript Document
var thetext1=new Array()
thetext1[0]="Please Choose 5 Entrees and 5 Side Orders"
thetext1[1]="Please Choose 5 Entrees and 5 Side Orders"
thetext1[2]="Please Make a Selection"
thetext1[3]="Please Choose 1 Entree"
thetext1[4]="Please Choose 1 Entree"
thetext1[5]="Please Choose 1 Entree"
thetext1[6]="Please Choose 1 Entree"
thetext1[7]="Please Make a Selection"
thetext1[8]="Please Choose 1 Side Order"
thetext1[9]="Please Choose 1 Side Order"
thetext1[10]="Please Choose 1 Side Order"
thetext1[11]="Please Choose 1 Side Order"


// Now, see 2) below for final customization step

function displaydesc(which, descriptionarray, container){
if (document.getElementById)
document.getElementById(container).innerHTML=descriptionarray[which.selectedIndex]
}

function jumptolink(what){
var selectedopt=what.options[what.selectedIndex]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value)
else
window.location=selectedopt.value
}

//2) Call function displaydesc() for each drop down menu you have on the page
//   This function displays the initial description for the selected menu item
//   displaydesc(name of select menu, name of corresponding text array, ID of SPAN container tag):
//   Important: Remove the calls not in use (ie: 2nd line below if there's only 1 menu on your page)

displaydesc(document.theForm.MealPackage, thetext1, 'textcontainer1')
