function DrawFooter()
{
   document.write('      <tr><td height="10"></td></tr>');
   document.write('      <tr class="footer1"><td align="center" valign="middle" height="30">2922 King Street East, Unit 1 & 2 (2nd floor) - Kitchener, Ontario - N2A 1A7 - (519) 576-6168</td></tr>');
}

function DrawMenu( lngHighlightedItem )
{
   document.write('      <tr><td width="760" height="10" background="images/background.gif"><img src="images/round.gif"></td></tr>');
   document.write('      <tr>');
   document.write('         <td>');
   document.write('            <table cellpadding="0" cellspacing="0" width="760" height="100">');
   document.write('               <tr>');
   document.write('                  <td align="left" width="145" height="135" background="images/coccc145x135.gif"></td>');
   document.write('                  <td width="20"></td>');
   document.write('                  <td align="left" valign="top">');
   document.write('                     <table height="100%">');
   document.write('                        <tr valign="top">');
   document.write('                           <td align="center">');
   document.write('                              <img src="images/cocccHead.jpg" border="0">');
//   document.write('                              <div class="header1" align="center">Central Ontario Chinese Cultural Centre</div>');
//   document.write('                              <div class="address" align="center">2922 King Street East, Unit 1 & 2 (2nd floor) - Kitchener, Ontario - N2A 1A7 - Phone/Fax (519) 576-6168</div>');
   document.write('                           </td>');
   document.write('                        </tr>');
   document.write('                        <tr valign="bottom" class="menu" align="center">');
   document.write('                           <td>');
   ShowRedBottom( 'Home', 'index.asp', (lngHighlightedItem == 1), true );
   ShowRedBottom( 'Services', 'services.html', (lngHighlightedItem == 2), true );
   ShowRedBottom( 'Groups', 'groups.html', (lngHighlightedItem == 3), true );
   ShowRedBottom( 'Events', 'events.asp?mode=1', (lngHighlightedItem == 4), true );
   ShowRedBottom( 'Newsletters', 'newsletter.html', (lngHighlightedItem == 5), true );
//   ShowRedBottomFullScreen( 'Photos', 'http://photos.coccc.net', (lngHighlightedItem == 6), true );
//   ShowRedBottom( 'Photos', 'http://photos.coccc.net', (lngHighlightedItem == 6), true );
   ShowRedBottom( 'Photos', 'http://www.facebook.com/pages/COCCC/236922522810?v=photos', (lngHighlightedItem == 6), true, true );
   ShowRedBottom( 'Membership', 'membership.html', (lngHighlightedItem == 7), true );
   ShowRedBottom( 'Contact Us', 'contact.html', (lngHighlightedItem == 8), false );
   document.write('                           </td>');
   document.write('                        </tr>');
   document.write('                     </table>');
   document.write('                  </td>');
   document.write('               </tr>');
   document.write('            </table>');
   document.write('         </td>');
   document.write('      </tr>');
   document.write('      <tr>');
   document.write('         <td><HR size="1" color="silver"></td>');
   document.write('      </tr>');
}

function ShowRedBottom( strLinkLabel, strLink, blnRedHighlight, blnAppendSeparator, blnBlankTarget )
{
   var strBlankTarget;
   
   if( blnBlankTarget == true )
   {
      strBlankTarget = ' target="_blank"'
   }

   if( blnRedHighlight == true )
   {
      document.write( '<a href="' + strLink + '"' + strBlankTarget + '><font class="redbottom">' + strLinkLabel + '</font></a>' );
   }
   else
   {
      document.write( '<a href="' + strLink + '"' + strBlankTarget + '>' + strLinkLabel + '</a>' );
   }
   
   if( blnAppendSeparator == true )
   {
      document.write(' | ');
   }
}

function ShowRedBottomFullScreen( strLinkLabel, strLink, blnRedHighlight, blnAppendSeparator )
{
   if( blnRedHighlight == true )
   {
      document.write( "<a href=\"javascript:void(0);\" onclick=\"javascript:openfullscreen('" + strLink + "/');\"><font class=\"redbottom\">" + strLinkLabel + "</font></a>" );
   }
   else
   {
      document.write( "<a href=\"javascript:void(0);\" onclick=\"javascript:openfullscreen('" + strLink + "/');\">" + strLinkLabel + "</a>" );
   }

   if( blnAppendSeparator == true )
   {
      document.write(' | ');
   }
}