<html> <body> <div id='url'></div> <script> if (location.search == '') { window.open('file_browserElement_TargetTop.html?2', '_top'); } document.getElementById('url').innerHTML = document.location.href; </script> </body> </html>