if (!Array.filter) {
  Array.prototype.filter = function(f) {
    for (var i = this.length - 1; i >= 0; i--) {
      if (!f(this[i])) this.splice(i, 1);
    }
  }
}

if (document.body) {
  var get_cookie = function(n) {
    var t = document.cookie.split(/;/);
    t.filter(function(a) { a = a.split(/=/); return a[0].replace(/^\s+|\s+$/g,'') == n });

    if (t && t.length > 0)
      return t.pop().split(/=/).pop();
    else
      return null;
  }

  var uri = window.location.href;
  if (uri.match(/0,0\.html/) || uri.match(/0,101257.html/) || uri.match(/0,101588.html/)) {
    document.body.className += ' nositepath';
  }

  if (get_cookie('hide_breaking_news') == 'hide') {
    document.body.className += ' hidebreakingnews';
  }
}

function __nav_init() {}
