ebug" : "") + ".js";
		ref.parentNode.insertBefore(js, ref);
	}(document, /*debug*/ false));
                                                                                        

	// get invitations view in the overlay
	function get_invitations_view() {
		$.ajax({
			type: 'GET',
			url: "/invitations?redirect_url=/perk/downloadconfirmation",
			success: function(response) {
				$('#overlay_content').html(response);
			}
		});
		// hiding close button
		$('.close_btn_overlay').hide();
	}
	
	(function(d,