<script language="JavaScript" type="text/javascript">
var online= new Array();
//或者是定义 var online =[]; 这是必不可少的,否则会报错
</script>
<!--这个好像不行<script src="
http://219.133.49.157/getonline?Type=1&46399408:"></script> -->
<script src="
http://webpresence.qq.com/getonline?Type=1&976719699:"></script>
<script src="
http://webpresence.qq.com/getonline?Type=1&958186957:"></script>
<script language="JavaScript" type="text/javascript">
if (online[0]==0) {
alert(1111);
document.write("<img src=qq/QQoffline.gif border=0 align=middle><a class='qqb' target=blank href='
http:wpa.qq.com/msgrd?V=1&Uin=qq号码&Site=在线咨询&Menu=no' title='客服不在线,请留言'>不在线,qq号码</a>");
//document.write("<a target=_parent href=tencent://message/?Menu=yes&uin812788457&Site=说明文字&Service=200&sigT=2a0e37386280486ada2b5d5e69ee49186ccae1257fd9e1c9598af1f0b9c916067002a57aaaec8c8d>
//<img border=0 src='images/qq02.jpg' alt=QQ不在线,请留言></a>");
}
else {
alert(2222);
document.write("<img src=qq/QQonline.gif border=0 align=middle><a class='qqa' target=blank href='
http:wpa.qq.com/msgrd?V=1&Uin=qq号码&Site=在线咨询&Menu=no' title='在线即时交谈'>在线qq号码</a>");
//document.write("<a target=_parent href=tencent://message/?Menu=yes&uin812788457&Site=说明文字&Service=200&sigT=2a0e37386280486ada2b5d5e69ee49186ccae1257fd9e1c9598af1f0b9c916067002a57aaaec8c8d>
//<img border=0 src='images/qq01.jpg' alt=QQ在线交谈></a>");
}
</script>;