function escribeArchAV_i() { try { if (httpGetDatos.readyState == 4) { results = httpGetDatos.responseText; ajaxDiv=document.getElementById('archav_i'); ajaxDiv.innerHTML=results; } } catch(e) { alert (e.description); } } function getArchAV(idAjaxDiv, page) { try { if (httpGetDatos.readyState == 4 || httpGetDatos.readyState == 0) { ajaxDiv=document.getElementById(idAjaxDiv); ajaxDiv.innerHTML='



'; httpGetDatos.open("GET",'/comun/_remote.asp?fx=AAV' + '&l=ES'+ '&t=FOT'+ '&page='+page+ '&rand='+Math.floor(Math.random() * 1000000), true); httpGetDatos.onreadystatechange = escribeArchAV_i; httpGetDatos.send(null); } } catch (e) { alert ('err:' +e.description); } }