 = "/perk/downloadconfirmation";
								}
							}
						}
					}).fail(function( jqXHR, textStatus ) {
						console.log("Request failed: " + textStatus + ' and error is ' + JSON.stringify(jqXHR));
					});
				} else {
					/*
					$.ajax({
						url : '/accounts/ajax_facebook',
						type: 'post',
						data : response,
						success : function(res) {
							if(typeof res.success != 'undefined' && res.success != null && res.success == true) {
								parent.postMessage({action: 'register_success'}, docu