<!-- 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');
  B1 = new animatedObject('Background', 'yes', 50, 200, 'null', '-200,0,200,0');  
  LG1 = new animatedObject('Logo', 'no', 15, 25, 'null', '-200,0,200,0');   
  M1 = new animatedObject('Man1', 'no', 10, 20, 'null', '110,80,200,80');  
  W1 = new animatedObject('Woman1', 'no', 10, 20, 'null', '500,-125,540,152');      
  W2 = new animatedObject('Woman2', 'no', 10, 20, 'null', '287,-70,287,80');   
  C1 = new animatedObject('Couple1', 'no', 10, 20, 'null', '-25,368,200,368');    
  TL1 = new animatedObject('Title', 'no', 01, 01, 'null', '380,106,380,106');   
  TLC = new animatedObject('TitleC', 'no', 20, 80, 'null', '380,106,620,106');   
  AE = new animatedObject('AEA', 'no', 01, 01, 'null', '570,390,570,390');   
  ME = new animatedObject('Menu', 'no', 10, 10, 'null', '70,227,200,227');  
  MC = new animatedObject('MenuC', 'no', 01, 01, 'null', '200,227,200,227');    
  PH = new animatedObject('Phone', 'no', 05, 10, 'null', '270,400,475,337');   
  
  animationTimeline[0] = new Array();
  animationTimeline[0][01] = 'M1.show();M1.animate();MC.animate();MC.show();'  
  animationTimeline[0][20] = 'W2.show();W2.animate();' 
  animationTimeline[0][35] = 'W1.show();W1.animate();' 
  animationTimeline[0][40] = 'C1.show();C1.animate();'  
  animationTimeline[0][50] = 'LG1.show();LG1.animate();B1.show();'     
  animationTimeline[0][65] = 'TL1.show();TL1.animate();TLC.show();TLC.animate();'   
  animationTimeline[0][100] = 'AE.show();AE.animate();' 
  animationTimeline[0][105] = 'ME.show();ME.animate();PH.show();PH.animate();'   
  animationTimeline[0][115] = 'B1.animate();'   
  animationTimeline[0][125] = 'MC.hide();' 
   
     
startTimeline(0);
Waiting.hide();

}

function initAnimationL1() {
  layerObj = (isNS) ? 'document' : 'document.all';
  styleObj = (isNS) ? '' : '.style';
  animationTime = new Array();
  animationTimeline = new Array();
  animatedObjects = new Object();
  
  B1 = new animatedObject('Background', 'yes', 20, 80, 'null', '-200,0,200,0'); 
  TLC = new animatedObject('TitleC', 'no', 20, 80, 'null', '380,106,620,106');   
  ME = new animatedObject('Menu', 'no', 10, 25, 'null', '70,227,200,227');   
  LK1 = new animatedObject('Link1', 'no', 01, 01, 'null', '326,139,326,139'); 
  LK2 = new animatedObject('Link2', 'no', 01, 01, 'null', '326,194,326,194');   
  LK3 = new animatedObject('Link3', 'no', 01, 01, 'null', '326,194,326,194');    
  LK4 = new animatedObject('Link4', 'no', 01, 01, 'null', '326,194,326,194');  
  
  animationTimeline[0] = new Array();
  animationTimeline[0][01] = 'LK1.show();LK1.animate();LK2.hide();LK3.hide();LK4.hide();'  
      
startTimeline(0);
}

function initAnimationL2() {
  layerObj = (isNS) ? 'document' : 'document.all';
  styleObj = (isNS) ? '' : '.style';
  animationTime = new Array();
  animationTimeline = new Array();
  animatedObjects = new Object();
  
  B1 = new animatedObject('Background', 'yes', 20, 80, 'null', '-200,0,200,0');  
  TLC = new animatedObject('TitleC', 'no', 20, 80, 'null', '380,106,620,106');  
  ME = new animatedObject('Menu', 'no', 10, 25, 'null', '70,227,200,227');   
  LK1 = new animatedObject('Link1', 'no', 01, 01, 'null', '326,194,326,194'); 
  LK2 = new animatedObject('Link2', 'no', 01, 01, 'null', '326,139,326,139');   
  LK3 = new animatedObject('Link3', 'no', 01, 01, 'null', '326,194,326,194');    
  LK4 = new animatedObject('Link4', 'no', 01, 01, 'null', '326,194,326,194');  
  
  animationTimeline[0] = new Array();
  animationTimeline[0][01] = 'LK2.show();LK2.animate();LK1.hide();LK3.hide();LK4.hide();'  
      
startTimeline(0);
}

