public void handleMouseUp(int id)
    {
        //Debug.Log("MouseUp" );
        RaycastHit hit;

        if (Physics.Raycast(Camera.main.ScreenPointToRay(Input.mousePosition), out hit))
        {
            int x = /*width -*/ (int)(hit.textureCoord.x * width);
            int y = height - (int)(hit.textureCoord.y * height);
            UnityWebCore.MouseUp(view.m_TextureID, id, x, y);
        }
    }
    void OnMouseExit()
    {
        // Only when interactive is enabled
        if (!interactive)
        {
            return;
        }

        hovered = false;
        focused = false;

        //Debug.Log("MouseOut");
        UnityWebCore.ApplyCursor(0);

        UnityWebCore.MouseUp(view.m_TextureID, 0, lastX, lastY);
        UnityWebCore.MouseUp(view.m_TextureID, 1, lastX, lastY);
        UnityWebCore.MouseUp(view.m_TextureID, 2, lastX, lastY);
        UnityWebCore.MouseMove(view.m_TextureID, -1, -1);
    }