MS IE7 - window.navigate

window.location.pathname = surl;

fails in IE7

use window.navigate(surl)