So you want it so that when the form submits, it searches the site you selected right?
Basically you want to ditch the submit button and put a
Code:
<button onclick="submitSearch()">Submit</button>
Then in the submitSearch function, you look at the value of the select and swap in the proper:
Code:
function submitSearch() {
var theForm = document.getElementById('searchForm');
var whichSite = document.getElementsByName('select')[0].value;
if(whichSite == 1) {
theForm.action = 'http://gallery-images.com/search/thisurlisfake'
} else if(whichSite == 2) {
...
}
theForm.submit()
Remember to add id="searchForm" to the form tag at the top of your code.