% @language=JScript %>
<%
Server.ScriptTimeOut = 100000;
Response.Expires = 0;
objWhoIs = Server.CreateObject("ASPWhoIs.WhoIs");
%>
Pat's Domain Checker
<%
Who( "aardvark" );
// fill in your words here
Who( "zyzzyvas" );
function Who(s)
{
Response.Write( "" );
Check(s, ".com");
Check(s, ".org");
Check(s, ".net");
Response.Write( "
\n" );
}
function Check( s, x )
{
n = s + x;
b = objWhoIs.DomainNameAvailable( n );
if (b)
{
Response.Write( " " + n + " | " );
}
else
{
Response.Write( " " + n + " | " );
}
}
%>