  var browserGood = 0;  var ang = 100;  var l1x = 100;  var l2x = 600;  var lightDir = 0;  if (navigator.userAgent.indexOf("MSIE")    != -1 &&     navigator.userAgent.indexOf("Windows") != -1 &&     navigator.appVersion.substring(0,1) > 3)  { browserGood = 1; }  function lightsOn(ambLight) {    if (browserGood == 1) {      ambLight += 10;      document.all.missionTxt.style.filter = "light";      light = document.all.missionTxt.filters[0];      light.Clear();      if (ambLight < 200) {        light.addAmbient(255,255,255,ambLight);        window.setTimeout("lightsOn(" + ambLight + ")",2);      } else {        light.addAmbient(255,255,255,255);      }    }  }      function spotLights() {    if (browserGood == 1) {      document.all.missionTxt.style.filter = "light";      light = document.all.missionTxt.filters[0];      light.Clear();      light.addAmbient(255,255,255,50);      light.addCone (l1x,70,100,l1x,70,  255,255,255,  255,25);      light.addCone (l2x,150,100,l2x,150,  255,255,255,  255,25);      if (lightDir == 0)      {        l1x += 25;        l2x -= 25;      } else {        l1x -= 25;        l2x += 25;      }      if (l1x >= 550)        lightDir = 1;      if (l1x <= 100) {        window.setTimeout ("lightsOn(30);",1000);      } else {        window.setTimeout ("spotLights();",32);      }    }  }  function sineAnim() {    ang-=5;    if (ang < 0)      ang = 95;    document.all.header.style.filter = "wave(add=1,freq=3,phase=" + ang + ",strength=5)";    window.setTimeout("sineAnim();",64);  }  function changeColour(objPtr, textColor)  {    if(browserGood == 1)      objPtr.style.color = textColor;  }  function changeImage(imgName, imgFile)  {    document[imgName].src = imgFile;  }  function changeFontWeight(objPtr, fWeight)  {    if(browserGood == 1)      objPtr.style.fontWeight = fWeight;  }
