var http='http://newdomain.ru'; var uri=location.pathname+location.search; window.location.href=http+uri;
Please note: JavaScript is required to post comments.