var tooltips = null;

function init() {

        tooltips = new YAHOO.widget.Tooltip("tooltip", { context: "contact", xyoffset: [-100,100]} );
        tooltips.contextTriggerEvent.subscribe(
                function(type, args) {
                                this.cfg.setProperty("text", '<div id="contact_tt"> To arrange an appointment<br/> please call Maureen or Elizabeth<br/> on 01883 714696.</div>');
                        }

        );

}

YAHOO.util.Event.addListener(window, "load", init);
YAHOO.util.Event.onContentReady("basicmenu", function () {

            //  Instantiate a Menu.  The first argument passed to the
            //  constructor is the id of the element in the DOM that represents
            //  the Menu instance.

            var oMenu = new YAHOO.widget.Menu("basicmenu", {position: "static",
                                                        hidedelay:  750,
                                                        lazyload: true});


            //  Call the "render" method with no arguments since the markup for
            //  this Menu instance already exists in the DOM.

            oMenu.render();


            // Show the Menu instance

            oMenu.show();

        });


