function box_blogs() {
	if (document.faganForm.t.value=="") {
		alert("Please enter some text to search.");
		document.faganForm.t.focus();
		}
	else if (document.faganForm.s.value=="") {
		alert("Please select a search tool.");
		document.faganForm.s.focus();
		}
	else {
		location.href = "http://" + document.faganForm.s.value + "=" + escape(document.faganForm.t.value);
		}
	}

var a = "";
a += "<form name=\"faganForm\" method=\"get\" action=\"\" onsubmit=\"box_blogs();return false\" style=\"padding:0;margin:0\" class=\"faganFormClass\">";
a += "<a href=\"http://www.faganfinder.com/blogs/\" hreflang=\"en\" title=\"Fagan Finder: Weblogs, Journals, and RSS\" style=\"font-family:Arial,Helvetica,Sans-Serf;font-size:1em;font-weight:bold\" class=\"faganName\">Fagan Finder</a>";
if (format=="long") { a += " "; } else { a += "<br />"; }
a += "<input name=\"t\" maxlength=\"255\" size=\"20\" title=\"enter your search terms here\" class=\"faganTextboxClass\"/>";
if (format=="long") { a += " "; } else { a += "<br />"; }

a += "<select name=\"s\" class=\"faganSelectClass\" title=\"choose a tool to search with\">";
var tools = "";
if (show != "some") {
	tools += "Search for:,,Daypop,www.daypop.com/search?t=w&q,Waypath,nav4.waypath.com/kws.jsp?qs,BlogStreet,www.blogstreet.com/blogsqlbin/search.cgi?ps=20&o=0&m=all&wm=wrd&wf=222F20&q,Fresh Search,terrar.com/cgi-bin/search.pl?q,Wander-Lust,wander-lust.com/searchme.cgi?searchtype=any&searchfor,Gbloogle,gbloogle.benhammersley.com/htsearch.cgi?config=htdig&method=and&format=builtin-long&sort=score&words";
	tools += ",Search RSS Feed:,,Daypop,www.daypop.com/search?t=h&q,Feedster,www.feedster.com/search.php?hl=en&ie=ISO-8859-1&q,rssSearch,www.rss-search.com/index.cgi/SearchResult?IR_FreeText,BlogDigger,www.blogdigger.com/search.jsp?sortby=date&days=30&queryString,Feeder,feeder.ripcord.co.nz/?terms";
	tools += ",Search For Blogs,,BlogHop,www.bloghop.com/search.htm?phrase,Eatonweb Portal,portal.eatonweb.com/search.php?new=true&on,Diarist.net,www.diarist.net/cgi-bin/links/search.cgi?query,Google Directory,www.google.com/search?cat=gwd/Top/Computers/Internet/On_the_Web/Weblogs&q,Blogwise,www.blogwise.com/search.php?query,the Pepys Project,pepys.akacooties.com/cgi-bin/links2/search.cgi?query,Ageless Proj.,jenett.org/ageless/search/?seek,Blizg,www.blizg.com/search/?q,Blog &amp; Journal DB,fried-spaghetti.com/cgi-bin/links/search.cgi?query,Weblog Review,www.theweblogreview.com/search.php?sname,Photoblogs.org,www.photoblogs.org/search/?q,Yahoo! Directory,search.yahoo.com/search/dir?r=Social ScienceCommunicationsWritingJournals and DiariesOnline Journals and Diaries&p,LookSmart,www.looksmart.com/r_search?search=us893984&key,Blogarama,www.blogarama.com/index.php?term,blogs4God,www.blogs4god.com/linker/search.php?kword,BlogMatrix,www.blogmatrix.com/blogtrack?search,Blo.gs,blo.gs?q";
	tools += ",Search RSS Feeds,,Syndic8,www.syndic8.com/feedlist.php?ShowStatus=all&ShowMatch,News Is Free,www.newsisfree.com/sources/search?HPEqname";
	tools += ",Metadata Collect,,Blogdex,blogdex.media.mit.edu/search.asp?idx=description&q,Popdex,www.popdex.com/search/?query";
	}
else {
	tools = "Google,www.google.com/search?q,Daypop,www.daypop.com/search?q,Waypath,nav4.waypath.com/kws.jsp?qs,BlogStreet,www.blogstreet.com/blogsqlbin/search.cgi?q,Fresh Search,terrar.com/cgi-bin/search.pl?q,Feedster,www.feedster.com/search.php?q,RSS Search,www.rss-search.com/search/Search.cgi?IR_FreeText";
	}
var atools = tools.split(",");
for (var i=0; i<atools.length-1; i+=2) {
	a += "<option value=\"" + atools[i+1] + "\">";
	if (atools[i+1] != "" && show != "some") { a += " &nbsp; &nbsp;"; }
	a += atools[i] + "</option>";
	}
a += "</select>";
if (format=="long") { a += " "; } else { a += "<br />"; }

a += "<input type=\"button\" value=\"search\" class=\"faganSubmitClass\" onclick=\"box_blogs()\" name=\"go\" />";
// a += "<br /><a hreflang=\"en\" href=\"http://www.faganfinder.com/site/searchbox.shtml\" style=\"font-size:0.8em;\" class=\"faganBoxClass\">&#8594; get your own search box</a>";
a += "</form>";

var netscape = "false";
if (navigator.appName.toLowerCase().indexOf("netscape")>-1 && (navigator.appVersion.charAt(0)=="4" || navigator.appVersion.charAt(0)=="3")) { netscape = "true"; }
if (netscape == "false") { document.write(a); }