on;
                        }
                    }
                }
            }
            return m_dDirection;
        }
    </script>
</head>

<body onload="init()">
    <div id="map">
        <div id="mouse-position"></div>
    </div>
</body>

</html>