var loaded = new Array();
var Mformname;

function getcontorl(formName)
{
	MformName = formName;

}
function F_loadRollover(image,imageName) {	
   if (image && image.src &&
    (null == image.out || typeof(image.out) == typeof(void(0)))) {
      s = image.src;
      image.out = new Image();
      image.out.src = s;
      image.over = new Image();
      if (imageName.lastIndexOf('/') >= 0 || imageName.lastIndexOf('\\') >=0) {
         s = imageName;
      } else {
         i = s.lastIndexOf('/');
         if (i<0) i = s.lastIndexOf('\\');
         if (i<0) { s = imageName; }
         else     { s = s.substring(0,i+1) + imageName; }
      }
      image.over.src = s;
      loaded[image.name] = image;
   }
}
function F_roll(imageName,over) {
   if (document.images) {
      if (over) { imageObject = "over"; }
      else      { imageObject = "out"; }
   image = loaded[imageName];
   if (image) {
       ref = eval("image."+imageObject);
       if (ref) image.src = eval("image."+imageObject+".src");
   }
   if (window.event)
      window.event.cancelBubble = true;
   }
}
function newWindow(linkname,name_title,winwidth,winheight)
{
   var newwin = window.open(linkname,'name_title','toolbar=no,location=no,status=no,menubar=no,resizeable=no,scrollbars=no,width=winwidth,height=winheight');
   newwin.focus();
}
function OnClickFunctiondinner(formName)
{
	if(formName.name=="bSalads") location.href='#Salads';
	else if(formName.name=="bSoup") location.href='#Soup';
	else if(formName.name=="bBar-B-Q") location.href='#Bar-B-Q';
	else if(formName.name=="bHouses Favorite") location.href='#Houses Favorite';
	else if(formName.name=="bThai Curries") location.href='#Thai Curries';
	else if(formName.name=="bSaute") location.href='#Saute';
	else if(formName.name=="bSeafood") location.href='#Seafood';
	else if(formName.name=="bFried Rice & Noodles") location.href='#Fried Rice & Noodles';
	else if(formName.name=="bDesserts") location.href='#Desserts';

}
function OnClickFunctionVeg(formName)
{
	if(formName.name=="bsoup")
		location.href='#SoupV';
	else if(formName.name=="bEntrees")
		location.href='#EntreesV';
	else if(formName.name=="bFried Rice & Noodles")
		location.href='#Fried Rice & Noodles V';
}

function OnClickFunctionMap(formName)
{
	if(formName.name=="b1") MformName.src='images/m1.gif';
	else if(formName.name=="b2") MformName.src='images/m2.gif';
	else if(formName.name=="b3") MformName.src='images/m3.gif';
	else if(formName.name=="b4") MformName.src='images/m4.gif';
	else if(formName.name=="b5") MformName.src='images/m5.gif';
}