function chooseSearch(searchChoice) {
	updateSearchChoice(searchChoice);
}

function updateSearchChoice(searchChoice) {
	if (searchChoice == 'googleBookSearch') {
		document.getElementById('quicksearch').innerHTML = "<input type=\"radio\" name=\"searchType\" onClick=\"javascript:chooseSearch(\'shell\');\" id=\"tcm_search\"><span style=\"color:#aaaaaa;\">Our website (Item #, Title or Keyword)</span>&nbsp;<br />"
      			+"<form action=\"http://books.google.com/books/shell\" method=\"get\" style=\"margin: 0px;\">"
			+"<input type=\"hidden\" value=\"en\" name=\"hl\">"
			+"&nbsp;OR&nbsp;<input maxLength=\"255\" name=\"q\" style=\"margin: 0pt; padding: 0pt; align:left;width: 125px;\">&nbsp;<input src=\"/images/gobutton.gif\" style=\"padding: 0pt;\" alt=\"submit search\" type=\"image\" name=\"btnG\"><br />"
			+"</form>"
			+"<input type=\"radio\" name=\"searchType\" id=\"googleBookSearch\" onClick=\"javascript:chooseSearch(\'googleBookSearch\');\" checked>Our book content (powered by Google)";
	} else  {
		document.getElementById('quicksearch').innerHTML = "<input type=\"radio\" name=\"searchType\" onClick=\"javascript:chooseSearch(\'shell\');\" align=\"left\" id=\"shellSearch\" checked>Our website (Item #, Title or Keyword)&nbsp;</span><br />"
			+"<form action=\"http://estore.seppub.com/estore/search/searchResults\" method=\"get\">"
			+"&nbsp;OR&nbsp;<input name=\"SEARCH_TERM\" value=\"\" style=\"margin: 0pt; padding: 0pt; width: 125px;\" class=\"input-box\" type=\"text\">&nbsp;<input src=\"/images/gobutton.gif\" alt=\"submit search\" type=\"image\"><br />"
			+"</form>"
			+"<input type=\"radio\" name=\"searchType\" align=\"left\" id=\"googleBookSearch\" onClick=\"javascript:chooseSearch(\'googleBookSearch\');\"><span style=\"color:#aaaaaa;\">Our book content (powered by Google)</span><br />"
	}
}
