// JavaScript Document

//function widther() {
    //var screenW = screen.width;
	//document.getElementById('foot').style.width = screenW + "px"; 
	//document.getElementById('foot').style.marginLeft = -(screenW/2) + "px";
    //document.write("<br />");

    //document.write(window.screen.width);
//}

// JavaScript Document

var i;

function switchMenus(theid){ 

var menuItems = new Array("appetizers","vegetarian","seafood","beef","chicken","combos","drinksDesserts");


for(i=0; i<menuItems.length; i++){ 
      if(menuItems[i] == theid){ 
            document.getElementById(theid).style.display="block";
			if (theid == 'combos') {
				document.getElementById('main').style.height = "1180px";
			}
			else if (theid == 'vegetarian') {
				document.getElementById('main').style.height = "720px";
			}
			else if (theid == 'drinksDesserts') {
				document.getElementById('main').style.height = "1420px";
			}
			else {
				document.getElementById('main').style.height = "auto";
			}
			
      }else{ 
            document.getElementById(menuItems[i]).style.display="none"; 
      } 
   }
}

function switchCurrent(listid) {
	
	var menuList = new Array("ddCurrent","combosCurrent","chickenCurrent","beefCurrent","seafoodCurrent","vegetarianCurrent","appetizersCurrent");
	
	for(i=0; i<menuList.length; i++){ 
      if(menuList[i] == listid){ 
            document.getElementById(listid).setAttribute("class", "current");
      }else{ 
            document.getElementById(menuList[i]).setAttribute("class", "notcurrent");
      } 
   }
   
   
}

//function showMenu() {
//	document.getElementById(menuItems).style.visibility="hidden";
//}
//function hideMenu() {
//document.getElementById(menuItems).style.visibility="visible";
//}


