$(document).ready(function(){
	resetForm();
	connexion();
});
function resetForm()
{
	$('#homeLogin > p > .text').bind('click', function() {
		if ($(this).val() == "Adresse email incorrecte")
		{
			$(this).val("");
			$(this).css("border","1px solid #CCCCCC");
			$(this).css("color","#000000");
		}
		$(this).css("border","1px solid #CCCCCC");
		$(this).css("color","#000000");
	});
}
function connexion()
{
	var options = { 
        target:        '#lareponse', // target element(s) to be updated with server response 
        beforeSubmit:  showRequest,  // pre-submit callback 
        success:       showResponse  // post-submit callback 
    };
	$('#loginInscrForm').ajaxForm(options); 
}

function showRequest(formData, jqForm, options) { 
    var queryString = $.param(formData); 
 
    return true; 
} 
 
// post-submit callback 
function showResponse(responseText, statusText, xhr, $form)  { 

} 
