//Javascript functions for Taj Mahal of Boise Web pages.
function buildMenu (menuItem)
  {
    var X = new Array('','','','','','','','');
    X[menuItem] = "X";
    var strData = "";
    strData += '';
    strData += '<TD width=14% nowrap class=navBar> <'+ X[0] +'a href="index.html">Home</a> </TD>';
    strData += '<TD width=14% nowrap class=navBar> <'+ X[1] +'a href="location.html">Location</a></TD>';
    strData += '<TD width=14% nowrap class=navBar> <'+ X[2] +'a href="indianMenu.html">Indian menu</a></TD>';
    //strData += '<TD width=14% nowrap class=navBar> <'+ X[3] +'a href="greekMenu.html">Greek menu</a></TD>';
    strData += '<TD width=14% nowrap class=navBar> <'+ X[4] +'a href="beerWine.html">Beer menu</a></TD>';
    strData += '<TD width=14% nowrap class=navBar> <'+ X[5] +'a href="catering.html">Catering</a></TD>';
    strData += '<TD width=14% nowrap class=navBar> <'+ X[6] +'a href="lovestory.html">Love Story</a></TD>';
    //strData += '<TD width=13% nowrap class=navBar> <'+ X[7] +'a href="about.html">About us</a></TD>';
    document.write(strData);
  }

function buildFooter (includeMapHeader)
  {
    includeMapHeader = typeof(includeMapHeader) != 'undefined' ? includeMapHeader : true;
    var strData = "";
    strData += '<hr><TABLE width=100% class=footerTable><TR><TD>';
    strData += '<img src="images/photos/Taj-Mahal-BuildingVinette.gif" alt="Taj Mahal Restaurant" height=100 border=0>';
    strData += '</TD><TD nowrap>';
    strData += '<b><font color=green>Taj Mahal Restaurant</font></b><BR>';
    strData += '150 North 8th St., Suite No. 222, Boise, Id  83702<BR>';
    strData += 'Phone: (208) 473-7200 &#160; -  E-mail: <a href="mailto:info@tajmahalofboise.com">info@tajmahalofboise.com</a><BR>';
    strData += 'New hours: <b>Open Monday through Saturday, Closed SUNDAY</b><BR>';
    strData += 'Lunch Buffet Daily: <b>11:00 am to 2:00 pm</b><BR>';
    strData += 'Dinner (Mon thru Th): <b>5:00 pm to 10:00 pm</b><BR>';
    strData += 'Dinner (Fri & Sat): <b>5:00 pm to 11:00 pm</b><BR>';
    strData += '</TD>';
    if (includeMapHeader)
      {
        strData += '<TD align=left>';
        strData += '[<a href="/location.html"> Map and directions </a>]';
        strData += '</TD>';
      }
    strData += '</TR></TABLE>';

    document.write(strData);
  }

// Google Analytics code
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27905334-1']);
_gaq.push(['_trackPageview']);

(function() 
   {
     var ga = document.createElement('script'); 
	 ga.type = 'text/javascript'; 
	 ga.async = true;
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
	 s.parentNode.insertBefore(ga, s);
   })();

