
function searchGoogle() { 
  searchString = document.GoogleForm.searchString.value		// get search data from form
  searchTerms = searchString.split(" ")				// split search terms into array

  searchURL = "http://www.google.com/search?as_qt=w&as_q="
  for (x = 0; x < searchTerms.length; x++) {
    searchURL += searchTerms[x]					// add each term to URL string
    searchURL += (x == searchTerms.length - 1) ? "" : "+"	// concatenate terms with +
  }
  searchURL += "&as_eqt=w&as_eq=&as_dt=i&sitesearch=state.ak.us&lr=&num=50&btnG=Google+Search"

document.location=searchURL;
 // parent.bottom.location.href = searchURL			// send the data to google
  return false							// prevent the form from submitting
}
