function ajaxReturnContentPageCategoria(strUrl){
    var xmlHttp;
    try  {
		xmlHttp=new XMLHttpRequest();
    }
    catch (e) {
          try  {
            xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
          }
          catch (e) {
			try {
				xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch (e) {
				alert("Your browser does not support AJAX!");
				return false;
			}
          }
    }
    
    xmlHttp.onreadystatechange=function() {
        if(xmlHttp.readyState==4){
				ajaxResultCategoria(xmlHttp.responseText);
        }
    }
    xmlHttp.open("GET",strUrl,true);
    xmlHttp.send(null);
  }


function recuperaDatosCategoria(){
    strURL="AjaxCategoria.jsp?cuenta="+document.forms[0].categoria.options[document.forms[0].categoria.selectedIndex].value;
    ajaxReturnContentPageCategoria(strURL);
}

function ajaxResultCategoria(consulta){
    var estadoTip=document.getElementById('estadoTip');
   estadoTip.innerHTML=consulta;    
}