<script type="text/javascript">
function ShowLocation()
{
var x = window.location;
var t = ['Property - Typeof - Value', 'window.location - ' + (typeof x) + ' - ' + x ];
for (var prop in x)
{
t.push(prop + ' - ' + (typeof x[prop]) + ' - ' + (x[prop] || 'n/a'));
}
alert(t.join('\n'));
};
ShowLocation();
</script>