function animate_image(){
  // set the image ID
  var img = 'logo_img';
  // get reference to the image (HTML element)
  el = YAHOO.util.Dom.get(img);
  // define the image starting position (X and Y coordinates)
  img_x = YAHOO.util.Dom.getX(el);
  img_y = YAHOO.util.Dom.getY(el);
  // define end position and curve (move the image to the starting
  // position but through the two distant points)
  var attributes = {
    points: {
      to: [img_x, img_y],
      control: [[img_x+2, img_y+3], [img_x-1, img_y-1]]
    }
  }
  // create an instance of YAHOO.util.Motion, passing it the
  // element we wish to animate
  var myAnim = new YAHOO.util.Motion(img, attributes);
  // start animation
  myAnim.animate();
}
function animate_image2(){
  // set the image ID
  var img = 'logo_img2';
  // get reference to the image (HTML element)
  el = YAHOO.util.Dom.get(img);
  // define the image starting position (X and Y coordinates)
  img_x = YAHOO.util.Dom.getX(el);
  img_y = YAHOO.util.Dom.getY(el);
  // define end position and curve (move the image to the starting
  // position but through the two distant points)
  var attributes = {
    points: {
      to: [img_x, img_y],
      control: [[img_x+1, img_y-2], [img_x-1, img_y-1]]
    }
  }
  // create an instance of YAHOO.util.Motion, passing it the
  // element we wish to animate
  var myAnim = new YAHOO.util.Motion(img, attributes);
  // start animation
  myAnim.animate();
}
function animate_image3(){
  // set the image ID
  var img = 'logo_img3';
  // get reference to the image (HTML element)
  el = YAHOO.util.Dom.get(img);
  // define the image starting position (X and Y coordinates)
  img_x = YAHOO.util.Dom.getX(el);
  img_y = YAHOO.util.Dom.getY(el);
  // define end position and curve (move the image to the starting
  // position but through the two distant points)
  var attributes = {
    points: {
      to: [img_x, img_y],
      control: [[img_x-2, img_y-1], [img_x-2, img_y+1]]
    }
  }
  // create an instance of YAHOO.util.Motion, passing it the
  // element we wish to animate
  var myAnim = new YAHOO.util.Motion(img, attributes);
  // start animation
  myAnim.animate();
}
function oynat(){
	animate_image();
	animate_image2();
	animate_image3();
}

