1.offsetWidth / 2;
                        pos_y = div1.offsetHeight / 2;
                        for (var i = 0; i < 10; i++) {
                            // Move left and up.
                            pos_x += 10;
                            pos_y -= 10;
                            actions.pointerMove(pos_x, pos_y, {origin: div1});
                        }
                        actions.pointerDown().pointerUp().send();
                    } else if (test_state == kStateLocked) {
                    