function bookAuthor(kword) {
	
	if(kword.match(/\D/)) { 
		return false; 
	} else if(kword.length<10) {
		document.write('<div class="author_info">');
		document.write('<img src="http://www.randomhouse.com/images/dyn/auth/?source=' + kword + '&width=170" alt="" />');
		document.write('<\/div>');
	} else {
		document.write('<div class="book_info">');
		document.write('<img src="http://www.randomhouse.com/images/dyn/cover/?source=' + kword + '&height=300&maxwidth=170" alt="" border="0" />');
		document.write('<p><strong>Buy the Book<\/strong><br />');
		document.write('<a href="http://www.amazon.com/s/field-keywords=' + kword + '&search-alias=stripbooks">Amazon<\/a> | ');
		document.write('<a href="http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?z=y&EAN=' + kword + '">B&amp;N<\/a><br>');
		document.write('<a href="http://www.borders.com/online/store/SearchResults?book_search=&sku=' + kword + '">Borders<\/a> | ');
		document.write('<a href="http://www.indiebound.org/zip.php">Indie Bound<\/a> <br>');
		document.write('<a href="http://www.randomhouse.com/catalog/display.pperl?isbn=' + kword + '">Random House<\/a><\/p><p><a href="http://www.randomhouse.com/catalog/display.pperl?isbn=' + kword + '">About the Book<\/a><br /><a href="http://www.randomhouse.com/catalog/display.pperl?isbn=' + kword + '&view=excerpt">Read an excerpt<\/a><\/p>');
		document.write('<\/div>');
	}
}