
// TESTING
    /**
     * Test function
     */
    function sayHello()
    {
        $h = new jsxmlrequest(SayHelloHandler);
        $h.sayhello();
    }

    // set handler for response
    var SayHelloHandler = {
        sayhello: function($result) {
            alert($result);
        }
    }