window.location = 'http://' + window.location.host + '#' + window.location.pathname.split('.html').join('/').split('.asp').join('/');