Demo of Location Object JavaScript

<script language='JavaScript' type='text/JavaScript'>
<!--
document.write(location.href);
document.write('<br>');
document.write('<b><i>protocol</i> : </b>'+location.protocol);
document.write('<br>');
document.write('<b><i>host</i> : </b>'+location.host);
document.write('<br>');
document.write('<b><i>hostname</i> : </b>'+location.hostname);
document.write('<br>');
document.write('<b><i>port</i> : </b>'+location.port);
document.write('<br>');
document.write('<b><i>pathname</i> : </b>'+location.pathname);
document.write('<br>');
document.write('<b><i>search</i> : </b>'+location.search);
document.write('<br>');
document.write('<b><i>hash</i> : </b>'+location.hash);
document.write('<br>');
document.write('<b><i>origin</i> : </b>'+location.origin);
//-->
</script>
<?Php
echo "</div><div class='col-md-4'>";
require "templates/side_for_ad.php";
echo "</div></div>";
require "../../templates/temp1/analytic-only.php";
?>