// JavaScript Document


function checkLocation() {
var incorrectPrefix="wx5.registeredsite.com"
	var prefix="http://www.evacuchute.com/";
var t=document.location.toString();
// alert(t);
	var num=t.lastIndexOf("/");
//	alert(num);
	var chkLoc= t.slice(num+1);
//	alert(chkLoc);
	//alert(prefix+chkLoc);
	if (t.indexOf(incorrectPrefix)!= -1) {
		document.location.replace(prefix+chkLoc);
	}

}
checkLocation();
