var ajax;

if (!document.cookie)
{
	document.cookie = "inbound=" + window.location.href;
}

function submission()
{
	if (document.cookie)
	{
		if (ajax != null)
		{
			ajax.abort();
		}
		
		ajax = $.get("email.php", { inbound: document.cookie.substring(8), outbound: window.location.href }, function(data)
		{
			return true;
		});
	}
	else
	{
		return true;
	}
}

