var the_base
function get_word(from,base,word){
if(word=='')return false
serverPage=from+Url.encode(word)
the_base=base
doRequest(serverPage,go_result)}
function go_result(entry_id){
if(AJAX.readyState==4&&AJAX.status==200){
var lat=AJAX.responseText
if(lat){
myurl="http://songo.ru/"+the_base+"/"+lat
document.location.href=myurl}}}
function goToUrl(base,val){
myurl="http://songo.ru/"
if(base){
myurl=myurl+base+"/"}
myurl=myurl+Url.encode(val)
document.location.href=myurl}