if ( pagename!="gallery") {
  document.write('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
  for ( i in amenus ) {
    if ( pagefile!=amenus[i][1] ) { document.write('<input id="amenus' + i + '" type="button" value="' + amenus[i][0] + '" onclick="changeActivity(' + i + ')" />'); }
    else {
      document.write('<input id="amenu' + i + '" type="button" value="' + amenus[i][0] + '" disabled="disabled" />');
      createCookie("ActivityNumber",i); } }
  disableButton("menus3"); }
document.write('<hr>');
document.write(activityheaderText[0]);
document.write(activityheaderText[1]);
document.write(activityheaderText[2]);
function displayActivity ( name,href,title,text,language,copyright ) {
  width=document.body.clientWidth;
  if ( name=="start" ) {
    columns=Math.round((width)/160)-1;
    columnwidth=Math.round(width/columns);
    document.write('<table border="0" cellpadding="10"><tr>');
    document.write('</tr><tr>');
    used=0;
    return; }
  if ( name=="end" ) {
    for ( var i=used;i<columns;i++ ) document.write('<td width="'+columnwidth+'">&nbsp;</td>');
    document.write('</tr></table>');
    used=0;
    return; }
  used=used+1;
  if ( used>columns ) {
    document.write('</tr><tr>');
    used=1; }
  document.write('<td align="center" valign="top" width="'+columnwidth+'"><a name="'+name+'"');
  if ( href!="" ) document.write('href="'+href+'" target="_blank"');
  body='<p><strong>'+title+'</strong><hr>'+text;
  if ( href!="" ) {
    body=body+'<hr><p><em>'+clickformoreinformationText;
    if ( language!="" ) body=body+' <strong>'+language+'</strong>';
    body=body+opensinanewwindowText+'</em></p>'; }
  offsetx=(used-1>columns/2)?offsetx=-(width*0.33)-50:offsetx=30;
  offsety=-200;
  document.write('><img src="../images/'+name+'.jpg" alt="" width="135" height="100" border="1" title="header=[] body=['+body+'] offsetx=['+offsetx+']" /></a>');
  if ( copyright ) document.write('<br /><small>'+copyright);
  document.write('<br /><p style="text-align:center" width="100"><strong>'+ title+'.</strong></p></td>');
  return; }