<!--
// Template for web pages -- header and footer.
//

//
// Standard header for all web pages
//
function header() {
  // Remove frames if they exist.
  if (parent.location.href != window.location.href) parent.location.href = window.location.href

  var html = new String('');
 
  html += '<A name=top></A>'
  html += '<TABLE width=100% border=0 cellpadding=0 cellspacing=0>';
  html +=   '<TR><TD height=250 width=5%></TD>';
  html +=       '<TD width=90% align=center v-align=center nowrap>';
  html +=         '<IMG src=images/Montage_Cheer.jpg height=240 border=0 ' +
                       'alt="Competitive and Recreational Cheerleading">' +
                  '<IMG src=images/CalgaryStarsGymLogo.jpg height=219 border=0 ' +
                       'alt="Calgary STARS Gymnastics and Cheerleading Centre">' +
                  '<IMG src=images/Montage_Gym.jpg height=240 border=0 ' +
                       'alt="Competitive and Recreational Gymnastics">' +
                  '</TD>';
  html +=       '<TD width=5%></TD></TR>';
  html +=   '<TR><TD colspan=3 height=3 width=100% bgcolor=#000000></TD></TR>';
  html +=   '<TR><TD colspan=3 height=17 width=100% bgcolor=#BD0000></TD></TR>';
  html +=   '<TR><TD colspan=3 height=3 width=100% bgcolor=#000000></TD></TR>';
  html +=   '</TABLE>';

  document.write(html);
}

//
// Standard footers for all web pages.  Note the special footer for the index.
//
function footer(lastModified) {
  var html = new String('');
 
  html += '<TABLE width=100% border=0 cellpadding=0 cellspacing=10 class=footnote>';
  html +=   '<TR><TD width=30% align=left>';
  html +=         '&copy;2007-2010';
  html +=         '<BR>';
  html +=         'Calgary Stars Gymnastics and Cheerleading Centre';
  html +=         '<BR>';
  html +=         'Last Update: ' + lastModified;
  html +=         '</TD>';
  html +=       '<TD width=10%>';
  html +=        '<A href="http://www.facebook.com/group.php?gid=137282728072" target=blank>';
  html +=         '<P align=left><IMG src=images/fb-icon-blackbkg.gif width=40 height=40 border=0 ALT="Find us on Facebook!">';
  html +=          '</P>';
  html +=         '</A>';
  html +=        '</TD>';
  html +=       '<TD width=5%>&nbsp</TD>';
  html +=       '<TD width=35%>&nbsp</TD>';
  html +=       '<TD width=10%>&nbsp</TD>';
  html +=       '<TD width=10% align=right>';
  html +=          '<A href=#top>';
  html +=            '<IMG border=0 src=images/TopStar.gif height=87 width=105 align=right ALT="Top of Page">'
                      '</A>';
  html +=          '</TD></TR></TABLE>';

  document.write(html);
}

function footerIndex(lastModified) {
  var html = new String('');

  html += '<TABLE width=100% border=0 cellpadding=0 cellspacing=10 class=footnote>';
  html +=  '<TR><TD width=30% align=left>';
  html +=         '&copy;2007-2010';
  html +=         '<BR>';
  html +=         'Calgary Stars Gymnastics and Cheerleading Centre';
  html +=         '<BR>';
  html +=         'Last Update: ' + lastModified;
  html +=         '</TD>';
  html +=      '<TD width=50% align=center>';
  html +=       '&nbsp;</TD> ';
  html +=      '<TD width=10% align=right>';
  html +=       '<A href=http://www.albertacheerleading.ca target=_blank>';
  html +=         '<IMG src=images/ACALogo.jpg align=middle border=0 width=88 height=160 ALT="Alberta Cheerleading Association Website">' 
                   '</A>';
  html +=        '</TD>';
  html +=      '<TD width=10% align=right>';
  html +=       '<A href=#top>';
  html +=        '<IMG border=0 src=images/TopStar.gif height=87 width=105 align=right ALT="Top of Page">'
                  '</A>';
  html +=       '</TD></TR></TABLE>';


  document.write(html);
}
-->