
<!-- hide from old browsers

function animatedObject(elementName,loop,speed,steps,endRoutines,route){
  this.elementName = elementName;
  this.loop = loop;
  this.speed = speed;
  this.steps = steps;
  this.frameIndex = 0;
  this.endRoutines = endRoutines;
  this.route = route.split(',');
  this.animate = animateObject;
  this.move = moveObject;
  this.show = showObject;
  this.hide = hideObject;

  animatedObjects[elementName] = this;
}

function stopTimeline(timelineNumber){
   animationTime[timelineNumber] = animationTimeline[timelineNumber].length;
}

function startTimeline(timelineNumber) {
  animationTime[timelineNumber] = 0;
  timelineController(timelineNumber);
}

function timelineController(timelineNumber) {
    if (animationTime[timelineNumber] <= animationTimeline[timelineNumber].length - 1) {
      animationTime[timelineNumber]++;
        if (animationTimeline[timelineNumber][animationTime[timelineNumber]] != null){
          eval(animationTimeline[timelineNumber][animationTime[timelineNumber]]);
        }
        setTimeout('timelineController(' + timelineNumber + ')', 100);
    }
}

function showObject(){
  eval(layerObj + '["' + this.elementName + '"]' + styleObj + '.visibility = "visible"');
}
        
function hideObject(){
  eval(layerObj + '["' + this.elementName + '"]' + styleObj + '.visibility = "hidden"');
}
  

function moveObject(left, top){
  eval(layerObj + '["' + this.elementName + '"]' + styleObj + '.top = top');
  eval(layerObj + '["' + this.elementName + '"]' + styleObj + '.left = left');
}

function animateObject(){
    if (this.route.length > 4 && this.frameIndex < this.route.length)  {
      this.move(this.route[this.frameIndex], this.route[this.frameIndex + 1]);
      this.frameIndex += 2;
      setTimeout('animatedObjects["' + this.elementName + '"].animate()', this.speed);
    }
    else if (this.route.length == 4 && this.frameIndex <= this.steps) {
      this.move(parseInt(this.route[0]) + (this.frameIndex * ((parseInt(this.route[2]) - parseInt(this.route[0])) / this.steps)), parseInt(this.route[1]) + (this.frameIndex * ((parseInt(this.route[3]) - parseInt(this.route[1])) / this.steps)));
      this.frameIndex++;
      setTimeout('animatedObjects["' + this.elementName + '"].animate()', this.speed);         
    }
    else {
      eval(this.endRoutines + "");
      this.frameIndex = 0;
        if (this.loop == "yes"){
          this.animate();
        }
    }
}


function initAnimation() {
  layerObj = (isNS) ? 'document' : 'document.all';
  styleObj = (isNS) ? '' : '.style';
  animationTime = new Array();
  animationTimeline = new Array();
  animatedObjects = new Object();
  
 Waiting = new animatedObject('waitscr','no',0,0,'null','0,0,0,0');
  Back1 = new animatedObject('Earth1', 'yes', 10, 180, 'null', '-460,25,-40,25');
  Object1 = new animatedObject('Station1', 'yes', 10, 180, 'null', '720,260,-190,0');
  Back2 = new animatedObject('Space1', 'no', 10, 10, 'null', '-70,20,-70,20');
  Back3 = new animatedObject('Space2', 'no', 10, 10, 'null', '700,20,700,20');
  Back4 = new animatedObject('Space3', 'no', 10, 10, 'null', '9300,20,930,20');
  Object2 = new animatedObject('Station2', 'yes', 10, 180, 'null', '250,290,400,110');
  Text1 = new animatedObject('LinkA', 'no', 5, 25, 'null', '-70,-10,565,10');



  animationTimeline[0] = new Array();

  animationTimeline[0][03] = 'Back1.show(); Back1.animate();'
  animationTimeline[0][01] = 'Back2.show(); Back2.animate();'
  animationTimeline[0][02] = 'Back3.show(); Back3.animate();'
  animationTimeline[0][05] = 'Object1.show(); Object1.animate();'
  animationTimeline[0][04] = 'Object2.show(); Object2.animate();'
  animationTimeline[0][70] = 'Back4.show(); Back4.animate();'
  animationTimeline[0][85] = 'Text1.show(); Text1.animate();'
 
startTimeline(0);
Waiting.hide();
}

function initAnimationB() {
  layerObj = (isNS) ? 'document' : 'document.all';
  styleObj = (isNS) ? '' : '.style';
  animationTime = new Array();
  animationTimeline = new Array();
  animatedObjects = new Object();
  
 Waiting = new animatedObject('waitscr','no',0,0,'null','0,0,0,0');
  Back1 = new animatedObject('Earth1', 'yes', 10, 180, 'null', '-460,25,-40,25');
  Object1 = new animatedObject('Station1', 'yes', 10, 180, 'null', '720,260,-190,0');
  Back2 = new animatedObject('Space1', 'no', 10, 10, 'null', '-70,20,-70,20');
  Back3 = new animatedObject('Space2', 'no', 10, 10, 'null', '700,20,700,20');
  Back4 = new animatedObject('Space3', 'no', 10, 10, 'null', '9300,20,930,20');
  Object2 = new animatedObject('Station2', 'yes', 10, 180, 'null', '250,290,400,110');
  Text1 = new animatedObject('LinkA', 'no', 5, 25, 'null', '-70,-10,575,10');
  Text2 = new animatedObject('NotesA', 'no', 5, 5, 'null', '-200,25,-30,25');
  Text3 = new animatedObject('LinkC', 'no', 5, 5, 'null', '75,0,75,0');


  animationTimeline[0] = new Array();

  animationTimeline[0][01] = 'Text2.show(); Text2.animate();Text3.show();Text3.animate();'
  animationTimeline[0][100] = 'Text1.show(); Text1.animate();'
 
startTimeline(0);
Waiting.hide();
}

function initAnimationC() {
  layerObj = (isNS) ? 'document' : 'document.all';
  styleObj = (isNS) ? '' : '.style';
  animationTime = new Array();
  animationTimeline = new Array();
  animatedObjects = new Object();
  
 Waiting = new animatedObject('waitscr','no',0,0,'null','0,0,0,0');
  Back1 = new animatedObject('Earth1', 'yes', 10, 180, 'null', '-460,25,-40,25');
  Object1 = new animatedObject('Station1', 'yes', 10, 180, 'null', '720,260,-190,0');
  Back2 = new animatedObject('Space1', 'no', 10, 10, 'null', '-70,20,-70,20');
  Back3 = new animatedObject('Space2', 'no', 10, 10, 'null', '700,20,700,20');
  Back4 = new animatedObject('Space3', 'no', 10, 10, 'null', '9300,20,930,20');
  Object2 = new animatedObject('Station2', 'yes', 10, 180, 'null', '250,290,400,110');
  Text1 = new animatedObject('LinkA', 'no', 5, 25, 'null', '-70,-10,575,10');
  Text2 = new animatedObject('NotesA', 'no', 10, 10, 'null', '-30,25,-200,25');
  Text3 = new animatedObject('LinkC', 'no', 10, 10, 'null', '75,0,75,0');



  animationTimeline[0] = new Array();

  animationTimeline[0][01] = 'Text2.show(); Text2.animate();Text3.hide();'
  animationTimeline[0][100] = 'Text1.show(); Text1.animate();'
 
startTimeline(0);
Waiting.hide();
}



var layerObj, styleObj, totalTime, currTime;
var animationTime, animationTimeline, animatedObjects;
var bon, boff;

var isNS = (document.layers);
var isDHTML = (document.layers || document.all);

// -->




