fires when window moving was finished
w1.attachEvent("onMoveFinish", function(win){ // code here });