
function initAJAXObject(){try{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e){try{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");}
catch(E){xmlhttp=false;}}
if(!xmlhttp&&typeof XMLHttpRequest!='undefined'){xmlhttp=new XMLHttpRequest();}
return xmlhttp;}
function openPopup(url,tag,params){object=initAJAXObject();object.open("GET",url+"?"+params,true);object.onreadystatechange=function(){if(object.readyState==4)
{if(object.status==200){popup=object.responseText;if(document.getElementById("calculando_wait"))
{document.getElementById("calculando_wait").style.display="none";document.getElementById("calculando_wait").style.height="0px";}
document.getElementById(tag).innerHTML=popup;}}}
object.send(null);}
function voteUpNode(rndtext,tag,params){object=initAJAXObject();object.open("GET","/votar.php?rnd="+rndtext+"&sid="+tag+"&code="+params,true);object.onreadystatechange=function(){if(object.readyState==4)
{if(object.status==200){popup=object.responseText;document.getElementById("node_votes_"+tag).innerHTML=popup;}}}
object.send(null);}
function openPopupNull(url,params){object=initAJAXObject();object.open("GET",url+"?"+params,true);object.onreadystatechange=function(){if(object.readyState==4)
{if(object.status==200){popup=object.responseText;}}}
object.send(null);}
function getINMLocs(url,tag,params){object=initAJAXObject();object.open("GET",url+"?"+params,true);object.onreadystatechange=function(){if(object.readyState==4)
{if(object.status==200){popup=object.responseText;document.getElementById(tag).innerHTML=popup;}}}
object.send(null);}
