<!--

// TODO: make sure onkeypress event is set to register and detect enter key in form field
function submitSubscribe(applicationPath)
{
	var formElement = document.forms[0].subscribeemail;
	
	try
	{
		if (formElement != null)
		{
			if (formElement.value != 'Enter your e-mail address')
			{
				window.location.href = applicationPath + '/subscribe.aspx?e=' + escape(formElement.value);
			}
			else
			{
				alert('Please enter your email address!');
				formElement.focus();
			}
		}
	}
	catch (ex)
	{
		window.location.href = applicationPath + '/subscribe.aspx';
	}
}

// -->