function setData()
         {
   
   var nlen1 = GetCookie("nlen1");  // 取旧值

    //野狼 utf-8
    var newstr = getXML('http://blog.sina.com.cn/yelangshizhan');
    var re  = new RegExp("<div class=\"blog_title_h\">((.|\\n)*?)</span></div>","gi");

    //var newstr = getXML('http://www.cnblogs.com/reommmm/admin/Feedback.aspx');
    //var re  = new RegExp("<td class=\"FeedfackTitle\">((.|\\n)*?)</td>","gi");
    var a = newstr.match(re);
    //alert(a.length);
    //alert("GetCookie:" + nlen1 + "   a.length:" + a.length);
    if( nlen1 != a.length)  // 用旧值和新取得的值比较
    {
    SetCookie("nlen1",a.length); // 不相同就把新的值放到Cookie中
    alert("update");
    }
    document.getElementById("news").innerHTML = "";
    //for(var i=0;i<a.length;i++)
    for(var i=0;i<a.length;i++)
      document.getElementById("news").innerHTML += a[i] + "</br>";

    

    setTimeout("setData()",4000); 
         }