al(), $("#sign-pass").val());
			if(isValid == false) {
				return false;
			}

			$.ajax({
				url: window.location.protocol + "//" + "api.perk.com/api/register",
				type: 'POST',
				crossDomain: true,
				cache: false,
				data: { 
					email: $("#sign-email").val(), 
					password: $("#sign-pass").val(),
					type: 'email',
					device_type: 'web_browser',
					client_id: "11111",
					client_secret: "c437a24bf277dfea375f",
					device_id: device_id,
					partner_id: partner
				},
				beforeSend: func