var xmlHttp


function stateChanged(source) 
{ 
if (xmlHttp.readyState==4)
{ 
var cadena = xmlHttp.responseText;
var valores = cadena.split('*_*');	
document.getElementById("txtWall").innerHTML=valores[0];
//document.getElementById("estado").innerHTML=valores[1];
}
}

function stateChanged2(source) 
{ 
if (xmlHttp2.readyState==4)
{ 
document.getElementById("txtJoinTeamMSG").innerHTML=xmlHttp2.responseText;
jtwindow=dhtmlmodal.open('uep', 'div', 'txtJoinTeamMSG', 'unoespro.com', 'width=400,height=350;left=0,top=0,resize=1,scrolling=0')
document.getElementById("txtTeams").innerHTML='';
}
}

function stateChanged3(source) 
{ 
if (xmlHttp3.readyState==4)
{ 
document.getElementById("txtSuscribeMSG").innerHTML=xmlHttp3.responseText;
jtwindow=dhtmlmodal.open('uep', 'div', 'txtSuscribeMSG', 'unoespro.com', 'width=400,height=350;left=0,top=0,resize=1,scrolling=0')
}
}

function stateChanged4(source) 
{ 
if (xmlHttp4.readyState==4)
{ 
document.getElementById("txtActionTeamMSG").innerHTML=xmlHttp4.responseText;
jtwindow=dhtmlmodal.open('uep', 'div', 'txtActionTeamMSG', 'unoespro.com', 'width=400,height=350;left=0,top=0,resize=1,scrolling=0')
}
}

function stateChanged5(source) 
{ 
if (xmlHttp5.readyState==4)
{ 
document.getElementById("txtPrivateWall").innerHTML=xmlHttp5.responseText;
}
}

function stateChanged6(source) 
{ 
if (xmlHttp6.readyState==4)
{ 
document.getElementById("txtActionTeamMSG").innerHTML=xmlHttp6.responseText;
jtwindow=dhtmlmodal.open('uep', 'div', 'txtActionTeamMSG', 'unoespro.com', 'width=400,height=350;left=0,top=0,resize=1,scrolling=0')
}
}


function stateChanged7(source) 
{ 
if (xmlHttp7.readyState==4)
{ 
document.getElementById("listado").innerHTML=xmlHttp7.responseText;
}
}

function stateChanged8(source) 
{ 
if (xmlHttp8.readyState==4)
{ 
document.getElementById("listado").innerHTML=xmlHttp8.responseText;
}
}


function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp;
}
