require([
    "dojo/ready",
    "dojox/layout/ContentPane",
    "dojo/dom",
    "dojo/dom-attr",
    "dojo/on",
    "dojo/request",
    "dojo/query"
], function (ready, ContentPane, dom, domAttr, on, request) {
    var mainContentPane = new ContentPane({}, "container");
    on(dom.byId("navbar"), "a:click", function (event) {
        // prevent loading a new page - we're doing a single page app
        event.preventDefault();
        var page = domAttr.get(this, "href");
        mainContentPane.set("href",page + "?onlybody=true");
    });
});