/*
	Create Panel containing Sources Search Controls
	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(
"<FORM id='frmSourcesSearch' action='http://www.sources.com/cgisearch/cgisearch.exe' method=post onsubmit='return sso.SourcesFormValidate(this)' \
 ENCTYPE='application/x-www-form-urlencoded'  \
 style='text-align:center;padding: 10px 0 5px 0;font-size:10px;'><INPUT name=LISTINGS type=hidden  value=LISTINGS><INPUT name=SQL type=hidden value=LINK> \
<span id='lblSourcesSearch' style='padding-right:15px;'>Search <b>SOURCES</b>:</span> \
<br> \
<input id='edSourcesSearch' name='Find' type='Text' style='font-size:10px;width:120px;'> \
<br> \
<input id='btnSourcesSearchTopics' name='SH' type=submit onClick='sso.SourcesButton=this.name' value='Topics' style='font-size:9px;'	> \
&nbsp; \
<input id='btnSourcesSearchNames' name='TI' type=submit onClick='sso.SourcesButton=this.name' value='Names' style='font-size:9px;'	> \
</FORM>");
