Getting the web server name through Javascript

Is it possible to get the web - server name through Javascript? If yes, how?
My code goes as follows. I get an error after executing this

<html>
<head>
<title>Untitled</title>
<script>
function disp()
{
str1 = location.host();
alert(str1);
}
</script>
</head>

<body>
<cfoutput>
<a href=“##” onclick=“disp();”>Click me</a>
</cfoutput>
<cfabort>
</body>
</html>

location.host is an Object, not a Method. Basically what I’m saying is get ride of the open and close parenthesis.

It should just be:
str1 = location.host;

and not:
str1 = location.host();

Thanx a ton hyp