
<!-- 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', 01, 01,'null','150,85,150,85');
 ADR = new animatedObject('Address','no', 01, 01,'null','20,500,20,500');
  B1 = new animatedObject('Lback1', 'yes', 10, 120, 'null', '-238,25,70,25');
  L1 = new animatedObject('Logo1', 'no', 10, 30, 'null', '-310,25,0,25');  
  LG = new animatedObject('LogoG', 'no', 10, 30, 'null', '-310,25,0,25');   
  A1 = new animatedObject('Applet', 'no', 10, 80, 'null', '420,-450,420,10');  
  T1 = new animatedObject('Text1', 'no', 01, 01, 'null', '90,128,90,128');  
  S2 = new animatedObject('Space2', 'no', 10, 80, 'null', '88,126,88,250');  
  S1 = new animatedObject('Space1', 'no', 01, 01, 'null', '0,23,0,23');  
  T2 = new animatedObject('Text2', 'no', 01, 01, 'null', '105,280,105,280');  
  S3 = new animatedObject('Space3', 'no', 10, 50, 'null', '104,278,360,278');   
  E1 = new animatedObject('Enter', 'no', 10, 50, 'null', '260,325,260,325');
  WT = new animatedObject('Wirest', 'no', 10, 40, 'null', '6,177,6,27');  
  WB = new animatedObject('Wiresb', 'no', 01, 01, 'null', '6,194,6,194');  
  PL = new animatedObject('Plane', 'yes', 120, 200, 'null', '760,9,110,9');
  PVL = new animatedObject('POVL', 'no', 01, 01, 'null', '760,9,110,9');  
  PVR = new animatedObject('POVR', 'no', 01, 01, 'null', '760,9,110,9');  
    
  animationTimeline[0] = new Array();
  animationTimeline[0][01] = 'LG.hide();S2.show();S3.show();WB.animate();S1.animate();ADR.animate();ADR.show();'
  animationTimeline[0][04] = 'L1.show();L1.animate();B1.show();'
  animationTimeline[0][30] = 'T1.show();T1.animate();S2.animate();'
  animationTimeline[0][70] = 'T2.show();T2.animate  ();S3.animate();WT.animate();'  
  animationTimeline[0][96] = 'A1.show();A1.animate();'  
  animationTimeline[0][140] = 'B1.animate();E1.show();E1.animate();PL.animate();PL.show();PVR.show();PVL.show();' 
   
startTimeline(0);
Waiting.hide();
}


function initAnimationX() {
  layerObj = (isNS) ? 'document' : 'document.all';
  styleObj = (isNS) ? '' : '.style';
  animationTime = new Array();
  animationTimeline = new Array();
  animatedObjects = new Object();
  
  B1 = new animatedObject('Lback1', 'yes', 10, 120, 'null', '-238,25,70,25');
  L1 = new animatedObject('Logo1', 'no', 10, 50, 'null', '-310,25,0,25');  
  A1 = new animatedObject('Applet', 'no', 10, 80, 'null', '420,-450,420,10');  
  T1 = new animatedObject('Text1', 'no', 10, 60, 'null', '-310,20,0,20');  
  S2 = new animatedObject('Space2', 'no', 40, 100, 'null', '88,126,88,250');  
  T2 = new animatedObject('Text2', 'no', 10, 60, 'null', '-310,20,0,20');  
  S3 = new animatedObject('Space3', 'no', 20, 50, 'null', '104,278,360,278');   
  E1 = new animatedObject('Enter', 'no', 20, 50, 'null', '104,278,360,278');
  TA = new animatedObject('Announce', 'no', 20, 50, 'null', '100,380,100,380');  
  WT = new animatedObject('Wirest', 'no', 10, 50, 'null', '6,177,6,27');  
  WB = new animatedObject('Wiresb', 'no', 01, 01, 'null', '6,177,6,27');    
  PL = new animatedObject('Plane', 'yes', 120, 200, 'null', '760,9,110,9');
  BK1 = new animatedObject('Back1', 'no', 01, 01, 'null', '760,9,110,9'); 
  BK2 = new animatedObject('Back2', 'no', 01, 01, 'null', '760,9,110,9');     
    
  animationTimeline[0] = new Array();
  animationTimeline[0][01] = 'E1.hide();A1.hide();PL.hide();B1.hide();WT.hide();WB.hide();BK1.show();BK2.show();'
   
startTimeline(0);

}

var layerObj, styleObj, totalTime, currTime;
var animationTime, animationTimeline, animatedObjects;
var bon, boff;

var isNS = (document.layers);
var isDHTML = (document.layers || document.all);

// -->



