function enableBtn() {
	var button = $('#download-btn');
	if (typeof button.attr('disabled') != typeof undefined) {
		button.removeAttr('disabled');
	}
}
function disableBtn() {
	var button = $('#download-btn');
	if (typeof button.attr('disabled') == typeof undefined) {
		button.attr('disabled','disabled');
	}
}
function isEmail(email) {
    var regex = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
	if (regex.test(email)) { return true; } else { return false; }
}
$(document).ready(function () {
	$("#phone").mask("(999) 999-9999");
	$("#ofage").bind("click", function(){
		if ($(this).is(":checked")) { enableBtn(); } else { disableBtn(); }
	});
});