// mYm global.js 2.2 - by brent@mimoYmima.com - edited April 22, 2008

// Add Print Link to the Page Nav when js is available ~ by Brent Lagerman
function addPgNavLnk() {
	if (!document.getElementById) return false;
	if (!document.getElementById("PageNav")) return false;
	var pgNav = document.getElementById("PageNav");
	var pgNavLnk = document.createElement("a");
	var lnkTxt = document.createTextNode("print");
	pgNavLnk.setAttribute("href", "");
	pgNavLnk.setAttribute("id", "PrintLink");
	pgNavLnk.appendChild(lnkTxt);
	pgNav.appendChild(pgNavLnk);
	pgNavLnk.onclick = function(){
		window.print();
		return false;	
	}
}

// javascript indicator

function JSIndicator() {
	if (!document.getElementById) return false;
	if (!document.getElementById("JSIndicator")) return false;
	var jsBtn = document.getElementById("JSIndicator");
	jsBtn.style.display="none";
}