<!--
	function JoinEmailList()
	{
		var objEmail;
		var strEmail;
		if ( objEmail = document.getElementById( 'txtEMailListAddress' ) )
		{
			strEmail = objEmail.value;
			//validate the email address
			if ( !VAL_EMailAddress( strEmail, true ) )
			{
				return;
			}
			var xmlHttp = AJAX_GetXMLHttp();
			if ( xmlHttp == null )
			{
				alert( "Error: Could not instantiate XmlHttp object." );
				return;
			}
			//build the xml
			xmlHttp.open( 'POST', 'include/emailListFormDo.asp?strEmail=' + strEmail, true );
			xmlHttp.send( 'strEmail=' + strEmail );
			xmlHttp.onreadystatechange = function()
			{
				if ( xmlHttp.readyState == 4 && xmlHttp.status == 200 )
				{
					//update the html
					UpdateEmailListForm( strEmail );
				}
			}
		}
	}
	
	function UpdateEmailListForm( strEmail )
	{
		var strHtm = '<br><strong>Welcome to the SMPS Northeast Ohio e-mail list.</strong><br>You will receive the next scheduled announcement at <a href=\"mailto:' + strEmail + '\">' + strEmail + '</a>.';
		//update the text
		document.getElementById( 'emailList' ).innerHTML = strHtm;
	}
//-->