<!-- 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');
  TitleU = new animatedObject('Title','no',45,45,'null','0,-260,0,-18');   
  mattwolf = new animatedObject('mattwolfL','no', 45, 45, 'null', '434,410, 374,402, 290,384, 244,374, 160,348, 118,334, 22,286, 2,266, 0,226, 6,184, 8,160, 22,124, 34,110, 80,98, 136,95, 168,94, 236,94, 258,96, 320,104, 414,128, 439,172, 426,192, 382,212, 316,221, 286,221, 230,221, 174,219, 142,217, 82,203, 16,177, 0,139, 0,109, 3,73, 9,59, 29,33, 37,25, 51,13, 73,10, 113,11, 143,14, 172,19, 224,29, 249,45, 265,65, 280,85, 295,105, 310,118, 315,150');
  JavaAp = new animatedObject('JApplet', 'no', 25, 25, 'null', '400,410, 374,402, 290,384, 244,374, 200,256');
  LinkAA = new animatedObject('LinkA', 'no', 45, 45, 'null', '-150,600,200,340');
  screenBr = new animatedObject('screenB', 'no', 35, 35, 'null', '434,410, 374,402, 290,384, 244,374, 160,348, 118,334, 22,286, 2,266, 0,226, 6,184, 8,160, 22,124, 34,110, 80,98, 136,95, 168,94, 236,94, 258,96, 320,104, 414,128, 439,172, 426,192, 382,212, 316,221, 286,221, 230,221, 174,219, 142,217, 82,203, 16,177, 0,139, 0,109, 3,73, 9,59, 29,33, 37,25, 51,13, 70,10, 70,10, 70,15, 70,19, 70,24, 60,30, 50,40');
  animationTimeline[0] = new Array();


  animationTimeline[0][01] = 'screenBr.show(); screenBr.animate();';
  animationTimeline[0][25] = 'JavaAp.show(); JavaAp.animate();';
  animationTimeline[0][50] = 'TitleU.show();TitleU.animate();'
  animationTimeline[0][95] = 'mattwolf.show();  mattwolf.animate(); ';
  animationTimeline[0][120] = 'LinkAA.show();LinkAA.animate();'
 
startTimeline(0);
Waiting.hide();
}


function initAnimation3() {
  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');
  TitleU = new animatedObject('Title','no',45,45,'null','0,-18,0,-260');   
  mattwolf = new animatedObject('mattwolfL','no',45,45,'null','315,150,780,150');  
  JavaAp = new animatedObject('JApplet', 'no', 25, 25, 'null', '400,410, 374,402, 290,384, 244,374, 200,256');
  LinkAA = new animatedObject('LinkA', 'no', 75, 75, 'null', '0,0,200,340');
  screenBr = new animatedObject('screenB', 'no',45,45,'null','50,40,50,-120');  
  Doors2 = new animatedObject('Door3', 'no',35,45,'null','-850,-20,-40,-20');  



  animationTimeline[0] = new Array();
  animationTimeline[0][30] = 'screenBr.show(); screenBr.animate();';
  animationTimeline[0][03] = 'JavaAp.hide();';
  animationTimeline[0][01] = 'TitleU.show();TitleU.animate();'
  animationTimeline[0][25] = 'mattwolf.show();  mattwolf.animate();';
  animationTimeline[0][02] = 'LinkAA.hide();'
  animationTimeline[0][60] = 'Doors2.show();  Doors2.animate();';
 
startTimeline(0);

}

var layerObj, styleObj, totalTime, currTime;
var animationTime, animationTimeline, animatedObjects;
var bon, boff;

var isNS = (document.layers);
var isDHTML = (document.layers || document.all);

// -->
