///////////////////////////////////////////////////////////////////////
function BuscaGo() {
function subx (tst) {
var tst = tst;
tst = escape(tst);
tst = tst.replace(/a/gi, "a");
tst = tst.replace(/á/gi, "a");
tst = tst.replace(/â/gi, "a");
tst = tst.replace(/é/gi, "e");
tst = tst.replace(/e/gi, "e");
tst = tst.replace(/í/gi, "i");
tst = tst.replace(/î/gi, "i");
tst = tst.replace(/ó/gi, "o");
tst = tst.replace(/ô/gi, "o");
tst = tst.replace(/ú/gi, "u");
tst = tst.replace(/u/gi, "u");
tst = tst.replace(/ç/gi, "c");
tst = encodeURI(tst);
tst = tst.replace(/%C3%B5/gi, "o");
tst = tst.replace(/%C3%A3/gi, "a");
tst = tst.replace(/%C3%AA/gi, "e");
tst = tst.replace(/%C3%BB/gi, "u");
tst = tst.replace(/%C3%B1/gi, "n");
tst = tst.replace(/%C3%A7/gi, "c");
return tst;
}
var qx_value = subx(document.busca.q.value);
var xx_value = subx(document.busca.extra.value);
var base = document.busca.root.value;
if(xx_value==''){
var URL = base + "classificados/" + qx_value ;
location.href = URL;
} else {
var URL = base + "classificados/"+qx_value+"/"+xx_value ;
location.href = URL;
}

}

///////////////////////////////////////////////////////////////////////
function focus() {
document.busca.q.focus();
return;
}
///////////////////////////////////////////////////////////////////////