var currentMenuName;

function showContact(doc, name)
{
	doc.write("<span class=\"sitename\"><a href=\"");
	doc.write("mailto:");
	doc.write("info");
	doc.write("@");
	doc.write("drpatrickgallagher.com");
	doc.write("\">" + 
		(name ? "Dr Patrick Gallagher" : "info" 
		+ "@"
		+ "DrPatrickGallagher.com") 
		+ "</a></span>");
}

function showSiteName(doc, possessive) {
	doc.write("<span class=\"sitename\">Dr. Patrick Gallagher");
	if (possessive)
		doc.write("'s");
	doc.write("</span>");
}


function setCurrentMenu (level, subLevel) {
	currentMenuName = "HM_Array" + level + (subLevel > 0 ? "_" + subLevel : "");
}

function leaveAlert()
{
  alert("You are now leaving Dr. Patrick Gallagher's web site, linking to a third party web site,\n" +
        "or departing from an information source for which Dr. Patrick Gallagher is responsible. \n" +
        "Please be advised that Dr. Patrick Gallagher is not responsible for any information or\n" +
        "directions whatsoever you may obtain concerning Dr. Patrick Gallagher at any other\n" +
        "site or location.  Dr. Patrick Gallagher is responsible only for information contained in\n" +
        "his own web site.  By clicking to go to another web site you acknowledge\n" +
        "that Dr. Patrick Gallagher has no responsibility for information obtained from that site.\n" +
        "\n" +
        "\nA new browser window will now be opened.")
}


