function DrawFooter() {
    document.write('      <tr><td height="10"></td></tr>');
    document.write('      <tr class="footer1"><td align="center" valign="middle" height="30">100 Campbell Avenue, Unit # 9, Kitchener, ON N2H 4X8 - (519) 576-6168&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://facebook.com/COCCC" title="Join us on Facebook" target="_blank"><img src="images/iconFacebook.png" alt="Join us on Facebook" border="0" width="18" height="18" /></a>&nbsp;<a href="http://twitter.com/COCCC" title="Follow us on Twitter" target="_blank"><img src="images/iconTwitter.png" alt="Follow us on Twitter" border="0" width="18" height="18" /></a>&nbsp;</td></tr><tr class="footer2"><td>Designed by <a href="http://readyconcept.com" target="_blank">ReadyConcept.com</a></td></tr>');
    document.write('      <tr class="footer1"><td height="10"></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="135" height="135" background="images/logo135x135.png"></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('                           </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://facebook.com/COCCC?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(' | ');
    }
}
