<!-- // start domain name search

function askname()
{
newurl="";
domain=window.document.forms.chloe.Whois.value;
topdomain="";
pos=domain.lastIndexOf('.')+1;
if (pos>0) {topdomain=domain.substring(pos,domain.length).toUpperCase();}
// alert(window.document.forms.chloe.action);
if (topdomain=='') {domain=domain+'.COM';}
if (topdomain=='' || topdomain=='COM' || topdomain=='ORG' || topdomain=='NET')
{ // Internic Lookup, note concatinated string required with variable in the middle
newurl='http://www.netsol.com/cgi-bin/whois/whois?STRING='+domain+'&SearchType=do&STRING2.x=31&STRING2.y=11';
return false;
}
if (topdomain=='GOV' || topdomain=='FED.US')
{ // US Gov Lookup
newurl='http://whois.nic.gov/cgi-bin/whois?s='+domain;
return false;
}
if (topdomain=='US')
{ // US Civic and Municipal Lookup, currently off-line until neustar gets their act together
alert('Dot.US lookups are currently off-line until\nNeustar gets their whois loaded, mid-2002.\n\rYou can visit but not search.');
newurl='http://www.nic.us/whois/index.cfm';
return false;
}
if (topdomain=='MIL')
{ // US Mil Lookup
newurl='http://whois.nic.mil/cgi-bin/whois?stype=Domains&keyword='+domain+'&ctype=reg';
return false;
}

ripe='AD AE AL AM AT AZ BA BE BF BG BH BJ BY CF CH CI CM CV CY CZ DE DJ DK DZ EE EG ER ES FI FO FR GA GB GE GG GH GI GL GN GQ GR GW HR HU IE IL IM IQ IR IS IT JE JO KE KG KZ LB LI LR LT LU LV MA MC MD MK ML MT NE NG NL NO OM PL PT QA RO RU SA SE SI SJ SK SL SM SN SU SY TD TJ TM TN TR UA UG UK UZ VA YE YU';
if (ripe.indexOf(topdomain)>-1)
{ // RIPE European Lookup
newurl='http://www.ripe.net/perl/whois?'+domain;
return false;
}
// If not in the above (meaning Canada, Asia, Pacific et al), Geektools search, this is an awesome tool :-)
else {newurl='http://www.geektools.com/cgi-bin/proxy.cgi?query='+domain+'&targetnic=auto'
return true;
}
}

function showme()
{
if (newurl != "")
{
if (typeof DomainLookUpWindow == 'undefined') {} else {DomainLookUpWindow.close()};
DomainLookUpWindow=window.open(newurl,'DomainLookUpWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=468,height=250,left=45,top=15');
}
else {alert('DOMAIN NOT FOUND\n\r\n\rPlease Check The List Of Supported Domains')};
}

function Go()
{
askname(); showme();
}

// end -->
