var host = location.host;

var hosturl = 'http://' + host;

host = host.replace(/www./, "");

firstchar = host.substr( 0, 1);
host = host.substr(1, host.length -1);
host = firstchar.toUpperCase() + host;

// find :
hostname = document.title;
pos = hostname.indexOf( ":");
if ( pos > -1)
{
  hostname = hostname.substr( 0, pos);
}

document.write( '<h2>Whois Lookup</h2><div class="link-note"><p><a href="' + hosturl + '">' + hostname + '</a> is a semi-automated blog with aggregated news and comments. All quotations come with full attribution to their authors. Posted using <a href="http://www.technorati.com">Technorati</a><!--, <a href="http://www.alexa.com">Alexa</a>--> and <a href="http://www.google.com">Google</a> sources. Thumbnail previews come from <a href="http://www.thumbshots.org">Thumbshots.org</a>.<br/><img src="http://www.acado.com/img/peter_60.gif" height="60" width="60" hspace="4" vspace="3" align="right" alt="Peter" border="0">&nbsp;&nbsp;This work is published by Peter Grossmann, cofounder of the <a href="http://www.acado.com/">acado.com</a> ebusiness research group.</p><p>A note to potential buyers: &nbsp;&nbsp;I&nbsp;am further developing this site, but I might be willing to sell.</p><p>To contact me please leave your message.</p><p>Call <i>(+1) 714 408 77 60</i></p><p>or E-Mail to <i>peter (at) acado.com</i></p><p><a href="http://www.1and1.com/?k_id=8326994" title="Hosted by 1and1.com"><img src="http://www.acado.com/img/_1_1.gif" align="left" height="28" width="36" border="0" alt="Hosted by 1and1.com"></a></p></div>');