
function changePage(form){

		var strQuery  = document.form.query.value;
		var strEngine = document.form.site.options[document.form.site.selectedIndex].value;
		var strRed = "";

		if( strEngine == "altavista" )
			strRed = "http://www.altavista.com/cgi-bin/query?pg=q&sc=on&hl=on&q=" + strQuery + "&kl=XX&stype=stext&search.x=16&search.y=11";
		else if ( strEngine == "yahoo" )
			strRed = "http://ink.yahoo.com/bin/query?p=" + strQuery + "&hc=0&hs=0";
		else if ( strEngine == "megaspider" )
			strRed = "http://search.megaspider.com/XP.html?" + strQuery;
		else if ( strEngine == "infoseek" )
			strRed = "http://infoseek.go.com/Titles?col=WW&qt=" + strQuery + "&svx=home_searchbox&sv=IS&lk=noframes";
		else if ( strEngine == "webcrawler" )
			strRed = "http://www.webcrawler.com/cgi-bin/WebQuery?searchText=" + strQuery;
		else if ( strEngine == "lycos" )
			strRed = "http://www.lycos.com/srch/?lpv=1&loc=searchhp&query="+ strQuery + "&x=0&y=0" ;
		else if ( strEngine == "hotbot" )
			strRed = "http://hotbot.lycos.com/?MT=" + strQuery + "&SM=MC&DV=0&LG=any&DC=10&DE=2&x=39&y=5" ;
		else if ( strEngine == "google" )
			strRed = "http://www.google.com/search?q=" + strQuery + "&sa=Google+Search" ;
		else if ( strEngine == "snap" )
			strRed = "http://www.snap.com/search/directory/results/1,61,-0,00.html?tag=st.v2.fdsb.1&keyword=" + strQuery;
		else if ( strEngine == "dictionary" )
			strRed = "http://www.dictionary.com/cgi-bin/dict.pl?term=" + strQuery;
		else if ( strEngine == "pcgame" )
			strRed = "http://www.pcgame.com/find.cgi?string=" + strQuery;
		else if ( strEngine == "thunderstone" )
			strRed = "http://go2net.thunderstone.com/texis/websearch/?q=" + strQuery +"&max=20&dbsu=1";
		else if ( strEngine == "cnn" )
			strRed = "http://www.looksmart.com/r_search?l&izcb&pin=000412x63d356ff15b5d84c8d1&sites=Internet&qc=&col=cnni&qm=0&st=1&nh=10&rf=1&key=" + strQuery + "&venue=all&keyword=&" + strQuery;
		else if ( strEngine == "newsindex" )
			strRed = "http://www.newsindex.com/cgi-bin/process.cgi?query="+ strQuery + "&mode=any";
		else if ( strEngine == "encyclopedia" )
			strRed = "http://www.encyclopedia.com/cgi-bin/search.cgi?search="+ strQuery + "&sp=sp&searchButton.x=17&searchButton.y=18";
		else if ( strEngine == "euroseek" )
			strRed = "http://www.euroseek.com/query?ilang=en&width=468&height=60&lang=world&domain=world&query="+ strQuery + "&Search.x=46&Search.y=10";
		else if ( strEngine == "wormbat" )
			strRed = "http://202.139.99.132/wombat?I="+ strQuery + "&global.x=34&global.y=11";
		else if ( strEngine == "ukmax" )
			strRed = "http://search.ukmax.com/search/default.asp?MT="+ strQuery + "&RG=&OPs=R&RD=RG&act.search.x=10&act.search.y=10";
		else if ( strEngine == "highway61" )
			strRed = "http://www.highway61.com/nph-seek.cgi?string="+ strQuery + "&bool=and&new_wins=on&speed=reasonable&hits=lots&yahoo_cats=on&armadillo=5&s=wwwyx&dom=net&c=67545";
		else if ( strEngine == "whatuseek" )
			strRed = "http://element2.chubba.com/cgi-bin/texis/scripts/search3?source=engine&group=1&arg="+ strQuery ;
		else if ( strEngine == "northernlight" )
			strRed = "http://www.northernlight.com/nlquery.fcg?cb=0&qr="+ strQuery +"&orl=2%3A1&search.x=24&search.y=13";
		else if ( strEngine == "zdnet" )
			strRed = "http://xlink.zdnet.com/cgi-bin/texis/xlink/websearch/search.html?Utext="+ strQuery ;
		else if( strEngine == "microsoft" )
			strRed = "http://search.microsoft.com/us/SearchMS.asp?qu=" + strQuery + "&btnSearch=GO&so=RECCNT&boolean=PHRASE&intCat=0&intCat=1&intCat=2&intCat=3&intCat=4&intCat=5&intCat=6&intCat=7&intCat=8&intCat=9&nq=NEW&p=1";

	window.open(strRed, "", "");
}
