document.write('');


function WM_checkIn(id) {


  if (document.all) {
    return document.all[id].style;
  } else if(document.layers) {
    return document.layers[id];
  }
}


// -->

document.write('\r\n\r\n\r\n');


function WM_imageSwap(daImage, daSrc){
  var objStr,obj;


  if(document.images){
    if (typeof(daImage) == 'string') {
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}


// -->

document.write('\r\n\r\n\r\n');


function WM_moveTo(daObject, endLeft, endTop, numSteps, delay, endFunction, startx) {

/*

WM_moveTo()

Moves an object from its current location to a new location and optionally fires a function when it's done.


Usage: WM_moveTo('objectName', endingLeft, endingTop, numberOfSteps, delayBetweenSteps, 'functionToFire()', startx);

*/

  // Declare variables.
  var leftInc, topInc, daObj = new Object;
  // The first time through, create document.WM.WM_moveTo
  if (typeof document.WM == 'undefined'){
    document.WM = new Object;
    document.WM.WM_moveTo = new Object;
  } else if (typeof document.WM.WM_moveTo == 'undefined') {
    document.WM.WM_moveTo = new Object;
  }
  // Store endFunction to execute when the move is finished.
  if(endFunction) document.WM.WM_moveTo.endFunction = endFunction;
  // Get a good object reference (call it daObj) from WM_checkIn().
  // But if we've already done so, don't check it in again.
    if (daObject == "sameObj") {
      daObj = document.WM.WM_moveTo.daObj;
    } else {
      daObj = WM_checkIn(daObject);
      document.WM.WM_moveTo.daObj = daObj;
            daObj.left=startx;
    }
  // If this is the last step, go to the end point and run endFunction.
  if (numSteps == 1) {
    daObj.left = endLeft;
    daObj.top = endTop;
    // If an endFunction was set, execute it and then delete it.
    if(document.WM.WM_moveTo.endFunction) {
      daFunction = document.WM.WM_moveTo.endFunction;
      document.WM.WM_moveTo.endFunction = '';
      eval(daFunction);
    }
  } else {
    // Otherwise, figure out how far to move.
    leftInc = (endLeft - parseInt(daObj.left)) / numSteps;
    topInc = (endTop - parseInt(daObj.top)) / numSteps;
    // Then move, decrement numSteps, and do it all again.
    daObj.width=40;
    daObj.height=40;
    daObj.left = parseInt(daObj.left) + leftInc;
    daObj.top = parseInt(daObj.top) + topInc;
    numSteps--;
    setTimeout ('WM_moveTo(\'sameObj\', ' + endLeft + ', ' + endTop + ', ' + numSteps + ', ' + delay + ')', delay);
  }
}

function resize(){
if(isNS){
w_x=window.innerWidth-document.img1.document.width;
w_y=window.innerHeight-document.img1.document.height;
}else{
w_x=document.body.clientWidth-document.image1.width;
w_y=document.body.clientHeight-document.image1.height;
}
}

function play() {
WM_moveTo('img1', 500, 250, 25, 40, 'play2()', 1100);
}
function play2() {
WM_moveTo('img1', -120, 360, 20, 50, 'WM_imageSwap(image1, "airblade_f2.gif");play3()', 500);
}
function play3() {
WM_moveTo('img1', 0, 360, 100, 450, 'WM_imageSwap(image1, "airblade_f1.gif");play()', 0);
}

// -->
document.write('\r\n\r\n</head>\r\n<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" scroll=\"auto\" bgcolor=\"#cccccc\">\r\n\r\n<div id=\"img1\" style=\"position:absolute; top:300px; left:-100px; z-index:10\">\r\n<a href=\"haupt.htm\"><img src=\"airblade_f1.gif\" name=\"image1\" width=\"114\" height=\"103\" border=\"0\"></a>\r\n</div>');
