function redirectPage()
{
window.location = "http://" + location.host + location.pathname.substr(0,location.pathname.lastIndexOf("/")+1) + "/register.aspx";
}
