	var delta=0.15;
	var collection;
	var closeB=false;
	function floaters() {
		this.items	= [];
		this.addItem	= function(id,x,y,content)
				  {
					document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute; 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
					setInterval('play()',30);
				  }
		}
		function play()
		{
			if(screen.width<=800 || closeB)
			{
				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(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;
					}
				followObj.style.display	= '';
			}
		}	
		function closeBanner()
		{
			closeB=true;
			return;
		}

	var theFloaters		= new floaters();

//theFloaters.addItem('followDiv1','document.body.clientWidth/2-500',300,"<table width='67' border='0' cellspacing='0' cellpadding='0' align='center'><tr height='70'><td align='center'><img src='Images/sertop.gif' width='67'></td>		</tr>		</tr>		<tr height='40'>		  <td align='center' background='Images/qqmiddle.gif'><a target=_blank href='http://scs1.sh1.china.alibaba.com/msg.atc?v=1&uid=mengsajewel'><img border=0 src='http://scs1.sh1.china.alibaba.com/online.atc?v=1&uid=cxxflm&s=101' alt='欧美特自动化设备公司' align='absmiddle'></a> </td>  </tr>		<tr height='40'>		  <td align='center' background='Images/qqmiddle.gif'><a href='http://osi.hshh.org:8088/message/msn/lwq153@sohu.com'> <img src='http://osi.hshh.org:8088/msn/lwq153@sohu.com' align='absmiddle' border='0' alt='MSN Online Status Indicator' onerror='this.onerror=null;this.src='http://osi.hshh.org/msnunknown.gif';'></a> </td>  </tr>		<tr height='40'>			<td align='center' background='Images/qqmiddle.gif'><span class='style6'><span style=''><span style=''><span style=''><span style=''><a target=blank href=tencent://message/?uin=13420572&Site=欧美特&Menu=yes><img SRC=http://wpa.qq.com/pa?p=1:13420572:8 alt='点击这里给我发消息' width='50' height='20' border='0'></a></a></span></span></span></span></span></td>		</tr>  <tr height='40'>		  <td align='center' background='Images/qqmiddle.gif'></td>  </tr>  <tr height='40'>		  <td align='center' valign='top'><img src='Images/serly.gif' width='67' height='20'></td>  </tr></table><br><img src='close.gif' border=0></a>");

theFloaters.addItem('followDiv2','document.body.clientWidth-70',300,"<table width='67' border='0' cellspacing='0' cellpadding='0' align='center'><tr height='70'><td align='center'><img src='Images/sertop.gif' width='67' onClick='closeBanner();'></td></tr></tr><tr height='40'><td align='center' background='Images/qqmiddle.gif'><a target=_blank href='http://scs1.sh1.china.alibaba.com/msg.atc?v=1&uid=mengsajewel'><img border=0 src='http://scs1.sh1.china.alibaba.com/online.atc?v=1&uid=cxxflm&s=101' alt='欧美特自动化设备公司' align='absmiddle'></a> </td>  </tr><tr height='40'><td align='center' background='Images/qqmiddle.gif'><a href='msnim:chat?contact=lwq153@sohu.com'>MSN</a></td></tr><tr height='40'><td align='center' background='Images/qqmiddle.gif'><a target=blank href=tencent://message/?uin=13420572&Site=欧美特&Menu=yes><img SRC=http://wpa.qq.com/pa?p=1:13420572:8 alt='点击这里给我发消息' width='50' height='20' border='0'></a></td>		</tr><tr height='40'><td align='center' background='Images/qqmiddle.gif'></td></tr><tr height='40'><td align='center' valign='top'><img src='Images/serly.gif' width='67' height='20'></td></tr></table>");
//theFloaters.addItem('followDiv2','document.body.clientWidth-100',300,'<img src=close.gif onClick="closeBanner();" alt=欧美特 align=center>');

//theFloaters.addItem('followDiv2','document.body.clientWidth-102',115,'<embed src="js/left.swf" quality="high" width="100" height="307"></embed><br><img src=/img/b.gif onClick="closeBanner();" alt=欧美特 align=center>');

       theFloaters.play();
	


