(
    function (location)
    {
        var myBlockUrl = '/zondag';
        var myDate = new Date();
        if (location && location.pathname && !location.pathname.match(new RegExp('^/(epaper|zondag)$', 'i')) && myDate.getDay() == 0) {
            /* redirect without history */
            location.replace(myBlockUrl);
            /* try normal redirect */
            location.href = myBlockUrl;
        }
    }
)(location);


