/*
	Create Sources Search Controls within Side Bar Menu for extra websites
	Last Modified - Mar 28, 2009
*/
//create sso object
if( typeof(sso) != 'object') {
	sso = function() {
		this.SourcesButton = "";
		this.SourcesFormValidate = function ( AForm ) {
			if(sso.SourcesButton == ""){
				alert('A search type was not selected.\n\nPlease click the "Topics" \nor "Names" search buttons.');
				return false;
			}	else return true;
	} }
}		
document.write( "\
<div class=ssoSideBarMenu> \
<h1><span>Search <b>SOURCES</b></span></h1> \
<FORM id='frmSBSearch' action='http://www.sources.com/cgisearch/cgisearch.exe' method=post onsubmit='return sso.SourcesFormValidate(this)' \
 ENCTYPE='application/x-www-form-urlencoded'  \
 style='border-bottom: dotted 1px;text-align:center;padding: 10px 0 5px 0;font-size:10px;'> \
<input id='edSBSearch' name='Find' type='Text' style='font-size:10px;width:120px;'> \
<br> \
<input id='btnSBSearchTopics' name='SH' type=submit onClick='sso.SourcesButton=this.name' value='Topics' style='font-size:9px;'	> \
&nbsp; \
<input id='btnSBSearchNames' name='TI' type=submit onClick='sso.SourcesButton=this.name' value='Names' style='font-size:9px;'	> \
<INPUT name=LISTINGS type=hidden  value=LISTINGS><INPUT name=SQL type=hidden value=LINK> </FORM> \
<a href='http://www.sources.com/Listings/Li_Az_Index.htm'><b>Browse A to Z Index</b></a> \
<a class=ssoSideBarMenuLastItem href='http://www.sources.com/Listings/Li_SubjectIndex.htm'><b>Browse Topic Index</b></a> \
</div>	\
");
