/**
 * mail_signup.js - mail signup specific javascript
 *
*/

/**
 * clears the contents of the signup form item
 *
 * @return void
 * @author Tim Cromwell
 **/
function clearField(element, defaultText)
{
	if (element.value == defaultText)
		element.value = '';
}

/**
 * resets the contents of the field depending on the default
 *
 * @return void
 * @author Tim Cromwell
 **/
function resetField(element, defaultText)
{
	if (element.value == '')
		element.value = defaultText;
}

/* end of file */