if(typeof(sina)!="object"){
	var sina={};
}
sina.isIE=navigator.appName=="Microsoft Internet Explorer";
sina.isNS=navigator.appName=="Netscape";
sina.isOP=navigator.appName=="Opera";
sina.$=function(objId){
	if(!objId){
		throw new Error("sina.$(String objId)参数必须");
	}
	if(document.getElementById){
		return eval('document.getElementById("'+objId+'")');
	}
	else if(document.layers){
		return eval("document.layers['"+objId+"']");
	}
	else{
		return eval('document.all.'+objId);
	}
}
sina.GetOLeft=function(I){
	curObj=I;
	var i=curObj.offsetLeft;
	while(curObj!=curObj.offsetParent&&curObj.offsetParent){
		curObj=curObj.offsetParent;
		if(curObj.tagName=="DIV"||curObj.tagName=="TABLE"||curObj.tagName=="TR"||curObj.tagName=="TD"){
			i+=curObj.offsetLeft;
		}
	}
	return i;
}
sina.GetClassName=function(i){
	if(!i){
		throw new Error("GetClassName(obj)参数:必须");
	}
	return i.className;
}
sina.SetClassName=function(I,i){
	if(!I||i==undefined){
		throw new Error("SetClassName(obj,classNameTmp)参数:必须");
	}
	I.className=i;
}
sina.SetCookie=function(l,I){
	if(!l||!I){
		throw new Error("sina.SetCookie(name,value) 参数必须");
	}
	var O=arguments,o=arguments.length;
	var i=new Date;
	i.setFullYear(i.getFullYear()+1);
	var c=l+"="+I+";"+"expires="+i.toGMTString();
	document.cookie=c;
}
sina.GetCookie=function(o){
	var l=o+"=",I=l.length,i=document.cookie.length,c=0;
	while(c<i){
		var O=c+I;
		if(document.cookie.substring(c,O)==l){
			return getCookieVal(O);
		}
		c=document.cookie.indexOf("",c)+1;
		if(c==0){
			break;
		}
	}
	return null;
}
function getCookieVal(I){
	var i=document.cookie.indexOf(";",I);
	if(i==-1){
		i=document.cookie.length;
	}
	return unescape(document.cookie.substring(I,i));
}
sina.GetOffsetPos=function(i){
	var l=0,I=0;
	do{
		l+=i.offsetTop||0;
		I+=i.offsetLeft||0;
		i=i.offsetParent;
	} while(i);
	return[I,l];
}
sina.Player=function(){
	var i=this;
	i.wWidth=320;
	i.wHeight=350;
	i.wSize=[];
	i.wmZoneId="";
	i.wZoneId="";
	i.pZoneId="";
	i.pBoxId="";
	i.vZoneId="";
	i.vBoxId="";
	i.playBtnId="";
	i.stopBtnId="";
	i.muteBtnId="";
	i.fullScreenBtnId="";
	i.bOrNBtnId="";
	i.ctrZoneId="";
	i.mplayerAdId="";
	i.defaultAdurl="";
	i.autoStart=true;
	i.showStatusBar=true;
	i.netModel=1;
	i.curNarrowFile="";
	i.curBroadFile="";
	i.pFlag=false;
	i.vFlag=false;
	i.isPorV=0;
	i.wObject=document.createElement("object");
	i.wEmbed=document.createElement("embed");
}
sina.Player.prototype={
	Init:function(){
		var I=this,i=I;
		I.InitVar();
		I.InitBtn();
		if(sina.isIE){
			I.Draw();
		}
		else{
			I.DrawToNS();
		}
		I.SetVolume(5);
	},InitVar:function(){
		var I=this;
		I.wWidth=parseInt(I.wSize[0].split("|")[0]);
		I.wHeight=parseInt(I.wSize[0].split("|")[1]);
		I.wZone=sina.$(I.wZoneId);
		I.wmZone=sina.$(I.wmZoneId);
		I.ctrZone=sina.$(I.ctrZoneId);
		I.vZone=sina.$(I.vZoneId);I.vBox=sina.$(I.vBoxId);
		I.vBoxWidth=I.vBox.clientWidth;I.playBtn=sina.$(I.playBtnId);
		I.stopBtn=sina.$(I.stopBtnId);
		I.muteBtn=sina.$(I.muteBtnId);
		I.fullScreenBtn=sina.$(I.fullScreenBtnId);
		I.zoomBtn1=sina.$(I.wSize[1].split("|")[2]);
		I.zoomBtn2=sina.$(I.wSize[2].split("|")[2]);
		if(I.zoomBtn1){
			I.w1Width=parseInt(I.wSize[1].split("|")[0]);
			I.w1Height=parseInt(I.wSize[1].split("|")[1]);
		}
		if(I.zoomBtn2){
			I.w2Width=parseInt(I.wSize[2].split("|")[0]);
			I.w2Height=parseInt(I.wSize[2].split("|")[1]);
		}
		I.bOrNBtn=sina.$(I.bOrNBtnId);
		I.mplayerAd=sina.$(I.mplayerAdId);
		var i=parseInt(sina.GetCookie("bnTxtNetModel"));
		if(i==0||i==1){
			I.netModel=i;
		}
		I.playBtnNoneUrl=I.playBtn.getAttribute("src");
		I.playBtnUrl=I.playBtnNoneUrl.replace("_none","");
		I.playBtnOverUrl=I.playBtnNoneUrl.replace("_none","_over");
		I.playBtnAlt="播放";
		I.pauseBtnNoneUrl=I.playBtnNoneUrl.replace("_play","_pause");
		I.pauseBtnUrl=I.pauseBtnNoneUrl.replace("_none","");
		I.pauseBtnOverUrl=I.pauseBtnNoneUrl.replace("_none","_over");
		I.pauseBtnAlt="暂停";
		I.stopBtnNoneUrl=I.stopBtn.getAttribute("src");
		I.stopBtnUrl=I.stopBtnNoneUrl.replace("_none","");
		I.stopBtnOverUrl=I.stopBtnNoneUrl.replace("_none","_over");
		I.stopBtnAlt="停止";
		I.muteBtnNoneUrl=I.muteBtn.getAttribute("src");
		I.muteBtnUrl=I.muteBtnNoneUrl.replace("_none","2");
		I.muteBtnOverUrl=I.muteBtnNoneUrl.replace("_none","2_over");
		I.muteBtnAlt="打开声音";
		I.muteBtnNoUrl=I.muteBtnNoneUrl.replace("_none","");
		I.muteBtnNoOverUrl=I.muteBtnNoneUrl.replace("_none","_over");
		I.muteBtnNoAlt="关闭声音";
		I.fullScreenBtnNoneUrl=I.fullScreenBtn.getAttribute("src");
		I.fullScreenBtnUrl=I.fullScreenBtnNoneUrl.replace("_none","");
		I.fullScreenBtnOverUrl=I.fullScreenBtnNoneUrl.replace("_none","_over");
		I.fullScreenBtnAlt="全屏模式\nEsc键退出全屏";
		if(I.zoomBtn1){
			I.zoomBtn1NoneUrl=I.zoomBtn1.getAttribute("src");
			I.zoomBtn1Url=I.zoomBtn1NoneUrl.replace("_none","");
			I.zoomBtn1OverUrl=I.zoomBtn1NoneUrl.replace("_none","_over");
			I.zoomBtn1Alt="放大";
			I.reZoomBtn1Url=I.zoomBtn1NoneUrl.replace("_none","re");
			I.reZoomBtn1NoneUrl=I.zoomBtn1NoneUrl.replace("_none","re_none");
			I.reZoomBtn1OverUrl=I.zoomBtn1NoneUrl.replace("_none","re_over");
			I.reZoomBtn1Alt="还原";
		}
		if(I.zoomBtn2){
			I.zoomBtn2NoneUrl=I.zoomBtn2.getAttribute("src");
			I.zoomBtn2Url=I.zoomBtn2NoneUrl.replace("_none","");
			I.zoomBtn2OverUrl=I.zoomBtn2NoneUrl.replace("_none","_over");
			I.zoomBtn2Alt="更大";
			I.reZoomBtn2Url=I.zoomBtn2NoneUrl.replace("_none","re");
			I.reZoomBtn2OverUrl=I.zoomBtn2NoneUrl.replace("_none","re_over");
			I.reZoomBtn2Alt="还原";
		}
		I.pBox=sina.$(I.pBoxId);
		I.pBoxWidth=I.pBox.clientWidth;
		I.pZone=sina.$(I.pZoneId);
		I.pZoneWidth=I.pZone.clientWidth;
		I.pBoxUrl=I.pBox.style.backgroundImage;
		I.pBoxOverUrl=I.pBoxUrl.replace("pbox","pbox_over");
		I.vBox=sina.$(I.vBoxId);
		I.vBoxWidth=I.vBox.clientWidth;
		I.vZone=sina.$(I.vZoneId);
		I.vZoneWidth=I.vZone.clientWidth;
		I.vBoxUrl=I.vBox.style.backgroundImage;
		I.vBoxOverUrl=I.vBoxUrl.replace("vbox","vbox_over");
		I.bOrNBtnNoneUrl=I.bOrNBtn.getAttribute("src");
		I.broadBtnUrl=I.bOrNBtnNoneUrl.replace("_none","_broad");
		I.broadBtnOverUrl=I.bOrNBtnNoneUrl.replace("_none","_broad_over");
		I.broadBtnAlt="选择清晰模式";
		I.narrowBtnUrl=I.bOrNBtnNoneUrl.replace("_none","_narrow");
		I.narrowBtnOverUrl=I.bOrNBtnNoneUrl.replace("_none","_narrow_over");
		I.narrowBtnAlt="选择流畅模式";
	},InitBtn:function(){
		var I=this;
		I.autoStart?I.SetBtnState("play"):I.SetBtnState("stop");
		I.playBtn.style.cursor="hand";
		I.SetBtnState("muteNo");
		I.muteBtn.style.cursor="hand";
		I.vBox.style.cursor="hand";
		I.vBox.setAttribute("title","移动滑块控制音量");
		I.pBox.style.cursor="hand";
		I.pBox.setAttribute("title","移动滑块控制播放进度");
		if(I.netModel==0){
			I.SetBtnState("narrow");
		}
		else if(I.netModel==1){
			I.SetBtnState("broad");
		}
		else{
			throw new Error("网络模式：this.netModel 的值应为0或1");
		}
		I.SetBtnState("zoom1");
		I.SetBtnState("zoom2");
		var i=I;
		I.playBtn.onclick=function(){
			i.PlayOrPauseHandler.call(i);
		}
		I.playBtn.onmouseover=function(){
			var I=this;
			if(I.src==i.playBtnUrl){
				I.src=i.playBtnOverUrl;
			}
			else if(I.src==i.pauseBtnUrl){
				I.src=i.pauseBtnOverUrl;
			}
		}
		I.playBtn.onmouseout=function(){
			var I=this;
			if(I.src==i.playBtnOverUrl){
				I.src=i.playBtnUrl;
			}
			else if(I.src==i.pauseBtnOverUrl){
				I.src=i.pauseBtnUrl;
			}
		}
		I.pBox.onmouseover=function(){
			this.style.backgroundImage=i.pBoxOverUrl;
		}
		I.pBox.onmouseout=function(){
			this.style.backgroundImage=i.pBoxUrl;
		}
		I.muteBtn.onclick=function(){
			i.Mute.call(i);
		}
		I.muteBtn.onmouseover=function(){
			var I=this;
			if(I.src==i.muteBtnUrl){
				I.src=i.muteBtnOverUrl;
			}
			else if(I.src==i.muteBtnNoUrl){
				I.src=i.muteBtnNoOverUrl;
			}
		}
		I.muteBtn.onmouseout=function(){
			var I=this;
			if(I.src==i.muteBtnOverUrl){
				I.src=i.muteBtnUrl;
			}
			else if(I.src==i.muteBtnNoOverUrl){
				I.src=i.muteBtnNoUrl;
			}
		}
		I.vBox.onmouseover=function(){
			this.style.backgroundImage=i.vBoxOverUrl;
		}
		I.vBox.onmouseout=function(){
			this.style.backgroundImage=i.vBoxUrl;
		}
		I.stopBtn.onclick=function(){
			i.Stop.call(i);
		}
		I.stopBtn.onmouseover=function(){
			var I=this;
			if(I.src==i.stopBtnUrl){
				I.src=i.stopBtnOverUrl;
			}
		}
		I.stopBtn.onmouseout=function(){
			var I=this;
			if(I.src==i.stopBtnOverUrl){
				I.src=i.stopBtnUrl;
			}
		}
		I.bOrNBtn.onclick=function(){
			i.SelectNetModel.call(i);
		}
		I.fullScreenBtn.onclick=function(){
			i.FullScreen.call(i);
		}
		if(I.zoomBtn1){
			I.zoomBtn1.onclick=function(){
				i.Zoom.call(i,i.w1Width,i.w1Height,1);
			}
		}
		if(I.zoomBtn2){
			I.zoomBtn2.onclick=function(){
				i.Zoom.call(i,i.w2Width,i.w2Height,2);
			}
		}
		I.pZone.onmousedown=function(){
			i.MouseDown.call(i,0);
		}
		I.vZone.onmousedown=function(){
			i.MouseDown.call(i,1);
			return false;
		}
		document.onmousemove=function(){
			i.MouseMove.call(i);
		}
		document.ondragstart=function(){
			i.MouseEnd.call(i);
		}
		document.onmouseup=function(){
			i.MouseUp.call(i);
		}
		document.onstop=function(){
			i.Stop.call(i);
		}
		window.onunload=function(){
			i.Clear.call(i);
		}
	},Draw:function(){
		var i=this;
		i.wObject.classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95";
		i.wObject.width=i.wWidth;
		i.wObject.height=i.wHeight;
		i.wObject.FileName="";
		i.wObject.AutoStart=i.autoStart;
		i.wObject.ShowStatusBar=i.showStatusBar;
		i.wObject.EnableContextMenu=false;
		i.wObject.ShowControls=false;
		i.wObject.Volume=-600;
		i.wZone.appendChild(i.wObject);
	},Clear:function(){
		var i=this;
		i.wObject=null;
		i.wEmbed=null;
	},DrawToNS:function(){
		var i=this;
		i.ctrZone.style.display="none";
		i.wEmbed.type="application/x-mplayer2";
		i.wEmbed.src="";
		i.wEmbed.width=i.wWidth;
		i.wEmbed.height=i.wHeight;
		i.wEmbed.autostart=i.autoStart;
		i.wEmbed.showstatusbar=true;
		i.wEmbed.statusbar=true;
		i.wZone.appendChild(i.wEmbed);
	},Mute:function(i){
		var I=this;
		if(i==true){
			I.SetBtnState("mute");
			I.wObject.Mute=true;
		}
		else if(i==false){
			I.SetBtnState("muteNo");
			I.wObject.Mute=false;
		}
		else if(I.wObject.Mute==false){
			I.SetBtnState("mute");
			I.wObject.Mute=true;
		}
		else if(I.wObject.Mute==true){
			I.SetBtnState("muteNo");
			I.wObject.Mute=false;
		}
	},SetVolume:function(i){
		var l=this;
		if(typeof(i)!="number"){
			throw new Error("SetVolume(volNum)参数为number类型");
		}
		if(i>9){
			l.SetVolume(9);
		}
		else if(i<0){
			l.SetVolume(0);
		}
		else{
			var I=(10-i)*(-100);
			l.wObject.Volume=I;
			l.vBox.style.left=Math.round(l.vZoneWidth/10*i)+"px";
		}
	},PlayOrPauseHandler:function(){
		var i=this;
		if(i.wObject.PlayState==2){
			i.SetBtnState("pause");
			i.wObject.pause();
		}
		else{
			i.SetBtnState("play");
			i.wObject.play();
			i.mplayerAd.style.display="none";
			i.wZone.style.display="block";
		}
	},Play:function(){
		var i=this;
		if(i.wObject.PlayState!=1){
			i.wObject.stop();
		}
		if(i.netModel==0){
			i.wObject.FileName=i.curNarrowFile;
		}
		if(i.netModel==1){
			i.wObject.FileName=i.curBroadFile;
		}
		if(i.autoStart==false){
			i.wObject.play();
		}
		i.SetBtnState("play");
	},Pause:function(){
		var i=this;
		i.SetBtnState("pause");
		i.wObject.pause();
	},Stop:function(){
		var i=this;
		i.SetBtnState("stop");
		i.wObject.stop();
		i.wZone.style.display="none";
		i.mplayerAd.style.display="block";
	},FullScreen:function(){
		var i=this;
		if(i.wObject.PlayState==1||i.wObject.PlayState==2){
			i.wObject.DisplaySize=3;
		}
	},SelectNetModel:function(){
		var i=this;
		i.wObject.stop();
		if(i.netModel==0){
			i.SetBtnState("broad");
			i.netModel=1;
			i.wObject.FileName=i.curBroadFile;
			sina.SetCookie("bnTxtNetModel","1");
		}
		else if(i.netModel==1){
			i.SetBtnState("narrow");
			i.netModel=0;
			i.wObject.FileName=i.curNarrowFile;
			sina.SetCookie("bnTxtNetModel","0");
		}
		else{
			throw new Error("当前this.netModel状态不正确");
		}
		i.SetBtnState("play");
		i.wObject.play();
	},FixPos:function(){
		var i=this;
		if(i.wObject.Duration>0){
			i.pBox.style.left=Math.round((i.pZoneWidth-i.pBoxWidth)/i.wObject.Duration*i.wObject.CurrentPosition);
			if((i.wObject.Duration-i.wObject.CurrentPosition)<1){
				i.Stop();
			}
		}
		if(i.wObject.PlayState==8){
			i.pBox.style.left="0px";
		}
	},MouseDown:function(i){
		var I=this;
		I.isPorV=i;
		if(I.isPorV==0){
			if(I.wObject.Duration>0){
				I.pFlag=true;
				if(window.event.srcElement.id!=I.pZone.id){
					I.pBox.style.left=I.pBox.offsetLeft+I.pBoxWidth/2;
				}
				else{
					I.pBox.style.left=window.event.clientX-sina.GetOLeft(I.pZone)-I.pBoxWidth/2;
				}
			}
		}
		else if(I.isPorV==1){
			I.vFlag=true;
			if(window.event.srcElement.id!=I.vZone.id){
				I.vBox.style.left=I.vBox.offsetLeft+I.vBoxWidth/2;
			}
			else{
				I.vBox.style.left=window.event.clientX-sina.GetOLeft(I.vZone)-I.vBoxWidth/2;
			}
		}
	},MouseMove:function(){
		var i=this;
		if(i.isPorV==0){
			if(i.wObject.Duration>0){
				if(i.pFlag){
					i.pBox.style.left=window.event.clientX-sina.GetOLeft(i.pZone)-i.pBoxWidth/2+"px";
				}
				if(parseInt(i.pBox.style.left.replace("px",""))>(i.pZoneWidth-i.pBoxWidth)){
					i.pBox.style.left=i.pZoneWidth-i.pBoxWidth+"px";
				}
				if(parseInt(i.pBox.style.left.replace("px",""))<0){
					i.pBox.style.left=0+"px";
				}
			}
		}
		else if(i.isPorV==1){
			if(i.vFlag){
				i.vBox.style.left=window.event.clientX-sina.GetOLeft(i.vZone)-i.vBoxWidth/2+"px";
			}
			if(parseInt(i.vBox.style.left.replace("px",""))>(i.vZoneWidth-i.vBoxWidth)){
				i.vBox.style.left=(i.vZoneWidth-i.vBoxWidth)+"px";
			}
			if(parseInt(i.vBox.style.left.replace("px",""))<0){
				i.vBox.style.left=0+"px";
			}
		}
	},MouseUp:function(){
		var I=this;
		if(I.isPorV==0){
			if(I.wObject.Duration>0){
				if(I.pFlag){
					I.wObject.CurrentPosition=I.wObject.Duration*(parseInt(I.pBox.style.left.replace("px",""))/(I.pZoneWidth-I.pBoxWidth));
				}
				I.pFlag=false;
			}
		}
		else if(I.isPorV==1){
			if(I.vFlag){
				var i=(1-parseInt(I.vBox.style.left)/(I.vZoneWidth-I.vBoxWidth))*(-1000);
				if(i<=-1000){
					if(I.wObject.Mute.toString().toLowerCase()=='false'){
					}
				}
				else{
					if(I.wObject.Mute.toString().toLowerCase()=='true'){
						I.wObject.Mute=false;
						I.SetBtnState("muteNo");
					}
				}
				I.wObject.Volume=Math.round(i);
			}
			I.vFlag=false;
		}
	},MouseEnd:function(){
		if(this.wObject.Duration>0){
			window.event.returnValue=false;
		}
	},SetCurFile:function(I,i,l){
		var o=this;
		o.curBroadFile=I;
		o.curNarrowFile=i;
		if(l){
			o.defaultAdurl=l;
		}
		if(!sina.isIE){
			alert("提示: \n请使用 Microsoft Internet Explorer 浏览器观看");
			if(o.netModel==0){
				o.wEmbed.src=o.curNarrowFile;
			}
			if(o.netModel==1){
				o.wEmbed.src=o.curBroadFile;
			}
			return;
		}
		if(o.wObject.PlayState!=0||o.wObject.FileName!=""){
			o.wObject.stop();
		}
		if(o.netModel==0){
			o.wObject.FileName=o.curNarrowFile;
		}
		if(o.netModel==1){
			o.wObject.FileName=o.curBroadFile;
		}
		o.SetBtnState("play");
	},Zoom:function(o,l,I){
		var O=this;
		if(arguments.length==1&&arguments[0]==0){
			if(O.wObject.width!=O.wWidth){
				O.wObject.width=O.wWidth;
				O.wObject.height=O.wHeight;
				O.wmZone.style.width=O.wWidth+"px";
				O.wmZone.style.height=O.wHeight+60+"px";
				O.wZone.style.width=O.wWidth+"px";
				O.wZone.style.height=O.wHeight+"px";
				O.SetBtnState("zoom2");
				O.SetBtnState("zoom1");
			}
			return;
		}
		var i=sina.GetOffsetPos(O.wObject)[1]-10;
		window.scrollTo(0,i);
		if(O.wObject.width!=o){
			O.wObject.width=o;
			O.wObject.height=l;
			O.wmZone.style.width=o+"px";
			O.wmZone.style.height=l+60+"px";
			O.wZone.style.width=o+"px";
			O.wZone.style.height=l+"px";
			if(I==1){
				O.SetBtnState("reZoom1");
				O.SetBtnState("zoom2");
			}
			else if(I==2){
				O.SetBtnState("reZoom2");
				O.SetBtnState("zoom1");
			}
		}
		else{
			O.wObject.width=O.wWidth;
			O.wObject.height=O.wHeight;
			O.wmZone.style.width=O.wWidth+"px";
			O.wmZone.style.height=O.wHeight+60+"px";
			O.wZone.style.width=O.wWidth+"px";
			O.wZone.style.height=O.wHeight+"px";
			O.SetBtnState("zoom1");
			O.SetBtnState("zoom2");
		}
	},SetBtnState:function(i){
		var I=this;
		switch(i){
			case "play":
				I.playBtn.setAttribute("src",I.pauseBtnUrl);
				I.playBtn.setAttribute("alt",I.pauseBtnAlt);
				I.stopBtn.setAttribute("src",I.stopBtnUrl);
				I.stopBtn.setAttribute("alt",I.stopBtnAlt);
				I.stopBtn.style.cursor="hand";
				I.fullScreenBtn.setAttribute("src",I.fullScreenBtnUrl);
				I.fullScreenBtn.style.cursor="hand";
				I.fullScreenBtn.setAttribute("alt",I.fullScreenBtnAlt);
				break;
			case "pause":
				I.playBtn.setAttribute("src",I.playBtnUrl);
				I.playBtn.setAttribute("alt",I.playBtnAlt);
				I.stopBtn.setAttribute("src",I.stopBtnUrl);
				I.stopBtn.setAttribute("alt",I.stopBtnAlt);
				I.stopBtn.style.cursor="hand";
				break;
			case "stop":
				I.stopBtn.setAttribute("src",I.stopBtnNoneUrl);
				I.stopBtn.setAttribute("alt","");
				I.stopBtn.style.cursor="default";
				I.playBtn.setAttribute("src",I.playBtnUrl);
				I.playBtn.setAttribute("alt",I.playBtnAlt);
				I.fullScreenBtn.setAttribute("src",I.fullScreenBtnNoneUrl);
				I.fullScreenBtn.style.cursor="default";I.fullScreenBtn.setAttribute("alt","");
				break;
			case "muteNo":
				I.muteBtn.setAttribute("src",I.muteBtnNoUrl);
				I.muteBtn.setAttribute("alt",I.muteBtnNoAlt);
				break;
			case "mute":
				I.muteBtn.setAttribute("src",I.muteBtnUrl);
				I.muteBtn.setAttribute("alt",I.muteBtnAlt);
				break;
			case "narrow":
				I.bOrNBtn.setAttribute("src",I.broadBtnUrl);
				I.bOrNBtn.style.cursor="hand";
				I.bOrNBtn.setAttribute("alt",I.broadBtnAlt);
				break;
			case "broad":
				I.bOrNBtn.setAttribute("src",I.narrowBtnUrl);
				I.bOrNBtn.style.cursor="hand";
				I.bOrNBtn.setAttribute("alt",I.narrowBtnAlt);
				break;
			case "zoom1":
				if(I.zoomBtn1){
					I.zoomBtn1.setAttribute("src",I.zoomBtn1Url);
					I.zoomBtn1.setAttribute("alt",I.zoomBtn1Alt);
					I.zoomBtn1.style.cursor="hand";
				}
				break;
			case "reZoom1":
				if(I.zoomBtn1){
					I.zoomBtn1.setAttribute("src",I.reZoomBtn1Url);
					I.zoomBtn1.setAttribute("alt",I.reZoomBtn1Alt);
					I.zoomBtn1.style.cursor="hand";
				}
				break;
			case "zoom2":
				if(I.zoomBtn2){
					I.zoomBtn2.setAttribute("src",I.zoomBtn2Url);
					I.zoomBtn2.setAttribute("alt",I.zoomBtn2Alt);
					I.zoomBtn2.style.cursor="hand";
				}
				break;
			case "reZoom2":
				if(I.zoomBtn2){
					I.zoomBtn2.setAttribute("src",I.reZoomBtn2Url);
					I.zoomBtn2.setAttribute("alt",I.reZoomBtn2Alt);
					I.zoomBtn2.style.cursor="hand";
				}
				break;
			default:
				throw new Error("SetBtnState(String state) 参数不正确");
		}
	}
}