I try, that if i click key down '38', it should go to the next pano. it works but changes firsly view (currently pano view, picture down) and then work my script for key down.
the onkeydown event is fired as long as the key is down, you could either just use the onkeyup event or a bit more complexly - check if the key is already pressed,