var http = 'http://';

if (location.href.indexOf('https://')>-1)
	http = 'https://';
	
base = http + 'www.gowithcea.com/Account/';

function log_old_visit(url)
{
	var options = {
		type: 'POST',
		url: base + 'Ajax.aspx/LogLegacyVisit',
		data: "{url : '" + url + "'}", 
		contentType: 'application/json; charset=utf-8',
		dataType: 'json',
		error: function(XMLHttpRequest, textStatus, errorThrown) {
		//	alert(textStatus);
		}
	};		
	$.ajax(options);
}

