<!--

   function Is() {
    var agent = navigator.userAgent.toLowerCase();
    this.major = parseInt(navigator.appVersion);
    this.minor = parseFloat(navigator.appversion);
    if (document.layers) { 
     this.ns4 = true;
    } else {
     this.ns = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible')==-1))); 
     this.ns5 = (this.ns && (this.major >= 5));
     this.ie = (agent.indexOf("msie") != -1);
     this.ie4 = (this.ie && (this.major >= 4));
    }
   }
 
   var is = new Is();
   function preload() {
    if ((is.ns4) || (is.ie5) || (is.ie4)) {
     this.length=preload.arguments.length;
     for (var i = 0; i < this.length; i++) {
      this[i+1] = new Image();
      this[i+1].src = preload.arguments[i];
     }
    }
   }   
   
   //set up DOMS variables
   if(document.layers) {
    doc = "document";
    sty = "";
    htm = ".document";
   } else if(document.all) {
    doc = "document.all";
    sty = ".style";
    htm = "";
   }


   // Flash
   function displayFlashHome()
   {
   var requiredVersion = 5;
   var flashVersion = getFlashVersion();
   var nonFlash = '<img src="/common/images/APMFlash.jpg" border="0" width="602" height="120">'
   var Flash = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="602" height="120">';
        Flash += '<param name="movie" value="/common/stylesheets/css/Datastream_english.swf">';
        Flash += '<param name="quality" value="best">';
        Flash += '<param name="wmode" value="transparent">';
        Flash += '<param name="bgcolor" value="#666666">';
        Flash += '<embed src="/common/stylesheets/css/Datastream_english.swf" quality="best" bgcolor="#666666" width="602" height="120" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">';
        Flash += '</embed></object>';

        if (flashVersion >= requiredVersion) {
   
            if ((is.ie5) || (is.ie4)) {
               document.write(Flash);
            }
            else {
               document.write(nonFlash);
            }
        }
        else if (flashVersion > 0) {
            document.write(nonFlash);
        }
        else if (flashVersion == 0) {
            document.write(nonFlash);
        }
        else if (flashVersion == flashVersion_DONTKNOW || flashVersion == null) {
            document.write(nonFlash);
        }
   }

//-->