Use of viewDocument URL