How to combine the two scripts refreshing div into one?
===

I have two scripts refreshing div dynamic:<br>
1) http://project-welcome.ugu.pl/test/ajax.js<br>
2) http://project-welcome.ugu.pl/test/ajax2.js

I tried to combine it: 

        // Customise those settings
        
        var seconds = 1;
        var divid = "timediv";
        var divid2 = "points";
        var url = "boo.php";
        var url2 = "boo2.php";
        
        // Refreshing the DIV

        function refreshdiv(){

        // The XMLHttpRequest object
        
        var xmlHttp;
        try{
        xmlHttp=new XMLHttpRequest(); // Firefox, Opera 8.0+, Safari
        }
        catch (e){
        try{
        xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); // Internet Explorer
        }
        catch (e){
        try{
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
        catch (e){
        alert("Your browser does not support AJAX.");
        return false;
        }
        }
        }

        // Timestamp for preventing IE caching the GET request
        
        fetch_unix_timestamp = function()
        {
        return parseInt(new Date().getTime().toString().substring(0, 10))
        }

        var timestamp = fetch_unix_timestamp();
        var nocacheurl = url+"?t="+timestamp;
        var nocacheurl2 = url2+"?t="+timestamp;
        // The code...

        xmlHttp.onreadystatechange=function(){
        if(xmlHttp.readyState==4){
        document.getElementById(divid).innerHTML=xmlHttp.responseText;
        document.getElementById(divid2).innerHTML=xmlHttp.responseText;
        setTimeout('refreshdiv()',seconds*1000);
        }
        }
        xmlHttp.open("GET",nocacheurl,true);
        xmlHttp.send(null);
        xmlHttp.open("GET",nocacheurl2,true);
        xmlHttp.send(null);
        }

        // Start the refreshing process

        var seconds;
        window.onload = function startrefresh(){
        setTimeout('refreshdiv()',seconds*1000);
        }

Source of index.html:

        <script src="ajax3.js"></script>
        <script type="text/javascript"><!--
        refreshdiv();
        // --></script>
        Logs<div id="timediv"></div><br>
        Points<div id="points"></div><br>


It doesn't work because two div show the same (in this case points). <br><br>How correct combine scripts?