function init () {
	$('submit').onclick = function () {
		sendData();
	}
}
function sendData () {
	var url = 'http://taptra.net/rr/?submit=y';
	var pars = Form.serialize('frm');
	var myAjax = new Ajax.Request( url, {method: 'get', parameters: pars, onLoading: showLoad, onComplete: showResponse} );
}
function showLoad () {
	$('load').style.display = 'block';
		$('frm').style.display = 'none';
}
function showResponse (originalRequest) {
	var newData = originalRequest.responseText;
	$('load').style.display = 'none';
	$('frm').style.display = 'none';


	if(newData == 'Please enter a valid email address') {

	$('frm').style.display = '';
	}
}
