// ==UserScript==
// @name           Netlog Topbar
// @description    Puts the netlog top bar always on the top of your screen
// @copyright      Klaas Cuvelier & Lode Vanhove (klaas@netlog.com, lode@netlog.com)
// @version        1.0
// @match http://*.netlog.com/*
// @match http://*.staging.comcore.be/*
// @include http://*.netlog.com/*
// @include http://*.staging.comcore.be/*
// ==/UserScript==

hw = document.getElementById('headerWrapper');
cw = document.getElementById('contentWrapper');
ts = document.getElementById('topshadow');
db = document.getElementById('devBar');

if (hw && cw)
{

	hw.style.position = 'fixed';
	hw.style.zIndex   = 99;
	hw.style.top      = 0;
	hw.style.width    = '100%';
	
 	cw.style.paddingTop = '50px';
}

if (ts)
{
  ts.style.position =  'fixed';
  ts.style.zIndex   = 10;
  ts.style.width    = '100%';
  ts.style.top      = 50;
}

if (db)
{
  db.style.position  = 'static';
  db.style.marginTop = '50px';
  db.style.width     = '100%';
  db.style.zIndex    = 50;
}

