<script type="text/javascript"> document.write("現在のURL:<em>"+location.href+"<\/em><br \/>"); document.write("現在のURLの#以降のアンカー名:<em>"+location.hash+"<\/em>"); </script>