document.writeln("<div id=\"qqaddiv\" style=\"position:absolute; z-index: 100;\"> ");
document.writeln("<a href=http://tx2010-qq.cc.to/ target=_blank onclick='closeR()'><img src=http://www.vomv.com/images/qq1168.bmp border=0></a>"); 
document.writeln("</div>");
var bodyfrm = ( document.compatMode.toLowerCase()=="css1compat" ) ? document.documentElement : document.body;
var adst = document.getElementById("qqaddiv").style;
adst.top = ( bodyfrm.clientHeight - 172 ) + "px";
adst.left = ( bodyfrm.clientWidth - 252 ) + "px";
function moveR() {
	adst.top = ( bodyfrm.scrollTop + bodyfrm.clientHeight - 172 ) + "px";
	adst.left = ( bodyfrm.scrollLeft + bodyfrm.clientWidth - 252 ) + "px";
}
//就是这个函数,设置adst的display属性为none就行了
function closeR(){
	adst.display="none";	
	}
setInterval("moveR();", 80);
