Function Searchfun (Whoform, Winsign) {
E = whoform.sq [whoform.sq.selected ".value;
K = whoform.k.value;
IF (k == "|| k ==" Please enter keyword ") {alert (" Please enter keywords! "); k ="; whoform.k.focus (); return false;}
IF (e == "baidu") {searchurl = "
http://www1.baidu.com/baidu?word=" k;}
IF (e == "Yahoo_CN") {searchURL = "
Http://cn.search.yahoo.com/search/cn?p=" k;}
IF (e == "sina_cn") {searchURL = "
http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey=" k;}
IF (e == "sohu") {searchurl = "
http://site.search.sohu.com/website.jsp?key_word=" k;}
IF (e == "163com") {searchURL = "
Http://search.163.com/cgi-bin/search/Engine/search.fcgi?key=" k;}
IF (e == "Tom") {searchURL = "
Http://web01.baidu.com/baidu?tn=tomds&sr=k;}
IF (e == "yahoo_tw") {searchURL = "
Http://tw.search.yahoo.com/search/kimo?p=" k;}
IF (e == "YAM") {searchURL = "
http://dir.yam.com/bin/search?k=" k;}
IF (e == "yahoo") {searchURL = "
http://search.yahoo.com/bin/search?p=" k;}
IF (e == "eXcite") {searchURL = "
http://msxml.excite.com/_1_8wcui50371nn81__info.xcite/dog/results?otmpl=dog/webresults.htm&qkw=" k;}
IF (winsign == 0) {window.location = searchURL;}
IF (Winsign == 1) {WINDOW.OPEN (SearchURL, "_ Blank");
Return False;
}
script>