function writeMenu()
{
	document.write(
		'<img width="137" height="523" alt="menu" border="0" align="top" ismap src="images/menu_in_blue_box.gif" usemap="#menucrop">' +
		'<map name="menucrop">' +
		// Repertoir and Publications go nowhere!
		'	<area shape="rect" href="index.htm" coords="3, 3, 133, 45">' +
		'	<area shape="rect" href="group_photo.htm" coords="3, 51, 133, 87">' +
		'	<area shape="rect" href="roster.htm" coords="3, 91, 133, 153">' +
		'	<area shape="rect" href="upcoming_synagigs.htm" coords="3, 159, 133, 217">' +
		'	<area shape="rect" href="references.htm" coords="3, 344, 133, 399">' +
		'	<area shape="rect" href="KT_Demo_Playlist.htm" coords="3, 259, 133, 298">' +
		'	<area shape="rect" href="audition_info.htm" coords="3, 404, 133, 444">' +
		'	<area shape="rect" href="mailto:' + getMainMailto() + '" coords="3, 451, 133, 511">' +
		'</map>'
	);
}

function getMainMailto(type, text, subject)
{
	var mid = "ah@web";
	var email = "KolTefil"+mid+"jew.org";
	if (type == "a")
	{
		if (!text)
			text=email;
		if (subject)
			email += "?subject="+subject;
		email = '<a href="mailto:'+email+'" onfocus="blur()">' + text + '</a>';
	}
	return email;
}

function getMailto(name, domain, text, subject)
{
	if (!subject)
		subject = "Kol Tefilah";
	subject = "?subject="+subject;
	var email = name + "@" + domain;
	if (!text)
		text = email;
	return '<a href="mailto:'+email+'" onfocus="blur()">' + text + '</a>';
}

function getPhoneContact()
{
	var mid = "764";
	return "(516) "+mid+"-6611";
}

