	var delta=0.15
	var collection;
	var Collection1;
	function floaters() {
		this.items	= [];
		this.addItem	= function(id,x,y,content)
				  {
					document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute; width:32px; height:150px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+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;
					in1 = setInterval('play()',10);
				  }
		this.close = function(id)
					{
						clearInterval(in1);
						collection = this.items;
						for(var i=0;i<collection.length;i++)
						{
							var followObj = collection[i].object;
							followObj.style.display = "none";
						}
					}
		}
		
		function floaters1() {
		this.items	= [];
		this.addItem	= function(id,x,y,content)
				  {
					document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute; border:1px solid #297131; background-color:#fff;width:98px; height:120px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'<iframe border="0" width="0" height="0"></iframe></DIV>');
					
					var newItem				= {};
					newItem.object			= document.getElementById(id);
					newItem.x				= x;
					newItem.y				= y;

					this.items[this.items.length]		= newItem;
				  }
		this.play	= function()
				  {
					collection1 = this.items;
					in2 = setInterval('play1()',10);
				  }
		this.close = function(id)
					{
						clearInterval(in2);
						collection1 = this.items;
						for(var i=0;i<collection1.length;i++)
						{
							var followObj = collection1[i].object;
							followObj.style.display = "none";
						}
					}
		}
		
		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.documentElement.scrollLeft+followObj_x)) {
					var dx=(document.documentElement.scrollLeft+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!=(document.documentElement.scrollTop+followObj_y)) {
					var dy=(document.documentElement.scrollTop+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	= '';
			}
		}	
		
		function play1()
		{

			for(var i=0;i<collection1.length;i++)
			{
				var followObj		= collection1[i].object;
				var followObj_x		= (typeof(collection1[i].x)=='string'?eval(collection1[i].x):collection1[i].x);
				var followObj_y		= (typeof(collection1[i].y)=='string'?eval(collection1[i].y):collection1[i].y);

				if(followObj.offsetLeft!=(document.documentElement.scrollLeft+followObj_x)) {
					var dx=(document.documentElement.scrollLeft+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!=(document.documentElement.scrollTop+followObj_y)) {
					var dy=(document.documentElement.scrollTop+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();
	theFloaters.addItem('followDiv1','document.documentElement.clientWidth-80','150','<a href=http://www.sxfx.cn/bm target=_blank><img src=images/ad001.gif border=0></a><div style="width:76px;font-size:13px;padding:2px;float:left;text-align:center;cursor:pointer;background-color:#00f;color:#fff;" onclick="theFloaters.close();">关闭</div>');/* 以上是右图片 'document.documentElement.clientWidth-112' 是 图片距离 页面的  左边距离 */
	
	theFloaters.addItem('followDiv2','0','150','<a href=http://www.sxfx.cn/bm target=_blank><img src=images/ad002.gif border=0></a><div style="width:76px;padding:2px;float:left;font-size:13px;text-align:center;cursor:pointer;background-color:#00f;color:#fff;" onclick="theFloaters.close();">关闭</div>');/* 以上是左图片 'document.documentElement.clientWidth-112' /*是 图片距离 页面的  左边距离 */
	
	//var theFloaters1 = new floaters1();
	
	//theFloaters1.addItem('followDiv3','document.documentElement.clientWidth-32','document.documentElement.clientHeight-150','<a href="http://www.yqcfw.com/guest.asp?c=3">发布房屋出租</a><a href="http://www.yqcfw.com/guest.asp?c=4">发布房屋求租</a><a href="http://www.yqcfw.com/guest.asp?c=1">发布房屋出售</a><a href="http://www.yqcfw.com/guest.asp?c=2">发布房屋求购</a><a href="http://www.yqcfw.com/nav.asp">发布商铺信息</a><div style="width:96px;padding:2px;float:left;text-align:right;cursor:pointer;background-color:#297131;color:#fff;" onclick="theFloaters1.close();">关闭</div>')
		
	
	//theFloaters.addItem('followDiv3','document.documentElement.clientWidth-100',400,'<a href="http://www.yqcc.org/photo.asp" target="_blank"><img src="images/zyz.gif" width="100" height="100" border="0"/></a> ');
	
	//theFloaters.addItem('followDiv4','0',400,'<img src="images/wmgc.gif" width="100" height="100" border="0"/>');
	theFloaters.play();
	//theFloaters1.play();
	document.write(""); 