$(document).ready(function(){
						   
	$('#formLogin').ajaxForm({ 
										// target identifies the element(s) to update with the  response 
										target: '#resultadoLogin', 
								 
										// success identifies the function to invoke when the  response 
										// has been received; here we apply a fade-in effect to the new content 
										success: function(data) { 
											
											if( data.length > 0 ){
												
												$("#resultadoLogin").html(data);
												
											}else {
												
												window.location = '/controle/home_usuario.php';
											}
	 
										} 
									}); // JavaScript Document

	
});
