<!--

function Procedure1()
{
	
	which=document.searchform.cp.selectedIndex;
	which=document.searchform.cp[which].value; 
	searchstring=document.searchform.q.value;
	searchstring=escape(searchstring);
	newstring="";
	
	for (i = 0 ; i <= searchstring.length ; i++) 
	{
		thesub = searchstring.substring(i,i+1);
		if (thesub != "/" && thesub != "+" && thesub != "%") 
		{
			newstring = newstring+thesub;
		} 
		else 
		{
			if (thesub == "/") 
			{
				newstring = newstring+"%2F";
			}
			if (thesub == "+") 
			{
				newstring = newstring+"%2B";
			}
			if (thesub == "%") 
			{
				if (searchstring.substring(i,i+3) == "%20") 
				{
					newstring = newstring+"+";
					i+=2;
				} 
				else 
				{
					newstring = newstring+thesub;
				}
			}
		}
	}

	searchstring=newstring;

	if (which == "AltaVista")
	{
		newstring = "http://www.altavista.com/cgi-bin/query?q=" + searchstring + "&kl=XX&pg=q&Translate=on";
		parent.parent.top.location = newstring;
	}
		if (which == "delicious")
	{
		newstring = "http://delicious.com/search?p=" + searchstring;
		parent.parent.top.location = newstring;
	}
	if (which == "cambridge")
	{
		newstring = "http://dictionary.cambridge.org/results.asp?searchword=" + searchstring;
		parent.parent.top.location = newstring;
	}
	if (which == "facebook")
	{
		newstring = "http://www.facebook.com/search/results.php?q=" + searchstring;
		parent.parent.top.location = newstring;
	}
	
	if (which == "shoutcast")
	{
		newstring = "http://www.shoutcast.com/Internet-Radio/" + searchstring;
		parent.parent.top.location = newstring;
	}	
	if (which == "jgpadmin")
	{
		newstring = "https://secure.jobsgopublic.com/index.cfm?fuseaction=AdminJob.Search&sort=create_date&sortDir=desc&columnList=4&columnList=6&columnList=7&columnList=8&site_id=0&advertiser_id=0&directorate_id=0&reference=&title=&job_status_id=2&keywords=" + searchstring + "&maxrows=20&btnFilter=Update+Filter";
		parent.parent.top.location = newstring;
	}	
	if (which == "Ebay")
	{
		newstring = "http://desc.shop.ebay.co.uk/i.html?_nkw=" + searchstring + "&_odkw=" + searchstring + "&LH_TitleDesc=1&_rdc=1";
		parent.parent.top.location = newstring;
	}
	if (which == "twittersearch")
	{
		newstring = "http://search.twitter.com/search?q=" + searchstring;
		parent.parent.top.location = newstring;
	}

	if (which == "bartleby")
	{
		newstring = "http://www.bartleby.com/cgi-bin/texis/webinator/sitesearch?FILTER=&query=" + searchstring + "&x=5&y=11";
		parent.parent.top.location = newstring;
	}

	if (which == "dictionary")
	{
		newstring = "http://www.bartleby.com/cgi-bin/texis/webinator/sitesearch?FILTER=col61&query=" + searchstring + "&x=11&y=15";
		parent.parent.top.location = newstring;
	}

	if (which == "acronym")
	{
		newstring = "http://www.acronymfinder.com/af-query.asp?String=exact&Acronym=" + searchstring + "&Find=Find";
		parent.parent.top.location = newstring;
	}

	if (which == "anagram")
	{
		newstring = "http://www.wordsmith.org/anagram/anagram.cgi?anagram=" + searchstring;
		parent.parent.top.location = newstring;
	}

	if (which == "filext")
	{
		newstring = "http://www.filext.com/detaillist.php?extdetail=" + searchstring + "&Submit3=Go%21";
		parent.parent.top.location = newstring;
	}
if (which == "linksheep")
	{
		newstring = "http://www.linksheep.com/info/?s=" + searchstring;
		parent.parent.top.location = newstring;
	}
if (which == "wolfram")
{
	newstring = "http://www.wolframalpha.com/input/?i=" + searchstring;
	parent.parent.top.location = newstring;
}
	if (which == "misco")
	{
		newstring = "http://www.misco.co.uk/applications/factfinder/search.asp?querytext=" + searchstring;
		window.location.href = newstring;
	}

	if (which == "maplin")
	{
		newstring = "http://www.maplin.co.uk/Search.aspx?doy=14m11&source=15&criteria=" + searchstring;
		parent.parent.top.location = newstring;
	}

	if (which == "dabs")
	{
		newstring = "http://www.dabs.com/ProductList.aspx?SearchTerms=" + searchstring + "&SearchMode=All&SearchKey=All&PageMode=3&NavigationKey=0&SearchType=1";
		parent.parent.top.location = newstring;
	}

	if (which == "simply")
	{
		newstring = "http://www.simply.co.uk/search/" + searchstring + "/index.htm";
		parent.parent.top.location = newstring;
	}

	if (which == "wiki")
	{
		newstring = "http://en.wikipedia.org/wiki/" + searchstring;
		parent.parent.top.location = newstring;
	}
	if (which == "argos")
	{
		newstring = "http://www.argos.co.uk/webapp/wcs/stores/servlet/Search?storeId=10001&catalogId=1751&langId=-1&searchTerms=" + searchstring + "&go.x=8&go.y=12";
		parent.parent.top.location = newstring;
	}

	if (which == "multimap")
	{
		newstring = "http://www.multimap.com/map/browse.cgi?client=public&db=pc&lang=&addr1=&client=public&addr2=&advanced=&addr3=&pc=" + searchstring + "&quicksearch=" + searchstring + "&cidr_client=none";
		parent.parent.top.location = newstring;
	}
		if (which == "wikia")
	{
		newstring = "http://search.wikia.com/search.html#" + searchstring;
		parent.parent.top.location = newstring;
	}
			if (which == "youtube")
	{
		newstring = "http://www.youtube.com/results?search_type=&search_query=" + searchstring;
		parent.parent.top.location = newstring;
	}

	if (which == "upmystreet")
	{
		newstring = "http://www.upmystreet.com/local/l/" + searchstring +".html";
		parent.parent.top.location = newstring;
	}

	if (which == "streetmap")
	{
		newstring = "http://www.streetmap.co.uk/newsearch.srf?newsearch=&newmap=&name=" + searchstring + "&type=UKstreet";
		parent.parent.top.location = newstring;
	}

		if (which == "cnetreviews")
	{
		newstring = "http://reviews.cnet.com/1770-5_7-0.html?query=" + searchstring;
		parent.parent.top.location = newstring;
	}
	if (which == "bbc")
	{
		newstring = "http://search.bbc.co.uk/search?uri=%2F&scope=all&go=toolbar&q=" + searchstring;
		parent.parent.top.location = newstring;
	}

	if (which == "imdb")
	{
		newstring = "http://www.imdb.com/find?tt=on;nm=on;mx=20;q=" + searchstring;
		parent.parent.top.location = newstring;
	}
		
	if (which == "jgp")
	{
		newstring = "http://www.jobsgopublic.com/searches?search_criteria_keyword=" + searchstring;
		parent.parent.top.location = newstring;
	}
	

	if (which == "spellcheck")
	{
		newstring = "http://www.spellcheck.net/cgi-bin/spell.exe?action=CHECKWORD&string=" + searchstring;
		parent.parent.top.location = newstring;
	}
	
	if (which == "sourceforge")
	{
		newstring = "http://sourceforge.net/search/?type_of_search=soft&forum_id=102881&atid=0&words=" + searchstring;
		parent.parent.top.location = newstring;
	}
	if (which == "Lycos")
	{
		newstring = "http://www.lycos.com/cgi-bin/pursuit?matchmode=and&cat=lycos&query=" + searchstring;
		parent.parent.top.location = newstring;
	}

	if (which == "HotBot")
	{
		newstring = "http://www.hotbot.com/?MT=" + searchstring + "&SM=MC&DV=0&LG=any&DC=10&DE=2&BT=H&Search.x=39&Search.y=15";
		parent.parent.top.location = newstring;
	}

	if (which == "Excite")
	{
		newstring = "http://search.excite.com/search.gw?search=" + searchstring;
		parent.parent.top.location = newstring;
	}

	if (which == "Webcrawler")
	{
		newstring = "http://www.webcrawler.com/cgi-bin/WebQuery?searchText=" + searchstring;
		parent.parent.top.location = newstring;
	}

	if (which == "Yahoo")
	{
		newstring = "http://search.yahoo.com/bin/search?p=" + searchstring;
		parent.parent.top.location = newstring;
	}

	if (which == "GoogleGroups")
	{
		newstring = "http://groups.google.com/groups?q=" + searchstring + "&btnG=Search&meta=site%3Dgroups";
		parent.parent.top.location = newstring;
	}

	if (which == "Magellan")
	{
		newstring = "http://www.mckinley.com/search.gw?c=web&look=magellan&search=" + searchstring;
		parent.parent.top.location = newstring;
	}


	if (which == "alexa")
	{
		newstring = "http://www.alexa.com/search?q=" + searchstring;
		parent.parent.top.location = newstring;
	}
	if (which == "Finger")
	{
		newstring = "http://www.cs.indiana.edu:800/finger/gateway?" + searchstring;
		parent.parent.top.location = newstring;
	}

	if (which == "Searchcom")
	{
		newstring = "http://www.search.com/search?channel=1&tag=st.se.fd..sch&q=" + searchstring;
		parent.parent.top.location = newstring;
	}

	if (which == "Who")
	{
		document.whowhere.name.value = document.searchform.T1.value;
		document.whowhere.submit();
	}

	if (which == "MetaFind")
	{
		newstring = "http://search.metacrawler.com/crawler?general=" + searchstring
		parent.parent.top.location = newstring;
	}

	if (which == "Dogpile")
	{
		newstring = "http://cujo.dogpile.com/texis/search?q=" + searchstring + "&fs=web&to=thirty";
		parent.parent.top.location = newstring;
	}

	if (which == "NorthernLight")
	{
		newstring = "http://www.northernlight.com/nlquery.fcg?cb=0&qr=" + searchstring + "&orl=";
		parent.parent.top.location = newstring;
	}
	if (which == "Google")
	{
		newstring = "http://www.google.com/search?q=" + searchstring + "&num=10";
		parent.parent.top.location = newstring;
	}
	if (which == "Googlemaps")
	{
		newstring = "http://maps.google.co.uk/maps?q=" + searchstring + "&hl=en";
		parent.parent.top.location = newstring;
	}	
	if (which == "ixQuick")
	{
		newstring = "http://ixquick.com/do/metasearch.pl?cat=web&cat=web&cmd=process_search&language=english&query=" + searchstring
		parent.parent.top.location = newstring;
	}
	
	if (which == "alistapart")
	{
		newstring = "http://search.atomz.com/search/?sp-q=" + searchstring + "&x=0&y=0&sp-a=sp1002d27b&sp-f=ISO-8859-1&sp-p=All&sp-k=All";
		parent.parent.top.location = newstring;
	}

}

//-->

