<!-- Hide script
// Going on Events

var bd_BaseDate = new Date();

var month = bd_BaseDate.getMonth();
var day   = bd_BaseDate.getDate();
var year  = bd_BaseDate.getFullYear();
if (year < 1900) {year+=1900;} // Fix for Opera version 7.11 and earlier, (years are 103 for 2003, etc.)
var MonthName = new Array('January','February.','March','April','May','June','July','August','September','October','November','December');
var month2='00';

var plural = false;
var hr = false;
var sep = true;
var tableNeeded = false;

var ucInhouseShown = false;
var ucNearbyShown = false;
var ucNearbyTableStarted = false;
var ucInhouseTableStarted = false;


var eMonth;

if (month < 9)
   month2='0'+(month+1);
else
   month2=(month+1);

function closeInhouseTable()
   {
   if (ucInhouseTableStarted && ucInhouseShown)
      {
      document.write('Closing Inhouse Table 1<br />');
      document.write('</td></tr></table>');
      ucInhouseTableStarted = false;
      ucInhouseShown = false; // resets goingonShown
      }
   }
function closeNearbyTable()
   {
   if (ucNearbyTableStarted && ucNearbyShown)
      {
      document.write('Closing Nearby Table 1<br />');
      document.write('</td></tr></table>');
      ucNearbyTableStarted = false;
      ucNearbyShown = false;
      }
   }
function show_NearbyUpcoming(ucTag)
   {
   closeInhouseTable();
      // First ucTag text gets printed at top; after that, no more
   if (!ucNearbyTableStarted)
      {
      if (hr)
         document.write('<br /><hr width="80%" align="center" /><br />');
      if (sep)
         document.write('<br />');
      if (tableNeeded && !ucNearbyTableStarted)
         {
         document.write('<table border="1" cellpadding="2" bordercolor="red" width="180" align="center"><tr><td align="center" class="s">');
         ucNearbyTableStarted=true;
         } 
      document.write('<span class="announcement">');
      document.write('<strong>Upcoming '+ucTag+' Pacos:</strong><br />');
      //document.write(MonthName[month]+' '+day+', '+year+'<br />');
      document.write('</span><br />');
      ucNearbyTableStarted = true;
      ucNearbyShown = true;
      }
   }

function show_NearbyUpcomingX(ucTag)
   {
   closeInhouseTable();
      // First ucTag text gets printed at top; after that, no more
   if (!ucNearbyShown)
      {
      if (hr)
         document.write('<br /><hr width="80%" align="center" /><br />');
      if (sep)
         document.write('<br />');
      if (tableNeeded && !ucNearbyTableStarted)
         {
         document.write('<table border="1" cellpadding="2" bordercolor="red" width="180" align="center"><tr><td align="center" class="s announcementBorder">');
         ucNearbyTableStarted=true;
         }
      document.write('<span class="announcement">');
      document.write('<strong>Upcoming '+ucTag+' Pacos:</strong><br />');
      //document.write(MonthName[month]+' '+day+', '+year+'<br />');
      document.write('</span>');
      ucNearbyShown = true;
      }
   }

function show_GoingOnInhouse()
   {
   closeNearbyTable();
   if (!ucInhouseShown)
      {
      if (hr)
         document.write('<br /><hr width="80%" align="center" /><br />');
      if (sep)
         document.write('<br />');
      if (tableNeeded && !ucInhouseTableStarted)
         {
         document.write('<table border="1" cellpadding="2" bordercolor="red" width="180" align="center"><tr><td align="center" class="s announcementBorder">');
         ucInhouseTableStarted=true;
         }
      document.write('&bull;<br />');
      document.write('<span class="announcement">');
      if (plural)
         document.write('<strong>Going on events at Pacos:<br /></strong>');
      else
         document.write('<strong>Going on today at Pacos:<br /></strong>');
      //document.write(MonthName[month]+' '+day+', '+year+'<br />');
      document.write('</span>');
      ucInhouseShown = true;
      }
   }
function show_NotReady()
   {
   //show_GoingOnInhouse();
   //document.write('We do not have the information programmed for this year yet!<br />');   
   //document.write('<br />');
   }



function show_A_Halloween()
   {
   show_GoingOnInhouse();
   document.write('<a href="calendarG.php">');
   document.write('Halloween Party Oct 31  Lions of Jah 10&nbsp;<small>P.M.</small><br />$50 best costume.<br />');
   document.write('</a><br />');
   }

function show_U_LunchSpecial()
   {
   show_GoingOnInhouse();
   document.write('<a href="menu-lunch-dinner.php">');
   document.write('Daily Lunch Special M-F, 11-3, $6.<br />');
   document.write('</a><br />');
   }
function show_U_KidsKaraoke()
   {
   show_GoingOnInhouse();
   document.write('<a href="calendarG.php">');
   document.write('Kids Karaoke going on today 5-7&nbsp;&lt;small&gt;P.M.&lt;/small&gt;.&gt;br /&gt;');
   document.write('</a><br />');
   }

function show_GoingOn_2009()
   {
   switch (month)
      {
      case 0: // Jan 2009
         {
         }
      break;
      case 1: // Feb 2009
         {
         }
      break;
      case 2: // Mar 2009
         {
         }
      break;
      case 3: // Apr 2009
         {
         if ((day >= 1) && (day <= 30))
            {
            show_U_KidsKaraoke();
            }
         }
      break;
      case 4: // May 2009
         {
         }
      break;
      case 5: // June 2009
         {
         }
      break;
      case 6: // July 2009
         {
         if ((day >= 1) && (day <= 31))
            {
            show_U_LunchSpecial();
            }
         if ((day == 9) || (day == 16) || (day == 23))
            {
            show_U_KidsKaraoke();
            }
         }
      break;
      case 9: // October 2009
         {
         if (day == 31)
            {
            show_A_Halloween();
            }
         }
      break;
      case 11: // Dec 2009
         {

         }
      break;
      } // end of switch
   } // end show_GoingOn_2009



if (year==2009)
   {
   show_GoingOn_2009();
   }
else
   {
   show_NotReady();
   }


if (ucNearbyTableStarted && ucNearbyShown)
   {
   document.write('Closing Nearby Table 2<br />');
   document.write('</td></tr></table>');
   }
if (ucInhouseTableStarted && ucInhouseShown)
   {
   document.write('Closing Inhouse Table 2<br />');
   document.write('</td></tr></table>');
   }

//document.write(', '+year););
//alert("Month is "+month+" and day is "+day);
// Stop hiding -->