<script language="JavaScript">
<!--
function getFaceImg(QQcode) 中国站长.站
{
var Re=new RegExp("^[1-9]{1}\\d+$","g"); Chinaz.com
if (!QQcode !Re.test(QQcode)) return; 中国站.长站
var URL="http://search.tencent.com/cgi-bin/friend/oicq_find?oicq_no="+QQcode;
var http=new ActiveXObject("Microsoft.XMLHTTP");
http.open("GET",URL,false,"",""); 中国站.长站
http.setRequestHeader("CONTENT-TYPE","text/html; Charset=gb2312");
Www_Chinaz_com
http.send(); 站.长.站
if (http.status!=200) return;
var webStr=http.responseText;
Re=new RegExp("\"(http://img.tencent.com/face/[^\"]+)\"","ig"); Www@Chinaz@com
if (Re.test(webStr))
return "<a href=\"http://search.tencent.com/cgi-bin/friend/user_show_info?ln="+QQcode+"\" target=_blank title=\"QQ:"+QQcode+"\"><img src=\""+RegExp.$1+"\" width=16 height=16 border=0></a>";
中国站长_站,为中文网站提供动力
http=null;
} Chinaz@com
document.write("我的QQ状态:"+getFaceImg("44723461"));
Chinaz.com
//--> Chinaz~com
</script> Chinaz~com

