function submitSignup() {
	ColdFusion.Ajax.submitForm('emailform', '/ajaxAction.cfm', signupSuccess,signupError);
}

function signupSuccess(text) {
	thankstext = "<img class='tab' src='images/tabEmail.png' width='295' height='47' alt='email' /><p class='thankYou'>Thank you for your interest in the Diesel Technology Forum!</p>";
	document.getElementById('emailBlock').innerHTML = thankstext;
	//alert(text);
}

function signupError(code,msg) {
	errortext = "<img class='tab' src='images/tabEmail.png' width='295' height='47' alt='email' /><p class='calloutText'>There was a problem submitting your address. Please try again soon.</p>";
	document.getElementById('emailBlock').innerHTML = errortext;
}

function submitSignup2() {
	ColdFusion.Ajax.submitForm('emailform', '/ajaxAction.cfm', signupSuccess2,signupError2);
}

function signupSuccess2(text) {
	thankstext = "<h2>Thank you for your interest in the Diesel Technology Forum!</h2>";
	document.getElementById('emailBlock').innerHTML = thankstext;
	//alert(text);
}

function signupError2(code,msg) {
	errortext = "<h2'>There was a problem submitting your address. Please try again soon.</h2>";
	document.getElementById('emailBlock').innerHTML = errortext;
}
