    var delta=0.15
	var closeit=0;
	var collection;
	function floaters() {
		this.items	= [];
		this.addItem	= function(id,x,y,content)
				  {
					document.write('<DIV id='+id+' style="Z-INDEX:9999; POSITION: absolute;left:'+(typeof(x)=='string'?eval(x):x)+'px;top:'+(typeof(y)=='string'?eval(y):y)+'px"><div style="width:'+adWidth+'px"><a style="float:right;color:#555555;font-size:12px;cursor:hand" onclick="closeit=1;" >Close<img style="border:0px" src="http://pic.qyule.com/web/images/closeit.gif" /></a></div>'+content+'</DIV>');
					
					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()
		{
			if(screen.width<=800||closeit==1)
			{
				for(var i=0;i<collection.length;i++)
				{
					collection[i].object.style.display	= 'none';
				}
				return;
			}
			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(document.documentElement && document.documentElement.clientWidth)
				{
					var eleLeft = document.documentElement.scrollLeft;
					var eleTop = document.documentElement.scrollTop;
				}
				else
				{
					var eleLeft = document.body.scrollLeft;
					var eleTop = document.body.scrollTop;
				}
				if(followObj.offsetLeft!=(eleLeft+followObj_x)) {
					var dx=(eleLeft+followObj_x-followObj.offsetLeft)*delta;
					dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
					followObj.style.left=followObj.offsetLeft+dx+"px";
					}

				if(followObj.offsetTop!=(eleTop+followObj_y)) {
					var dy=(eleTop+followObj_y-followObj.offsetTop)*delta;
					dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
					followObj.style.top=followObj.offsetTop+dy+"px";
					}
				followObj.style.display	= '';
			}
		}	
		
	var theFloaters		= new floaters();
if(document.documentElement && document.documentElement.clientWidth)
{
	var docstr = 'document.documentElement';
}
else
{
	var docstr = 'document.body';
}
if(type=='duilian')
{
	adWidth = 116;
	adHeight = 418;
	var content = "<iframe src='"+iframeSRC+"' width='"+adWidth+"' height='"+adHeight+"' scrolling='no' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>";	
	var content1 = "<iframe src='"+iframeSRC+"_2' width='"+adWidth+"' height='"+adHeight+"' scrolling='no' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>";	

	theFloaters.addItem('followDiv1',docstr+'.clientWidth-6-'+adWidth,100,content);
	theFloaters.addItem('followDiv2',6,100,content1);
}
if(type=='duilian_100x450')
{
	adWidth = 100;
	adHeight = 450;
	var content = "<iframe src='"+iframeSRC+"' width='"+adWidth+"' height='"+adHeight+"' scrolling='no' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>";	
	var content1 = "<iframe src='"+iframeSRC+"_2' width='"+adWidth+"' height='"+adHeight+"' scrolling='no' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>";	

	theFloaters.addItem('followDiv1',docstr+'.clientWidth-6-'+adWidth,90,content);
	theFloaters.addItem('followDiv2',6,90,content1);
}
if(type=='duilian_100x300')
{
	adWidth = 100;
	adHeight = 300;
	var content = "<iframe src='"+iframeSRC+"' width='"+adWidth+"' height='"+adHeight+"' scrolling='no' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>";	
	var content1 = "<iframe src='"+iframeSRC+"_2' width='"+adWidth+"' height='"+adHeight+"' scrolling='no' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>";	

	theFloaters.addItem('followDiv1',docstr+'.clientWidth-6-'+adWidth,90,content);
	theFloaters.addItem('followDiv2',6,90,content1);
}
else if(type=="left_h260x240p")
{
	adWidth = 260;
	adHeight = 240;
	var content = "<iframe src='"+iframeSRC+"' width='"+adWidth+"' height='"+adHeight+"' crolling='no' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>";
	theFloaters.addItem('followDiv2',6,docstr+'.clientHeight-6-'+adHeight,content);
}
else if(type=="left_h174x236p")
{
	adWidth = 174;
	adHeight = 236;
	var content = "<iframe src='"+iframeSRC+"' width='"+adWidth+"' height='"+adHeight+"' scrolling='no' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>";
	theFloaters.addItem('followDiv2',6,docstr+'.clientHeight-6-'+adHeight,content);
}
else if(type=="right_h260x240p")
{
	adWidth = 260;
	adHeight = 240;
	var content = "<iframe src='"+iframeSRC+"' width='"+adWidth+"' height='"+adHeight+"' scrolling='no' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>";
	theFloaters.addItem('followDiv2',docstr+'.clientWidth-6-'+adWidth,docstr+'.clientHeight-6-'+adHeight,content);
}
else if(type=="right_h256x159p")
{
	adWidth = 256;
	adHeight = 159;
	var content = "<iframe src='"+iframeSRC+"' width='"+adWidth+"' height='"+adHeight+"' scrolling='no' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>";
	theFloaters.addItem('followDiv2',docstr+'.clientWidth-6-'+adWidth,docstr+'.clientHeight-6-'+adHeight,content);
}
else if(type=="right_h174x236p")
{
	adWidth = 174;
	adHeight = 236;
	var content = "<iframe src='"+iframeSRC+"' width='"+adWidth+"' height='"+adHeight+"' scrolling='no' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>";
	theFloaters.addItem('followDiv2',docstr+'.clientWidth-6-'+adWidth,docstr+'.clientHeight-6-'+adHeight,content);
}
else if(type=="right_pic116x418")
{
	adWidth = 116;
	adHeight = 420;
	var content = "<iframe src='"+iframeSRC+"' width='"+adWidth+"' height='"+adHeight+"' scrolling='no' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>";
	theFloaters.addItem('followDiv1',docstr+'.clientWidth-6-'+adWidth,100,content);
}
theFloaters.play();