function getCopyrightYears() {
	begYear = 2004;
	now = new Date();
	currYear = now.getFullYear();
	
	output = begYear + "";

	if (currYear > begYear) {
		output += "&#8211;";
		output += currYear + "";
	}

	document.write(output);

//	return output;
}

function getCopyrightInfo() {
	output = "";

	copySymbol = "&#169;"
	copyOrg = ",&#160;The Central City Chorus";

	document.write(copySymbol + "&#160;" + getCopyrightYears() + copyOrg);
}

function getContentCellHeight(topRowHeight, bottomRowHeight) {
//	return screen.availHeight - topRowHeight - bottomRowHeight;
	document.write(screen.availHeight - topRowHeight - bottomRowHeight);
}

function getAvailableHeight() {
	document.write("&nbsp;&nbsp;" + screen.availHeight);
}

function getPerformanceLocation() {
/*
	pLoc = "Except where noted otherwise, all performances are held at:<br>"
				+ "The Church of St. John the Baptist<br>"
				+ "210 West 31st Street (just west of 7th Avenue)<br>"
				+ "New York, NY 10001<br>"
				+ "<br>"
				+ "For more information, please <a href=\"mailto:info@centralcitychorus.com\">contact</a> The Central City Chorus<br>";
*/
	pLoc = "For more information, please <a href=\"mailto:centralcitychorus@gmail.com\">contact</a> The Central City Chorus<br>";

	document.write( pLoc );
}

function getPerformanceLocation(idName) {

	pLoc = "For more information, please <a id=\"" + idName + "\" href=\"mailto:centralcitychorus@gmail.com\">contact</a> The Central City Chorus<br>";

	document.write( pLoc );
}

function setAboutMenu() {

	mm_menu_0511102752_0.addMenuItem("Bios","location='about.bios.html'");
//	mm_menu_0511102752_0.addMenuItem("Members","location='about.members.html'");
	mm_menu_0511102752_0.addMenuItem("Board&nbsp;of&nbsp;Directors","location='about.board.html'");
	mm_menu_0511102752_0.addMenuItem("Mission&nbsp;Statement","location='about.mission.html'");
	mm_menu_0511102752_0.addMenuItem("History","location='about.history.html'");
//	mm_menu_0511102752_0.addMenuItem("For CCC Members","location='members_only.html'");
	mm_menu_0511102752_0.fontWeight="bold";
	mm_menu_0511102752_0.hideOnMouseOut=true;
	mm_menu_0511102752_0.bgColor='#555555';
	mm_menu_0511102752_0.menuBorder=0;
	mm_menu_0511102752_0.menuLiteBgColor='#FFFFFF';
	mm_menu_0511102752_0.menuBorderBgColor='#777777';
}

function setConcertMenu() {

	mm_menu_0511103012_0.addMenuItem("2010-11&nbsp;Season","location='concerts.11.html'");
	mm_menu_0511103012_0.addMenuItem("2009-10&nbsp;Season","location='concerts.10.html'");
	mm_menu_0511103012_0.addMenuItem("2008-09&nbsp;Season","location='concerts.09.html'");
	mm_menu_0511103012_0.addMenuItem("2007-08&nbsp;Season","location='concerts.08.html'");
	mm_menu_0511103012_0.addMenuItem("Listen to Samples","location='concerts.samples.html'");
	mm_menu_0511103012_0.fontWeight="bold";
	mm_menu_0511103012_0.hideOnMouseOut=true;
	mm_menu_0511103012_0.bgColor='#555555';
	mm_menu_0511103012_0.menuBorder=0;
	mm_menu_0511103012_0.menuLiteBgColor='#FFFFFF';
	mm_menu_0511103012_0.menuBorderBgColor='#777777';
}

function setMoreInfoMenu() {

	mm_menu_0511103116_0.addMenuItem("Contact&nbsp;Us","location='contact.html'");
	mm_menu_0511103116_0.addMenuItem("Rehearsal&nbsp;Schedule","location='contact.html'");
//	mm_menu_0511103116_0.addMenuItem("Mailing&nbsp;List","location='mailListRequest.jsp'");
	mm_menu_0511103116_0.addMenuItem("Mailing&nbsp;List","location='mailListRequest.html'");
	mm_menu_0511103116_0.addMenuItem("Support&nbsp;CCC","location='contact.html'");
	mm_menu_0511103116_0.fontWeight="bold";
	mm_menu_0511103116_0.hideOnMouseOut=true;
	mm_menu_0511103116_0.bgColor='#555555';
	mm_menu_0511103116_0.menuBorder=0;
	mm_menu_0511103116_0.menuLiteBgColor='#FFFFFF';
	mm_menu_0511103116_0.menuBorderBgColor='#777777';
}

function getAuditionNotice() {
	aNote = "<a id=\"audNotice\" href=\"auditions.html\">Audition for the Brahms German Requiem -- Concert May 20th and 21st</a>";

	document.write( aNote );
}

function setEmailListValue(val) {
	emailList = val;
}

function setPaperMailListValue(val) {
	paperMailList = val;
}

function setEmailAddressValue(val) {
	emailAddress = val;
}

function setTitleValue(val) {
	title = val;
}

function setFirstNameValue(val) {
	firstName = val;
}

function setLastNameValue(val) {
	lastName = val;
}

function setStreetAddress1Value(val) {
	streetAddress1 = val;
}

function setStreetAddress2Value(val) {
	streetAddress2 = val;
}

function setCityValue(val) {
	city = val;
}

function setStateValue(val) {
	state = val;
}

function setZipValue(val) {
	zip = val;
}

function setMessageValue(val) {
	message = val;
}

function clearFormVars() {
	if (null != emailList)
		emailList = "";
	if (null != paperMailList)
		paperMailList = "";
	if (null != emailAddress)
		emailAddress = "";
	if (null != title)
		title = "";
	if (null != firstName)
		firstName = "";
	if (null != lastName)
		lastName = "";
	if (null != streetAddress1)
		streetAddress1 = "";
	if (null != streetAddress2)
		streetAddress2 = "";
	if (null != city)
		city = "";
	if (null != state)
		state = "NY";
	if (null != zip)
		zip = "";
	if (null != message)
		message = "";
}
