
<!-- 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');
  W1  = new animatedObject('Wall', 'no', 30, 30, 'null', '-780,0,0,0');
  S1  = new animatedObject('Side', 'no', 30, 30, 'null', '-120,560,0,58'); 
  TTL  = new animatedObject('Title', 'no', 60, 60, 'null', '200,16,-300,10');      
  WR  = new animatedObject('winr', 'no', 30, 30, 'null', '-120,560,0,58');    
  WL  = new animatedObject('winl', 'no', 30, 30, 'null', '-120,560,0,58');    
  L1  = new animatedObject('awlogo1', 'no', 10, 40, 'null', '-215,360,445,12');    
  L2  = new animatedObject('awlogo2', 'no', 10, 40, 'null', '500,540,445,12'); 
  T1  = new animatedObject('Text1', 'no', 30, 150, 'null', '60,50,330,180');    
  T2  = new animatedObject('Text2', 'no', 30, 50, 'null', '-50,243,120,243');    
  WD  = new animatedObject('Wdesign', 'no', 40, 60, 'null', '-70,15,430,15');        
  OV  = new animatedObject('Overlay', 'no', 01, 01, 'null', '155,164,207,164'); 
  OV1  = new animatedObject('Overlay1', 'no', 01, 01, 'null', '155,164,207,164');   
  
  animationTimeline[0] = new Array();
  animationTimeline[0][01] = 'T2.show();T2.animate();OV.show();WD.show();WD.animate();TTL.animate();' 
  animationTimeline[0][60] = 'W1.show();W1.animate();'  
  animationTimeline[0][75] = 'WR.show();WL.show();T2.hide();'   
  animationTimeline[0][85] = 'L1.show();L2.show();L1.animate();L2.animate();'  
  animationTimeline[0][120] = 'OV.hide();'  
  animationTimeline[0][160] = 'OV1.show();'    
 
startTimeline(0);
Waiting.hide();
}

function initAnimationW() {
  layerObj = (isNS) ? 'document' : 'document.all';
  styleObj = (isNS) ? '' : '.style';
  animationTime = new Array();
  animationTimeline = new Array();
  animatedObjects = new Object();
  
  W1  = new animatedObject('Wall', 'no', 30, 30, 'null', '-780,0,0,0');
  S1  = new animatedObject('Side', 'no', 30, 30, 'null', '-120,560,0,58');  
  WR  = new animatedObject('winr', 'no', 20, 40, 'null', '257,164,304,164');    
  WL  = new animatedObject('winl', 'no', 20, 40, 'null', '206,164,155,164');    
  WR2  = new animatedObject('winr2', 'no', 20, 40, 'null', '304,164,257,164');    
  WL2  = new animatedObject('winl2', 'no', 20, 40, 'null', '155,164,206,164'); 
  T3  = new animatedObject('Text3', 'no', 01, 01, 'null', '-50,243,120,243');   
  En  = new animatedObject('Enter', 'no', 01, 01, 'null', '-50,243,120,243');    
  OV1  = new animatedObject('Overlay1', 'no', 01, 01, 'null', '155,164,207,164');     
  
  animationTimeline[0] = new Array();
  animationTimeline[0][01] = 'T3.show();WR.animate();WL.animate();WR.show();WL.show();WR2.hide();WL2.hide();'  
  animationTimeline[0][10] = 'En.show();' 
  animationTimeline[0][30] = 'WR2.animate();WL2.animate();WR2.show();WL2.show();'   
  animationTimeline[0][48] = 'En.hide();'
  animationTimeline[0][55] = 'OV1.show();' 
 
startTimeline(0);

}

function initAnimationO() {
  layerObj = (isNS) ? 'document' : 'document.all';
  styleObj = (isNS) ? '' : '.style';
  animationTime = new Array();
  animationTimeline = new Array();
  animatedObjects = new Object();
  
  W1  = new animatedObject('Wall', 'no', 30, 30, 'null', '-780,0,0,0');
  S1  = new animatedObject('Side', 'no', 30, 30, 'null', '-120,560,0,58');  
  WR  = new animatedObject('winr', 'no', 20, 40, 'null', '257,164,304,164');    
  WL  = new animatedObject('winl', 'no', 20, 40, 'null', '206,164,155,164');    
  WR2  = new animatedObject('winr2', 'no', 20, 40, 'null', '304,164,257,164');    
  WL2  = new animatedObject('winl2', 'no', 20, 40, 'null', '155,164,206,164'); 
  T3  = new animatedObject('Text3', 'no', 01, 01, 'null', '-50,243,120,243');    
  En  = new animatedObject('Enter', 'no', 01, 01, 'null', '-50,243,120,243');   
  OV1  = new animatedObject('Overlay1', 'no', 01, 01, 'null', '155,164,207,164');   
  
  animationTimeline[0] = new Array();
  animationTimeline[0][01] = 'T3.show();OV1.hide();WR.animate();WL.animate();WR.show();WL.show();WR2.hide();WL2.hide();'  
  animationTimeline[0][10] = 'En.show();' 
  animationTimeline[0][26] = 'WR2.animate();WL2.animate();WR2.show();WL2.show();'   
  animationTimeline[0][45] = 'En.hide();'    
 
startTimeline(0);

}

function initAnimationEx() {
  layerObj = (isNS) ? 'document' : 'document.all';
  styleObj = (isNS) ? '' : '.style';
  animationTime = new Array();
  animationTimeline = new Array();
  animatedObjects = new Object();
  
  WR  = new animatedObject('winr', 'no', 20, 40, 'null', '257,164,304,164');    
  WL  = new animatedObject('winl', 'no', 20, 40, 'null', '206,164,155,164');    
  WR2  = new animatedObject('winr2', 'no', 20, 40, 'null', '304,164,257,164');    
  WL2  = new animatedObject('winl2', 'no', 20, 40, 'null', '155,164,206,164'); 
  OV1  = new animatedObject('Overlay1', 'no', 01, 01, 'null', '155,164,206,164');   
  EX  = new animatedObject('Goto', 'no', 01, 01, 'null', '155,164,207,164'); 
  
  animationTimeline[0] = new Array();
  animationTimeline[0][01] = 'EX.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);

// -->



