// ==UserScript==
// @name          Glench Darkerizer
// @namespace     http://glench.com/misc/dark.user.js
// @description   Make Glench.com easier on the eyes.
// @include       http://glench.com/*
// @exclude       http://glench.com/lightwrite/
// @exclude       http://glench.com/img/drawings/
// @exclude       http://glench.com/img/comic/
// @exclude       http://glench.com/photos/
// ==/UserScript==
// Last update: 2008/08/09

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

addGlobalStyle('body {background:#333 !important; color:#FFF !important;}');
addGlobalStyle('#page {background:#666 !important; border-color:#999 !important;}');
addGlobalStyle('#footer {background:#444 !important;}');
