;
$(function() {
			function getHost(url) {
				var host = "null";
				if (typeof url == "undefined" || null == url)
					url = window.location.href;
				var regex = /.*\:\/\/([^\/]*).*/;
				var match = url.match(regex);
				if (typeof match != "undefined" && null != match)
					host = match[1];
				return host;
			}
			// alert(getHost());
			// alert(getHost('https://test.com'));
			// alert(getHost('httpc://www.test.com/123.html'));
			ref = document.referrer;
			if (ref != null && ref != "undefined") {
				domain = getHost(ref);
				if (domain != 'www.80r.com' && domain != '80r.com') {
					$.get('/e/public/GotoSite/link_in.php?domain=' + domain);
				}
			}
		});

