// ==UserScript==
// @name Navigation On Top for Metro Mojo
// @namespace http://dse.webonastick.com/
// @author Darren Stuart Embry http://dse.webonastick.com/
// @description Provides navigation that is always visible at the top on MetroMojo sites.
// @include http://www.*mojo.com/
// ==/UserScript==
//
// This is a Greasemonkey user script.
// To install it, you need Greasemonkey: http://greasemonkey.mozdev.org/
// Then restart Firefox, and revisit this script.
//
// If you're still using Internet Explorer, then keep on ragin', champ!

(function () {
	var linkTopNav = document.getElementById("linkTopNav");
	if (!linkTopNav) return;

	linkTopNav = document.getElementById("linktopnav");
	if (!linkTopNav) return;

	var div = document.createElement("div");
	div.innerHTML = linkTopNav.innerHTML;
	div.style.position = "fixed";
	div.style.left = "0";
	div.style.top = "0";
	div.style.right = "0";
	div.style.bottom = "auto";
	div.style.backgroundColor = "#4040b7";
	div.style.borderStyle = "solid";
	div.style.borderWidth = "0px";
	div.style.borderBottomWidth = "2px";
	div.style.borderColor = "#ffcc00";
	div.style.textAlign = "center";
	div.style.fontWeight = "bold";
	div.style.lineHeight = "100%";
	div.style.color = "#ffffcc";
	div.style.paddingBottom = "4px";
	div.style.zIndex = 500;

	var div2 = document.createElement("div");
	div2.style.height = "40px";

	var first = document.body.childNodes[0];

	document.body.insertBefore(div, first);
	document.body.insertBefore(div2, first);
})();


