string js = "alert('{0}');window.location.replace('{1}')";HttpContext.Current.Response.Write(string.Format(js, message, toURL));