fires when the user disables the "always on top" mode
w1.attachEvent("onUnstick", function(win){ // code here });