Hi, I have tried location.hostname but this does not work.

I have also tried
var tmp is new Location();
alert(tmp.hostname);
witch does not work eighter.

How do i do this?