
function __doPostBack(eventTarget, eventArgument,frm) {
	var theForm = document.forms[frm];
if (!theForm) {
    theForm = document.form1;
}
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.submit();
    }
}


function validateEmail()
{
	
	var doc = document.getElementById('txtMailing');
	if(doc)
	{
		if(doc.value != '')
		{
			__doPostBack('btnSubmit','','FrmFooter');			
		}
		else
		{
			alert('Email address is required.');
			return false;
		}
	}
	
	
}
