function popUp(URL, Width, Height) {
    window.open(URL, 'popup'+Width+Height, 'toolbar=0, scrollbars=0, location=0, statusbar=0, menubar=0, resizable=0, width='+Width+', height='+Height+', left =331, top=181');
    return false;
}

$(document).ready(function() {

    // Adjust CSS for mac browsers    
    var isMac = (navigator.userAgent.indexOf("Mac") != -1);
    if (isMac) {
        $('UL#Navigation A').css('padding', '0 3px');
        $('UL#Navigation').css('padding-left', '1px');
    };

    // Cycle promotions
    $('#Promotion > DIV').cycle({ speed: 1000, timeout: 10000, pause: 1 });

    // Cycle wedding slideshow
    $('#Slideshow').cycle({ speed: 1500, timeout: 4000, pause: 1 });

    // Animate fixture list
    $('#FixtureList TR.menu:not(TR.more)').each(function() {
        if (jQuery.trim($(this).next().text()).length) {
            $(this).click(function() {
                $(this).next().toggle();
            });
            $(this).css('cursor', 'pointer');
            $(this).find('IMG').show();
        }
    });

    $('#FixtureList TR.more').click(function() {
        $(this).toggle();
    });

    $('.expander').click(function() {
        $(this).next().toggle();
        if ($(this).next().is(':visible')) {
            $(this).addClass('open');
        } else {
            $(this).removeClass('open');
        }
    });
});


    