// mail-this-page code
var mailThis = document.location;
var mailSubject = document.title;

function mailPage() {
	parent.location="mailto:?subject=" + mailSubject + "&body=" + mailThis;
}
// code to decide whether or not to show print button
var ua = navigator.userAgent.toLowerCase();
ua = ua.substr(8);
var printButton = "no"

if (ua.indexOf("compatible") != -1) {
	vNum = ua.indexOf("msie") + 5;
	verz = ua.charAt(vNum);
	
	if (verz > 4 && navigator.userAgent.indexOf("Mac") == -1) {
		printButton = "yes";
	}
}

if (navigator.appName == "Netscape" && navigator.userAgent.indexOf("Mac") == -1) {
  printButton = "yes"
}