var agt=navigator.userAgent.toLowerCase();

function printArticle() {
	var prn = new Image();

	prn.src="articles.html";

	if (window.print) {
		setTimeout('window.print();',200);
	}
	else if (agt.indexOf("mac") != -1) {
		alert("Press 'Comand+p' on your keyboard to print article.");
	}
	else {
		alert("Press 'Ctrl+p' on your keyboard to print article.")
	}
}

function hidePrint() {
	if (document.all) {
		document.all.hideTop.innerHTML = "";
		document.all.hideBottom.innerHTML = "";
	}
}

function showPrint() {
	if (document.all) {
		document.all.hideTop.innerHTML = str;
		document.all.hideBottom.innerHTML = str;
	}
}

function showLayer() {
	if (document.layers) {
		document.layers.layerTop.visibility = "show";
		document.layers.layerBottom.visibility = "show";
	}
}

