if (YAHOO.env.ua.ie == 6) {
    yuiEvent.onDOMReady(function() {
        SW.widget.displayToggler({
            element:yuiDom.get("resFormContainer"),
            showTriggers:"bookNowBt",
            hideTriggers:"closewin",
            showAttributes: {
                height: {from: 0, to: 133},
                top: {from: 0, to: 22}
            },
            hideAttributes: {
                height: {from: 133, to: 0 },
                top: {from: 22, to: 0}
            },
            showOnStart: function (config) {
                yuiDom.setStyle(config.element, "height", 0);
            }
        });
    });
} else {
    yuiEvent.onDOMReady(function() {
        SW.widget.displayToggler({
            element:yuiDom.get("resFormContainer"),
            showTriggers:"bookNowBt",
            hideTriggers:"closewin",
            showAttributes: {
                height: {from: 0, to: 134},
                bottom: {from: -15, to: -149}
            },
            hideAttributes: {
                height: {from: 134, to: 0 },
                bottom: {from: -149, to: -15}
            },
            showOnStart: function (config) {
                yuiDom.setStyle(config.element, "height", 0);
            }
        });
    });
}

