//create Navigation Menu Variables

var navName, navURL;

function MenuObj(menuURL,menuName){
    this.navURL = menuURL;
    this.navName = menuName;
}

var navMenuArray = new Array(3);
navMenuArray[0] = new Array(
                    new MenuObj("china.html","China")
					,new MenuObj("thailand.html","Thailand")
					,new MenuObj("vietnam.html","Vietnam")
				   );

navMenuArray[1] = new Array(
							new MenuObj("beans_nuts.html","Beans & Nuts")
							,new MenuObj("cannedfruit.html","Canned Fruit")
							,new MenuObj("condiments.html","Condiments")
							,new MenuObj("dessert.html","Dessert")
							,new MenuObj("fungi.html","Fungi")
							,new MenuObj("milk.html","Milks")
							,new MenuObj("other.html","Other")
							,new MenuObj("restauranttable.html","Restaurant Table")
							,new MenuObj("rice.html","Rice")
							,new MenuObj("ricenoodles.html","Rice Noodles")
							,new MenuObj("sauces.html","Sauces")
							,new MenuObj("spices.html","Spices & Curries")
							,new MenuObj("starch.html","Starches")
							,new MenuObj("teas.html","Teas")
							,new MenuObj("vegetables.html","Vegetables")
							,new MenuObj("vinegar_wine_oil.html","Vinegar, Wine & Oil")
							);

navMenuArray[2] = new Array(
						
						   );

// the number you pass to initLeft doesn't matter since it will get
// changed onactivate
var myMenu1 = new ypSlideOutMenu("menu1", "down",264, 332, 154, (navMenuArray[0].length * 28)+10)
var myMenu2 = new ypSlideOutMenu("menu2", "down",429, 332, 154, (navMenuArray[1].length * 28)+10)
var myMenu3 = new ypSlideOutMenu("menu3", "down",594, 332, 154, (navMenuArray[2].length * 28)+10)
     
ypSlideOutMenu.writeCSS();

