  function showFlash(fileName)
{
  document.write('<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" '+
    'codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" '+
    ' width=\"340\" height=\"380\">');
  document.write('  <param name=\"allowScriptAccess\" value=\"sameDomain\" /> ');
  document.write('  <param name=\"movie\" value=\"/tgc-new/flash/'+fileName+'\">');
  document.write('  <param name=\"quality\" value=\"high\">');
  document.write('  <param name=\"wmode\"   value=\"transparent\">');
  document.write('  <param name=\"bgcolor\" value=\"#666666\" /> ');
  document.write('  <embed  src=\"/tgc-new/flash/'+fileName+'\" quality=\"high\" '+
     'wmode=\"transparent\" bgcolor=\"#666666\" ' +
     'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" '+
     'type=\"application/x-shockwave-flash\"   width=\"340\" height=\"380\"></embed>');
  document.write('</object>');
}

  var varLength = 23;
  entryContent = Array(varLength);
  entryContent[0]='research.swf';  
  entryContent[1]='quotes_education.swf';
  entryContent[2]='world.swf';
  entryContent[3]='blue clouds.swf';
  entryContent[4]='choices.swf';
  entryContent[5]='confusion.swf';  
  entryContent[6]='evening.swf';
  entryContent[7]='history_wilkinson.swf';  
  entryContent[8]='history_mascot.swf';
  entryContent[9]='history_founded.swf';
  entryContent[10]='history_goff.swf';
  entryContent[11]='history_champions.swf';
  entryContent[12]='history_boyd.swf';
  entryContent[13]='confusion.swf';
  entryContent[14]='holmes.swf';
  entryContent[15]='boxes.swf';
  entryContent[16]='colors.swf';
  entryContent[17]='degrees.swf';
  entryContent[18]='flip cards 2.swf';
  entryContent[19]='hats.swf';
  entryContent[20]='matrixAS.swf';
  entryContent[21]='picture goes here.swf';
  entryContent[22]='rain.swf';
  entryContent[23]='rainbows.swf';
  entryContent[24]='shoes.swf';

  randomNumber = (varLength-.55)*Math.random();
  randomNumber = randomNumber.toFixed(0);
  //alert(entryContent[randomNumber]);
  selectedContent = entryContent[randomNumber];
  showFlash(selectedContent);
  