function initAnimationL3() {
  layerObj = (isNS) ? 'document' : 'document.all';
  styleObj = (isNS) ? '' : '.style';
  animationTime = new Array();
  animationTimeline = new Array();
  animatedObjects = new Object();
  
  B1 = new animatedObject('Background', 'yes', 20, 80, 'null', '-200,0,200,0');
  TLC = new animatedObject('TitleC', 'no', 20, 80, 'null', '380,106,620,106');    
  ME = new animatedObject('Menu', 'no', 10, 25, 'null', '70,227,200,227');   
  LK1 = new animatedObject('Link1', 'no', 01, 01, 'null', '326,194,326,194'); 
  LK2 = new animatedObject('Link2', 'no', 01, 01, 'null', '326,194,326,194');   
  LK3 = new animatedObject('Link3', 'no', 01, 01, 'null', '326,139,326,139');    
  LK4 = new animatedObject('Link4', 'no', 01, 01, 'null', '326,194,326,194');  
  
  animationTimeline[0] = new Array();
  animationTimeline[0][01] = 'LK3.show();LK3.animate();LK2.hide();LK1.hide();LK4.hide();'  
      
startTimeline(0);
}

function initAnimationL4() {
  layerObj = (isNS) ? 'document' : 'document.all';
  styleObj = (isNS) ? '' : '.style';
  animationTime = new Array();
  animationTimeline = new Array();
  animatedObjects = new Object();
  
  B1 = new animatedObject('Background', 'yes', 20, 80, 'null', '-200,0,200,0'); 
  TLC = new animatedObject('TitleC', 'no', 20, 80, 'null', '380,106,620,106');   
  ME = new animatedObject('Menu', 'no', 10, 25, 'null', '70,227,200,227');   
  LK1 = new animatedObject('Link1', 'no', 01, 01, 'null', '326,194,326,194'); 
  LK2 = new animatedObject('Link2', 'no', 01, 01, 'null', '326,194,326,194');   
  LK3 = new animatedObject('Link3', 'no', 01, 01, 'null', '326,194,326,194');    
  LK4 = new animatedObject('Link4', 'no', 01, 01, 'null', '326,139,326,139');  
  
  animationTimeline[0] = new Array();
  animationTimeline[0][01] = 'LK4.show();LK4.animate();LK2.hide();LK3.hide();LK1.hide();'  
      
startTimeline(0);
}

function initAnimationLX() {
  layerObj = (isNS) ? 'document' : 'document.all';
  styleObj = (isNS) ? '' : '.style';
  animationTime = new Array();
  animationTimeline = new Array();
  animatedObjects = new Object();
  
  B1 = new animatedObject('Background', 'yes', 20, 80, 'null', '-200,0,200,0'); 
  TLC = new animatedObject('TitleC', 'no', 20, 80, 'null', '380,106,620,106');   
  ME = new animatedObject('Menu', 'no', 10, 25, 'null', '70,227,200,227');   
  LK1 = new animatedObject('Link1', 'no', 01, 01, 'null', '326,194,326,194'); 
  LK2 = new animatedObject('Link2', 'no', 01, 01, 'null', '326,194,326,194');   
  LK3 = new animatedObject('Link3', 'no', 01, 01, 'null', '326,194,326,194');    
  LK4 = new animatedObject('Link4', 'no', 01, 01, 'null', '326,194,326,194');  
  
  animationTimeline[0] = new Array();
  animationTimeline[0][01] = 'LK1.hide();LK2.hide();LK3.hide();LK4.hide();'  
      
startTimeline(0);
}


var layerObj, styleObj, totalTime, currTime;
var animationTime, animationTimeline, animatedObjects;
var bon, boff;

var isNS = (document.layers);
var isDHTML = (document.layers || document.all);

// -->



