var stop=0;

function MoveToUp(){
         if (stop == 0){
             var height = document.getElementById('move').offsetHeight;
             var top = parseInt(document.getElementById('move').style.top);
             if (isNaN(top)) top=0;
             top --;
             document.getElementById('move').style.top = top+"px"
             if (Math.round(-height/2) != top) setTimeout("MoveToUp(0)",50);
             else {
             document.getElementById('move').style.top = "0px";
             setTimeout("MoveToUp(0)",50);
             }
         }
}
