	var hintOn = false;
	var itemList= document.getElementById('itemList');
	//var newItem = document.createElement("LI");
	var choices=new Array()
	choices[0]=""
	choices[1]=["1100", "1300", "1500", "1800", "2100", "2300", "2500", "2800","3000", "3500", "4000"]
	choices[2]=["1000", "1200", "1400", "1600", "1800", "2000", "2200", "2400","3000", "3500", "4000"]
	choices[3]=["1000", "1200", "1400", "1600", "1800", "2000", "2400", "2800", "3000", "3500", "4000"]
	choices[4]=["1000", "1200", "1400", "1600", "1800", "2000", "2400", "2800", "3000", "3500", "4000"]

	function updatePanel(inValue){

		selectedPlan = inValue.split('|')[0]

		// Remove all items from the list.. 
		while(itemList.hasChildNodes())
			itemList.removeChild(itemList.childNodes[0])
		
		// Setup and draw items
		if (selectedPlan>0){
			for (i=0; i<choices[selectedPlan].length; i++) {
				var newItem = document.createElement("LI");
				newItem.innerHTML = "<a class=\"bumpbox\" href=\"pdf/" + inValue.split('|')[1] + "%20-%20" + choices[selectedPlan][i] + "%20kcal.pdf#navpanes=0&statusbar=0&toolbar=1&view=FitH&page=1\">" + choices[selectedPlan][i] + " kCal</a>";
				//newItem.innerHTML = "<a href=\"#\">" + choices[selectedPlan][i] + "</a>";
				newItem.style.visibility ="hidden";
				newItem.style.fontWeight = "bold";
				newItem.style.color= "#339933";
				//strClick = "window.open('pdf/" + inValue.split('|')[1] + "%20-%20" + choices[selectedPlan][i] + "%20kcal.pdf#zoom=80')"
				//newItem.setAttribute("onclick", strClick );
				newItem.setAttribute("onclick", "return false"); // cancel potential clicks while being drawn before bumpbox is added..
				itemList.appendChild(newItem);	
			}
			setTimeout("showItems(0)",200);
		}
	}

	function showItems(index){
		if (index < itemList.childNodes.length)
		{
			itemList.childNodes[index].style.visibility = "visible";

		    setTimeout("itemList.childNodes["+index+"].style.fontWeight =\"normal\"",95);
			setTimeout("showItems(" + ++index +")",85);
		}
		else 
			processLinks();

	}

	// First run show first meals plan items..
	setTimeout("document.getElementById('rdo1').click()",200);

