var req;function getlastactionusers(){var a;var b;var c;if(req.readyState==4){if(req.status==200){a=req.responseXML;if(a!=null){b=a.getElementsByTagName("entity");if(b==null){alert('Houston we have a problem')}else{if(b.length>0){for(c=1;c<=9;c++){$('#user'+c).attr('innerHTML','&nbsp;')}for(c=0;c<b.length;c++){slink='<a class="cci_startpage"  href="/phplib/cci_members_maintain.php?ID='+b[c].getAttribute('id')+'"><img src="/phplib/cci_imgcountry_view.php?ID='+b[c].getAttribute('country')+'" border="0" width="15" height="10" >&nbsp;&nbsp;'+b[c].getAttribute('fullname')+'</a>';$('#user'+c).attr('innerHTML',slink)}}}}}}}function lastActionUsersExecAjax(){var a='/phplib/cci_members_online_xml.php';if(window.XMLHttpRequest){req=new XMLHttpRequest();req.onreadystatechange=getlastactionusers;req.open("GET",a,true);req.send(null)}else if(window.ActiveXObject){req=new ActiveXObject("Microsoft.XMLHTTP");if(req){req.onreadystatechange=getlastactionusers;req.open("GET",a,true);req.send()}}}