function flashDisplay(elemid, width, height, wmode) {
  document.write('<object\n');
  document.write('type="application/x-shockwave-flash"');
  document.write('data="flash/' + elemid + '.swf"');
  document.write('width="' + width + '" height="' + height + '">\n');
  document.write('<param name="loop" value="true" />\n');
  document.write('<param name="wmode" value="' + wmode + '" />\n');
  document.write('<param name="movie" value="flash/' + elemid + '.swf" />\n');
  document.write('</object>\n');
}

function $(elementID) {
  return document.getElementById(elementID);
}

function toggleBoxMain(elemOpen) {
  var box_open = $(elemOpen);
  if (box_open.className == "box_hidden") {
    box_open.className = "sub_cat1";
  } else {
    box_open.className = "box_hidden";
  }
}

function highlightListItem(liID) {
  $(liID).style.backgroundColor = '#900';
  return;
}