
function clearSearchbox()
{ 
	document.formsearchbox.addwords.value = '';
}

function refreshSearchbox()
{ 
	if (document.formsearchbox.addwords.value == '') 
	    document.formsearchbox.addwords.value = 'Enter Keyword or Phrase';
}

function search_library(style)
{
	switch (style)
	{

	case 'r1':
	document.write("	<link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search.css' type='text/css' />");
	document.write("	<!--[if IE]><link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search_ie.css' type='text/css' /><![endif]-->");
	document.write("	<div class='rectangle r1'>");
	document.write("		<div class='title'>Colson Center Library Search</div>");
	document.write("		<div class='searcharea'>");
	document.write("			<form id='formsearchbox' name='formsearchbox' action='http://www.colsoncenter.org/search-library/search?view=searchresults' method='post'>");
	document.write("				<input type='text' name='addwords' class='searchbox' id='addwords' size='20' value='Enter Keyword or Phrase' onFocus='clearSearchbox();' onBlur='refreshSearchbox();'>");
	document.write("				<input type='image' class='submitbutton' src='http://www.colsoncenter.org/widgets/library_search/images/r1_submitbutton.jpg' />");
	document.write("				<input type='hidden' name='0ea8b5c356211b432ce9f881c8cd0cb3' value='1' />");
	document.write("				<input type='hidden' name='option' value='com_library' />");
	document.write("			</form>");
	document.write("		</div>");
	document.write("		<div class='tagline'>Search for Christian Worldview Resources</div>");
	document.write("	</div>");
	break;

	case 'r2':
	document.write("	<link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search.css' type='text/css' />");
	document.write("	<!--[if IE]><link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search_ie.css' type='text/css' /><![endif]-->");
	document.write("	<div class='rectangle r2'>");
	document.write("		<div class='title'>Colson Center Library Search</div>");
	document.write("		<div class='searcharea'>");
	document.write("			<form id='formsearchbox' name='formsearchbox' action='http://www.colsoncenter.org/search-library/search?view=searchresults' method='post'>");
	document.write("				<input type='text' name='addwords' class='searchbox' id='addwords' size='20' value='Enter Keyword or Phrase' onFocus='clearSearchbox();' onBlur='refreshSearchbox();'>");
	document.write("				<input type='image' class='submitbutton' src='http://www.colsoncenter.org/widgets/library_search/images/r2_submitbutton.jpg' />");
	document.write("				<input type='hidden' name='0ea8b5c356211b432ce9f881c8cd0cb3' value='1' />");
	document.write("				<input type='hidden' name='option' value='com_library' />");
	document.write("			</form>");
	document.write("		</div>");
	document.write("		<div class='tagline'>Search for Christian Worldview Resources</div>");
	document.write("	</div>");
	break;

	case 'r3':
	document.write("	<link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search.css' type='text/css' />");
	document.write("	<!--[if IE]><link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search_ie.css' type='text/css' /><![endif]-->");
	document.write("	<div class='rectangle r3'>");
	document.write("		<div class='title'>Colson Center Library Search</div>");
	document.write("		<div class='searcharea'>");
	document.write("			<form id='formsearchbox' name='formsearchbox' action='http://www.colsoncenter.org/search-library/search?view=searchresults' method='post'>");
	document.write("				<input type='text' name='addwords' class='searchbox' id='addwords' size='20' value='Enter Keyword or Phrase' onFocus='clearSearchbox();' onBlur='refreshSearchbox();'>");
	document.write("				<input type='image' class='submitbutton' src='http://www.colsoncenter.org/widgets/library_search/images/r3_submitbutton.jpg' />");
	document.write("				<input type='hidden' name='0ea8b5c356211b432ce9f881c8cd0cb3' value='1' />");
	document.write("				<input type='hidden' name='option' value='com_library' />");
	document.write("			</form>");
	document.write("		</div>");
	document.write("		<div class='tagline'>Search for Christian Worldview Resources</div>");
	document.write("	</div>");
	break;

	case 'r4':
	document.write("	<link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search.css' type='text/css' />");
	document.write("	<!--[if IE]><link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search_ie.css' type='text/css' /><![endif]-->");
	document.write("	<div class='rectangle r4'>");
	document.write("		<div class='title'>Colson Center Library Search</div>");
	document.write("		<div class='searcharea'>");
	document.write("			<form id='formsearchbox' name='formsearchbox' action='http://www.colsoncenter.org/search-library/search?view=searchresults' method='post'>");
	document.write("				<input type='text' name='addwords' class='searchbox' id='addwords' size='20' value='Enter Keyword or Phrase' onFocus='clearSearchbox();' onBlur='refreshSearchbox();'>");
	document.write("				<input type='image' class='submitbutton' src='http://www.colsoncenter.org/widgets/library_search/images/r4_submitbutton.jpg' />");
	document.write("				<input type='hidden' name='0ea8b5c356211b432ce9f881c8cd0cb3' value='1' />");
	document.write("				<input type='hidden' name='option' value='com_library' />");
	document.write("			</form>");
	document.write("		</div>");
	document.write("		<div class='tagline'>Search for Christian Worldview Resources</div>");
	document.write("	</div>");
	break;

	case 'r5':
	document.write("	<link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search.css' type='text/css' />");
	document.write("	<!--[if IE]><link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search_ie.css' type='text/css' /><![endif]-->");
	document.write("	<div class='rectangle r5'>");
	document.write("		<div class='title'>Colson Center Library Search</div>");
	document.write("		<div class='searcharea'>");
	document.write("			<form id='formsearchbox' name='formsearchbox' action='http://www.colsoncenter.org/search-library/search?view=searchresults' method='post'>");
	document.write("				<input type='text' name='addwords' class='searchbox' id='addwords' size='20' value='Enter Keyword or Phrase' onFocus='clearSearchbox();' onBlur='refreshSearchbox();'>");
	document.write("				<input type='image' class='submitbutton' src='http://www.colsoncenter.org/widgets/library_search/images/r5_submitbutton.jpg' />");
	document.write("				<input type='hidden' name='0ea8b5c356211b432ce9f881c8cd0cb3' value='1' />");
	document.write("				<input type='hidden' name='option' value='com_library' />");
	document.write("			</form>");
	document.write("		</div>");
	document.write("		<div class='tagline'>Search for Christian Worldview Resources</div>");
	document.write("	</div>");
	break;

	case 'r6':
	document.write("	<link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search.css' type='text/css' />");
	document.write("	<!--[if IE]><link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search_ie.css' type='text/css' /><![endif]-->");
	document.write("	<div class='rectangle r6'>");
	document.write("		<div class='title'>Colson Center Library Search</div>");
	document.write("		<div class='searcharea'>");
	document.write("			<form id='formsearchbox' name='formsearchbox' action='http://www.colsoncenter.org/search-library/search?view=searchresults' method='post'>");
	document.write("				<input type='text' name='addwords' class='searchbox' id='addwords' size='20' value='Enter Keyword or Phrase' onFocus='clearSearchbox();' onBlur='refreshSearchbox();'>");
	document.write("				<input type='image' class='submitbutton' src='http://www.colsoncenter.org/widgets/library_search/images/r6_submitbutton.jpg' />");
	document.write("				<input type='hidden' name='0ea8b5c356211b432ce9f881c8cd0cb3' value='1' />");
	document.write("				<input type='hidden' name='option' value='com_library' />");
	document.write("			</form>");
	document.write("		</div>");
	document.write("		<div class='tagline'>Search for Christian Worldview Resources</div>");
	document.write("	</div>");
	break;

	case 's1':
	document.write("	<link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search.css' type='text/css' />");
	document.write("	<!--[if IE]><link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search_ie.css' type='text/css' /><![endif]-->");
	document.write("	<div class='square s1'>");
	document.write("		<div class='title'>Colson Center Library Search</div>");
	document.write("		<div class='searcharea'>");
	document.write("			<form id='formsearchbox' name='formsearchbox' action='http://www.colsoncenter.org/search-library/search?view=searchresults' method='post'>");
	document.write("				<input type='text' name='addwords' class='searchbox' id='addwords' size='20' value='Enter Keyword or Phrase' onFocus='clearSearchbox();' onBlur='refreshSearchbox();'>");
	document.write("				<input type='image' class='submitbutton' src='http://www.colsoncenter.org/widgets/library_search/images/s1_submitbutton.jpg' />");
	document.write("				<input type='hidden' name='0ea8b5c356211b432ce9f881c8cd0cb3' value='1' />");
	document.write("				<input type='hidden' name='option' value='com_library' />");
	document.write("			</form>");
	document.write("		</div>");
	document.write("		<div class='tagline'>Search for Christian Worldview Resources</div>");
	document.write("	</div>");
	break;

	case 's2':
	document.write("	<link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search.css' type='text/css' />");
	document.write("	<!--[if IE]><link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search_ie.css' type='text/css' /><![endif]-->");
	document.write("	<div class='square s2'>");
	document.write("		<div class='title'>Colson Center Library Search</div>");
	document.write("		<div class='searcharea'>");
	document.write("			<form id='formsearchbox' name='formsearchbox' action='http://www.colsoncenter.org/search-library/search?view=searchresults' method='post'>");
	document.write("				<input type='text' name='addwords' class='searchbox' id='addwords' size='20' value='Enter Keyword or Phrase' onFocus='clearSearchbox();' onBlur='refreshSearchbox();'>");
	document.write("				<input type='image' class='submitbutton' src='http://www.colsoncenter.org/widgets/library_search/images/s2_submitbutton.jpg' />");
	document.write("				<input type='hidden' name='0ea8b5c356211b432ce9f881c8cd0cb3' value='1' />");
	document.write("				<input type='hidden' name='option' value='com_library' />");
	document.write("			</form>");
	document.write("		</div>");
	document.write("		<div class='tagline'>Search for Christian Worldview Resources</div>");
	document.write("	</div>");
	break;

	case 's3':
	document.write("	<link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search.css' type='text/css' />");
	document.write("	<!--[if IE]><link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search_ie.css' type='text/css' /><![endif]-->");
	document.write("	<div class='square s3'>");
	document.write("		<div class='title'>Colson Center Library Search</div>");
	document.write("		<div class='searcharea'>");
	document.write("			<form id='formsearchbox' name='formsearchbox' action='http://www.colsoncenter.org/search-library/search?view=searchresults' method='post'>");
	document.write("				<input type='text' name='addwords' class='searchbox' id='addwords' size='20' value='Enter Keyword or Phrase' onFocus='clearSearchbox();' onBlur='refreshSearchbox();'>");
	document.write("				<input type='image' class='submitbutton' src='http://www.colsoncenter.org/widgets/library_search/images/s3_submitbutton.jpg' />");
	document.write("				<input type='hidden' name='0ea8b5c356211b432ce9f881c8cd0cb3' value='1' />");
	document.write("				<input type='hidden' name='option' value='com_library' />");
	document.write("			</form>");
	document.write("		</div>");
	document.write("		<div class='tagline'>Search for Christian Worldview Resources</div>");
	document.write("	</div>");
	break;

	case 's4':
	document.write("	<link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search.css' type='text/css' />");
	document.write("	<!--[if IE]><link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search_ie.css' type='text/css' /><![endif]-->");
	document.write("	<div class='square s4'>");
	document.write("		<div class='title'>Colson Center Library Search</div>");
	document.write("		<div class='searcharea'>");
	document.write("			<form id='formsearchbox' name='formsearchbox' action='http://www.colsoncenter.org/search-library/search?view=searchresults' method='post'>");
	document.write("				<input type='text' name='addwords' class='searchbox' id='addwords' size='20' value='Enter Keyword or Phrase' onFocus='clearSearchbox();' onBlur='refreshSearchbox();'>");
	document.write("				<input type='image' class='submitbutton' src='http://www.colsoncenter.org/widgets/library_search/images/s4_submitbutton.jpg' />");
	document.write("				<input type='hidden' name='0ea8b5c356211b432ce9f881c8cd0cb3' value='1' />");
	document.write("				<input type='hidden' name='option' value='com_library' />");
	document.write("			</form>");
	document.write("		</div>");
	document.write("		<div class='tagline'>Search for Christian Worldview Resources</div>");
	document.write("	</div>");
	break;

	case 's5':
	document.write("	<link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search.css' type='text/css' />");
	document.write("	<!--[if IE]><link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search_ie.css' type='text/css' /><![endif]-->");
	document.write("	<div class='square s5'>");
	document.write("		<div class='title'>Colson Center Library Search</div>");
	document.write("		<div class='searcharea'>");
	document.write("			<form id='formsearchbox' name='formsearchbox' action='http://www.colsoncenter.org/search-library/search?view=searchresults' method='post'>");
	document.write("				<input type='text' name='addwords' class='searchbox' id='addwords' size='20' value='Enter Keyword or Phrase' onFocus='clearSearchbox();' onBlur='refreshSearchbox();'>");
	document.write("				<input type='image' class='submitbutton' src='http://www.colsoncenter.org/widgets/library_search/images/s5_submitbutton.jpg' />");
	document.write("				<input type='hidden' name='0ea8b5c356211b432ce9f881c8cd0cb3' value='1' />");
	document.write("				<input type='hidden' name='option' value='com_library' />");
	document.write("			</form>");
	document.write("		</div>");
	document.write("		<div class='tagline'>Search for Christian Worldview Resources</div>");
	document.write("	</div>");
	break;

	case 's6':
	document.write("	<link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search.css' type='text/css' />");
	document.write("	<!--[if IE]><link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search_ie.css' type='text/css' /><![endif]-->");
	document.write("	<div class='square s6'>");
	document.write("		<div class='title'>Colson Center Library Search</div>");
	document.write("		<div class='searcharea'>");
	document.write("			<form id='formsearchbox' name='formsearchbox' action='http://www.colsoncenter.org/search-library/search?view=searchresults' method='post'>");
	document.write("				<input type='text' name='addwords' class='searchbox' id='addwords' size='20' value='Enter Keyword or Phrase' onFocus='clearSearchbox();' onBlur='refreshSearchbox();'>");
	document.write("				<input type='image' class='submitbutton' src='http://www.colsoncenter.org/widgets/library_search/images/s6_submitbutton.jpg' />");
	document.write("				<input type='hidden' name='0ea8b5c356211b432ce9f881c8cd0cb3' value='1' />");
	document.write("				<input type='hidden' name='option' value='com_library' />");
	document.write("			</form>");
	document.write("		</div>");
	document.write("		<div class='tagline'>Search for Christian Worldview Resources</div>");
	document.write("	</div>");
	break;

	default:
	document.write("	<link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search.css' type='text/css' />");
	document.write("	<!--[if IE]><link rel='stylesheet' href='http://www.colsoncenter.org/widgets/library_search/library_search_ie.css' type='text/css' /><![endif]-->");
	document.write("	<div class='square s1'>");
	document.write("		<div class='title'>Colson Center Library Search</div>");
	document.write("		<div class='searcharea'>");
	document.write("			<form id='formsearchbox' name='formsearchbox' action='http://www.colsoncenter.org/search-library/search?view=searchresults' method='post'>");
	document.write("				<input type='text' name='addwords' class='searchbox' id='addwords' size='20' value='Enter Keyword or Phrase' onFocus='clearSearchbox();' onBlur='refreshSearchbox();'>");
	document.write("				<input type='image' class='submitbutton' src='http://www.colsoncenter.org/widgets/library_search/images/s1_submitbutton.jpg' />");
	document.write("				<input type='hidden' name='0ea8b5c356211b432ce9f881c8cd0cb3' value='1' />");
	document.write("				<input type='hidden' name='option' value='com_library' />");
	document.write("			</form>");
	document.write("		</div>");
	document.write("		<div class='tagline'>Search for Christian Worldview Resources</div>");
	document.write("	</div>");
	break;

	}
}

