﻿if(window.screen.width<=800){
}else{
	var ss = new Array();
		ss[ss.length]="<table width='191' height='87' border='0' cellpadding='0' cellspacing='0'>"
		ss[ss.length]="<tr>"
		ss[ss.length]="<td height='87' align='center'><a target='blank' href='http://wpa.qq.com/msgrd?V=1&Uin=366020346&Site=旺捷环保&Menu=yes'><img alt='客服QQ' src='images/icon/flow_01.gif' border='0'></a><br><a target='blank' href='http://wpa.qq.com/msgrd?V=1&Uin=978305638&Site=旺捷环保&Menu=yes'><img alt='客服QQ' src='images/icon/flow_02.gif' border='0'></a></td>"
		ss[ss.length]="</tr>"
		ss[ss.length]="</table>"
//document.write(ss.join(""));

	var right_img=ss.join("");
	//var left_img="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='112' height='230'><param name='movie' value='images/idshield0830.swf'><param name='quality' value='high'><param name='wmode' value='transparent'><embed src='images/idshield0830.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='112' height='230'></embed></object>";

	var delta=0.1
	var collection1;
	function floaters1() {
		this.items= [];
		this.addItem1= function(id,x,y,content){
			//if(window.screen.width<=1200){
			document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute; width:191px; height:87px;left:812;top:'+(200+(typeof(y)=='string'?eval(y):y))+'">'+content+'</DIV>');
			//}else if(window.screen.width<=1600){
			//document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute;  width:80px; height:60px;left:986;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.play1= function(){
			collection1= this.items
			setInterval('play1()',1);
		}
	}
	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.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= '';
		}
	}

	var theFloaters1= new floaters1();
	//theFloaters.addItem('followDiv2',10,230,''+left_img+'');
	theFloaters1.addItem1('followDiv1','document.body.clientWidth-205',260,''+right_img+'');
	theFloaters1.play1();
}