var trans_width='580px'
				var trans_height='90px'
				var pause=8200
				var degree=40
				var slideshowcontent=new Array()
				slideshowcontent[0]=["images/t0Text.jpg"]
				slideshowcontent[1]=["images/t1Text.jpg"]
				slideshowcontent[2]=["images/t2Text.jpg"]
	
				
				var bgcolor='white'
				var imageholder=new Array()
				for (i=0;i<slideshowcontent.length;i++){
				imageholder[i]=new Image()
				imageholder[i].src=slideshowcontent[i][0]
				}
				var ie4=document.all
				var dom=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1
				
				if (ie4||dom)					
					document.write('<div style="position:relative;width:'+trans_width+';height:'+trans_height+';overflow:hidden">'+
					'<div id="canvas0" style="position:absolute;background-color:'+bgcolor+';width:'+trans_width+';height:'+trans_height+';left:-'+trans_width+';filter:alpha(opacity=40);-moz-opacity:0.2;"></div>'+
					'<div id="canvas1" style="position:absolute;background-color:'+bgcolor+';width:'+trans_width+';height:'+trans_height+';left:-'+trans_width+';filter:alpha(opacity=40);-moz-opacity:0.2;"></div></div>')
					
				
				var curpos=trans_width*(-1)
				var curcanvas="canvas0"
				var curindex=0
				var nextindex=1
				function getslidehtml(theslide){ //images/t0Text.jpg					
					var slidehtml=""					
					//slidehtml+='<a href="environment.htm"><img src="'+theslide[0]+'" border="0" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/></a>'
					
					if(theslide=="images/t0Text.jpg")						
						slidehtml+='<a href="environment.htm"><img src="'+theslide[0]+'" border="0" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;" onmouseover="linkImageText(this,0)" onmouseout="outLinkImgText(this,0)"/></a>'
						
					if(theslide=="images/t1Text.jpg")
						slidehtml+='<a href="design_process.htm?id=2"><img src="'+theslide[0]+'" border="0" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;" onmouseover="linkImageText(this,1)" onmouseout="outLinkImgText(this,1)"/></a>'
						
					if(theslide=="images/t2Text.jpg")
						slidehtml+='<a href="customerservice.htm"><img src="'+theslide[0]+'" border="0" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;" onmouseover="linkImageText(this,2)" onmouseout="outLinkImgText(this,2)"/></a>'			
					
					return slidehtml
				}
				
				function moveslide(){
					if (curpos<0){						
						curpos=Math.min(curpos+degree,0)
						tempobj.style.left=curpos+"px"
					}else{						
						clearInterval(dropslide)
						if (crossobj.filters){ // IE object HTMLDivElement  这个div不透明							
							crossobj.filters.alpha.opacity=100 
						}else if (crossobj.style.MozOpacity){ //在firefox 使用的属性 							
							crossobj.style.MozOpacity=1							
							}
						nextcanvas=(curcanvas=="canvas0")? "canvas0" : "canvas1"
						tempobj=ie4? eval("document.all."+nextcanvas) : document.getElementById(nextcanvas)
					}
				
				}
				function rotateslide(div_i){						
					curindex=div_i;		
					crossobj=ie4? eval("document.all."+curcanvas) : dom? document.getElementById(curcanvas) : document.tickernsmain.document.tickernssub							
					crossobj.innerHTML=getslidehtml(slideshowcontent[curindex])
					
					if (ie4||dom){
						resetit(curcanvas)
						crossobj=tempobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
						crossobj.style.zIndex++  // style.zIndex 设置或获取定位对象的堆叠次序。
						if (crossobj.filters)
							document.all.canvas0.filters.alpha.opacity=document.all.canvas1.filters.alpha.opacity=40
						else if (crossobj.style.MozOpacity)
							document.getElementById("canvas0").style.MozOpacity=document.getElementById("canvas1").style.MozOpacity=0.2
						var temp='setInterval("moveslide()",50)'
						dropslide=eval(temp)
						curcanvas=(curcanvas=="canvas0")? "canvas1" : "canvas0"
					}					
					
				}
								
				
				function resetit(what){//curpos重新开始的时候这个left的值是-580  what转过来的是canvas0 或者是 canvas1					
					curpos=parseInt(trans_width)*(-1)					
					var crossobj=ie4? eval("document.all."+what) : document.getElementById(what)
					crossobj.style.left=curpos+"px"					
					if(what=="canvas0"){//如果是canvas0需要滚动时,则将canvas1不滚动隐藏起来
						var otherObj1 =ie4? eval("document.all.canvas1") : document.getElementById("canvas1");
						otherObj1.style.display="none";// 隐藏这个div对象。与visibility属性的hidden值不同，其不为被隐藏的对象保留其物理空间 
						var otherObj0 =ie4? eval("document.all.canvas0") : document.getElementById("canvas0");
						otherObj0.style.display="block";
					}else{//否则显示canvas1需要滚动时,canvas0隐藏起来
						var otherObj0 =ie4? eval("document.all.canvas0") : document.getElementById("canvas0");
						otherObj0.style.display="none";
						var otherObj1 =ie4? eval("document.all.canvas1") : document.getElementById("canvas1");
						otherObj1.style.display="block"; 
					}
				}
				//这个在大图片渐隐和渐显的时候这时滚动的东西不显示
				function canvasOut(){
					var otherObj1 =ie4? eval("document.all.canvas1") : document.getElementById("canvas1");
					otherObj1.style.display="none";// 隐藏这个div对象。与visibility属性的hidden值不同，其不为被隐藏的对象保留其物理空间 
					var otherObj0 =ie4? eval("document.all.canvas0") : document.getElementById("canvas0");
					otherObj0.style.display="none";
				}
				//这个在大图片显完的时候这时滚动的东西显示
				function canvasOn(){
					var otherObj1 =ie4? eval("document.all.canvas1") : document.getElementById("canvas1");
					otherObj1.style.display="none";// 隐藏这个div对象。与visibility属性的hidden值不同，其不为被隐藏的对象保留其物理空间 
					var otherObj0 =ie4? eval("document.all.canvas0") : document.getElementById("canvas0");
					otherObj0.style.display="block";				
				}
				
				function linkImageText(obj,o){
					//this.src='images/dc0.jpg
					//alert(obj.indexof("images/t0Text.jpg")!=-1);
					if(o==0){
						obj.src="images/t0Text0.jpg";
					}
					if(o==1){						
						obj.src="images/t1Text1.jpg";
					}
					if(o==2){							
						obj.src="images/t2Text2.jpg";
					}
				}
				function outLinkImgText(obj,o){
					if(o==0)
						obj.src="images/t0Text.jpg";
					if(o==1)
						obj.src="images/t1Text.jpg";
					if(o==2)
						obj.src="images/t2Text.jpg";
				}
