/**
	Projeto - Projeto (CLIENTE) v: 0.1
	Developer(s):
		+ Fernando Basilio (fernando.basilio@rede106.com)
*/

$(document).ready(function(){
	
	$('#concordo').click(function(){
		if($('#concordo').attr('checked')){
			$('.captcha').show();
		}else{
			$('.captcha').hide();
		}
	});
	
	$("#chk_landing").bind("click",function(){
		if($("#chk_landing").attr("checked")){
			$(".box_cadastro .bt_resgatar").attr("href","http://adwords.google.com.br");
			$(".box_cadastro .bt_resgatar").addClass("on");	
		}else{
			$(".box_cadastro .bt_resgatar").attr("href","#");
			$(".box_cadastro .bt_resgatar").removeClass("on");
		}
	});
	
	$(window).resize(function(){
		//centralizeElement("#container");
	});
	
});
