(function() {
  // Remove this return and modify the message below to display a
  // maintenance message on all apps
  // This file is copied to DocumentRoot for the http and https
  // virtual hosts - deploy it via Chef!
  return;

  var bar, style, msg;
  if (document.getElementById("se_maintenance_bar")) {
    return;
  }
  bar = document.createElement("div");
  bar.id = "se_maintenance_bar";
  style = bar.style;
  style.fontFamily = "'Lucida Grande', Verdana, sans-serif";
  style.fontSize = "12px/16px";
  style.color = "white";
  style["text-shadow"] = "0 1px 0 rgba(0, 0, 0, 0.8)";
  style["-moz-text-shadow"] = "0 1px 0 rgba(0, 0, 0, 0.8)";
  style["-webkit-text-shadow"] = "0 1px 0 rgba(0, 0, 0, 0.8)";
  style["background"] = "-webkit-gradient(linear, left top, left bottom, color-stop(0, #444), color-stop(0.5, #333), color-stop(1, #222))";
  style.padding = "9px 8px";

  msg = document.createTextNode("This service will be unavailable for approximately three hours from " + new Date().toUTCString());

  bar.appendChild(msg);
  document.body.insertBefore(bar, document.body.firstChild);
}());

