	
function SubmitSignup(form)
{
	new Ajax.Request("signIn.php", {
		parameters : Form.serialize(form),
		onSuccess : function(t) {
			//alert(t.responseText);
			if(t.responseText=="success")
			{
				ajaxpage('members1.php?ajax=1','content');
			}else{

				document.getElementById("response").innerHTML= t.responseText;
				
			}
		},
		on404: function(t) {
	        alert('Error 404: location "' + t.statusText + '" was not found.');
	    },
	    // Handle other errors
	    onFailure: function(t) {
	        alert('Error ' + t.status + ' -- ' + t.statusText);
	    }
	});		
}
