﻿var ie=document.all;
var vPlayTrans=true;
function showMenu(obj)
{
  if (typeof hidetimer != 'undefined' && lasttimer == obj)
    clearTimeout(hidetimer);
  if (ie && vPlayTrans)
  {
    document.getElementById(obj).filters(0).apply();
    document.getElementById(obj).style.visibility='visible';
    document.getElementById(obj).filters(0).play();
  }
  else
    document.getElementById(obj).style.visibility='visible';
}
function hideMenu(obj)
{
  if (ie)
  {
    hidetimer=setTimeout("document.getElementById('" + obj + "').filters(0).apply();document.getElementById('" + obj + "').style.visibility='hidden';document.getElementById('" + obj + "').filters(0).play();", 1);
    lasttimer=obj;
  }
  else
  {
    hidetimer=setTimeout("document.getElementById('" + obj + "').style.visibility='hidden';", 1);
    lasttimer=obj;
  }
}
function insertFlash()
{
  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
  document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
  document.write(' id="knowhow" width="1000" height="80">');
  document.write(' <param name="movie" value="gfx/knowhow.swf" />');
  document.write(' <param name="quality" value="autohigh" />');
  document.write(' <param name="wmode" value="opaque" />');
  document.write(' <embed src="gfx/knowhow.swf" quality="autohigh" ');
  document.write(' name="knowhow" wmode="opaque" swliveconnect="true" width="1000" height="80"');
  document.write(' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
  document.write('</embed>');
  document.write('</object>');
}