$(document).ready(function(){
	
	$("#form_indicacao").submit(function(){
		
		if($("#nome").val().length == 0){
			alert("Preencha seu Nome");
			$("#nome").focus();
			return false;	
		}
		
		if($("#email").val().length == 0){
			alert("Preencha seu E-mail");
			$("#email").focus();
			return false;	
		}
		
		if($("#nomeamigo").val().length == 0){
			alert("Preencha o Nome do seu Amigo");
			$("#nomeamigo").focus();
			return false;	
		}
		
		if($("#amigo").val().length == 0){
			alert("Preencha o E-mail do seu Amigo");
			$("#amigo").focus();
			return false;	
		}
		
		if($("#link").val().length == 0){
			alert("Coloque o Nome do Filme");
			$("#link").focus();
			return false;	
		}
		
	})
		
})
