﻿/// <reference path="jquery.js" />

$(document).ready(function() {
  setTimeout("go()", 10000);
});

function go() {
  $("#row1").animate({ top: "-140px" }, 1600, function() {
    $("#row1").css("top", "170px");
    this.id = "row2";
  });
  $("#row2").animate({ top: "15px" }, 1600, function() {
    this.id = "row1";
    setTimeout("go()", 10000);
  });
}