var delta=1
var collection;
function floaters() {
this.items	= [];
this.addItem	= function(id,x,y,content)
{
document.write('<table id='+id+' style="Z-INDEX: 10; POSITION: absolute;  width:60px; height:80px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'"><tr><td>'+content+'</td></tr></table>');
var newItem				= {};
newItem.object				= document.getElementById(id);
newItem.x				= x;
newItem.y				= y;
this.items[this.items.length]		= newItem;
}
this.play	= function()
{
collection				= this.items
setInterval('play()',10);
}
}
function play()
{
for(var i=0;i<collection.length;i++)
{
var followObj		= collection[i].object;
var followObj_x		= (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
var followObj_y		= (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);
if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
followObj.style.left=followObj.offsetLeft+dx;
}
if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
followObj.style.top=followObj.offsetTop+dy;
}}}	

var theFloaters		= new floaters();
theFloaters.addItem('followDiv1','document.body.clientWidth-90','document.body.clientHeight-480',"<a href='http://xj1199.com/?ag=zq1637' target='_blank'><img src='http://777.zqabc.net/ggimg3/xj119980.gif' width='80' height='80' border='0'/></a><br><br><a href='http://www.hg00009.com/' target='_blank'><img src='http://777.zqabc.net/ggimg3/hg0000980.gif' width='80' height='80' border='0'/></a><br><br><a href='http://yl5588.com/?Intr=14895' target='_blank'><img src='http://777.zqabc.net/ggimg3/yl558880.gif' width='80' height='80' border='0'/></a><br><br><a href='http://www.hgw00088.com/?agents=dii333' target='_blank'><img src='http://777.zqabc.net/ggimg3/hgw008880.gif' width='80' height='80' border='0'/></a><br><br><a href='http://pj3388.com/?intr=25731' target='_blank'><img src='http://777.zqabc.net/ggimg3/xx228880.gif' width='80' height='80' border='0'/></a>");
theFloaters.addItem('followDiv2',1,'document.body.clientHeight-480',"<a href='http://bb5577.com/?f=zq163' target='_blank'><img src='http://777.zqabc.net/ggimg3/bb5577180.gif' width='80' height='180' border='0'/></a><br><br><a href='http://www.qq12666.com/?agents=zq16388' target='_blank'><img src='http://777.zqabc.net/ggimg3/qq126680.gif' width='80' height='80' border='0'/></a><br><br><a href='http://www.hg9797.com/?agents=zq163' target='_blank'><img src='http://777.zqabc.net/ggimg3/hg979780.gif' width='80' height='80' border='0'/></a><br><br><a href='http://www.hg8718.com/index.php?intr=dkkzq163' target='_blank'><img src='http://777.zqabc.net/ggimg3/6001.gif' width='80' height='80' border='0'/></a>");
theFloaters.play();
