<!-- start JS detection
  var flashinstalled = 0;
  var flashversion = 0;
  MSDetect = "false";
  if (navigator.plugins && navigator.plugins.length) {
    x = navigator.plugins["Shockwave Flash"];
    if (x)
    {
      flashinstalled = 2;
      if (x.description)
      {
        y = x.description;
        flashversion = y.charAt(y.indexOf('.')-1);
      }
    }
    else
    {
      flashinstalled = 1;
    }
    if (navigator.plugins["Shockwave Flash 2.0"])
    {
      flashinstalled = 2;
      flashversion = 2;
    }
  } else if (navigator.mimeTypes && navigator.mimeTypes.length) {
      x = navigator.mimeTypes['application/x-shockwave-flash'];
      if (x && x.enabledPlugin) flashinstalled = 2;
      else flashinstalled = 1;
  } else {
    MSDetect = "true";
  }
// end JS detection -->

function flash(fName, noFlashImg, width, height, params, flashversion) {
  version = '7,0,0,0';

  if (flashversion > 4) {
    document.writeln('        <object '+params);
    document.writeln('classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
    document.writeln('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+version+'"');
    document.writeln('width="'+width+'" height="'+height+'">');
    document.writeln('        <param name="movie"');
    document.writeln('value="'+fName+'" />');
    document.writeln('        <param name="quality" value="high" />');
    document.writeln('        <param name="wmode" value="opaque" />');
    document.writeln('        <param name="menu" value="0" />');
    document.writeln('        <param name="bgcolor" value="#FFFFFF" />');
    document.writeln('        <embed '+params);
    document.writeln('type="application/x-shockwave-flash"');
    document.writeln('src="'+fName+'"');
    document.writeln('quality="high" bgcolor="#FFFFFF" menu="0" width="'+width+'" height="'+height+'"');
    document.writeln('pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="opaque">');
    document.writeln('        </embed>');
    document.writeln('        </object>');
  } else {
    document.writeln('<div id="hnav"><a href="/">home</a>&nbsp;&#124;&nbsp;<a href="/wt/page/contact">contact</a>&nbsp;&#124;&nbsp;<a href="/wt/page/sitemap">site map</a>&nbsp;</li></div>');
  }
}

/*
This script is written by Eric (Webcrawl@usa.net)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
function printPage(){if (window.print) {window.print();} else {var WebBrowser = '<object id="WebBrowser1" width="0" height="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object>';document.body.insertAdjacentHTML('beforeEnd', WebBrowser);WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";
}}
var NS = (navigator.appName == "Netscape");var VERSION = parseInt(navigator.appVersion);


/*
 * Function for opening and closing divs either individually are for all on a given page
*/
/* Client did not want this functionality
function OpenCloseAll(action) {
   for (var i=1; i<10; i++) {
      var theId  = "drop"+i;
      var theObj = eval('document.getElementById("'+theId+'")');

      if(theObj) {
         if (action == 'open' && theObj.style.display == 'none') { showDrop(theId); }
         if (action == 'close' && theObj.style.display == 'block') { showDrop(theId); }
      }
   }
}

function showDrop(id) {
   var thedrop = eval('document.getElementById("'+id+'")');

   if (thedrop.style.display == 'none') {
      thedrop.style.display = 'block';
   }
   else if (thedrop.style.display == 'block') {
      thedrop.style.display = 'none';
   }
}
*/

