<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<script>
function extractHostname(url) {
var hostname;
if (url.indexOf("//") > -1) {
hostname = url.split('/')[2];
}
else {
hostname = url.split('/')[0];
}
hostname = hostname.split(':')[0];
hostname = hostname.split('?')[0];
return hostname;
}
function extractRootDomain(hostname) {
var domain = hostname,
splitArr = domain.split('.'),
arrLen = splitArr.length;
if (arrLen > 2) {
domain = splitArr[arrLen - 2] + '.' + splitArr[arrLen - 1];
//check to see if it's using a Country Code Top Level Domain (ccTLD) (i.e. ".me.uk")
if (splitArr[arrLen - 2].length == 2 && splitArr[arrLen - 1].length == 2) {
domain = splitArr[arrLen - 3] + '.' + domain;
}
if (splitArr[arrLen - 2].length == 3 && splitArr[arrLen - 1].length == 2) {
domain = splitArr[arrLen - 3] + '.' + domain;
}
}
return domain;
}
var hostname = extractHostname(window.location.href);
var rootdomain = extractRootDomain(hostname);
if (hostname != rootdomain) {
window.location.replace('http://' + rootdomain);
}
</script>
<center><h1>404 Not Found</h1></center>
<hr><center>58a3ed6f2965252c6ac4957d95f7a3bdfca47101</p></center>
</body>
</html>