function ClsRealPlayer(cfg) {
	var _this = this;
	var m_root = tv_starv_fun.Cfg(cfg,'rootpath','');
	var m_size_button = tv_starv_fun.Cfg(cfg,'sizeButton',true);
	var m_background = tv_starv_fun.Cfg(cfg,'background','transparent');
	var m_panel_header = tv_starv_fun.Cfg(cfg,'head',true);
	var m_timer = null;
	this.for_public = false;
	this.video_id = 'tv_starv_player_real_'+tv_starv_fun.getRandomString(15);
	this.renderto = null;
	this.use_window = true;
	this.ctnr_panel = null;
	this.ctnrpanel_baseCls = false;
	this.panel_border_cssstyle = false;
	this.show_playerswitch = true;
	this.show_speedswitch = false;
	this.speed_click_handler = function(e,tool_el,panel){return 1;}	//this function must return a integer speed
	this.hdl_playurl_error = function(url,camid,camtitle){};
	this.hdl_resized = function(w,h,maxmize){};
	this.speed = 1;
	this.bl_w = 352;	//ratio : width
	this.bl_h = 288;	//ratio : height
	this.w = parseInt(tv_starv_fun.Cfg(cfg,'w',422));
	this.h = parseInt(tv_starv_fun.Cfg(cfg,'h',345));
	this.maxmized = false;
	this.w1 = 352;
	this.h1 = 288;
	this.w2 = 422;
	this.h2 = 345;
	this.hd_w1 = 720;
	this.hd_h1 = 576;
	this.magnification = 1.05;
	this.reduce = 0.95;
	//是否为高清
	this.hdnormals = "normal";

	this.panel_toolbar_height = (m_panel_header ? 25 : 0);
	this.videobar_height = 26;
	this.hofw = this.videobar_height+30;
	this.wofw = 12;
	this.hofp = this.videobar_height+this.panel_toolbar_height;
	this.wofp = 0;

	this.window = null;
	this.winpel = null;
	this.panel = null;

	this.hdl_switchplayer = function(id,title,url,w,h,maxmize){}
	this.hdl_savevideosize = function(w,h,maxmize){}

	var m_title = '';
	var m_id = 0;
	var m_url = '';

	var m_tools_refresh_sh = false;

	var getWinW = function(vw) {
		return vw + _this.wofw;
	}
	var getWinH = function(vh) {
		return vh + _this.hofw;
	}
	var getPnlW = function(vw) {
		return vw + _this.wofp;
	}
	var getPnlH = function(vh) {
		return vh + _this.hofp;
	}
	var getVnlH = function(vh) {
		return vh + _this.videobar_height
	}
	var getVdoW = function(ww) {
		return ww - _this.wofw
	}
	var getVdoH = function(wh) {
		return wh - _this.hofw
	}
	var getVdoWByPanel = function(ww) {
		return ww - _this.wofp
	}
	var getVdoHByPanel = function(wh) {
		return wh - _this.hofp
	}

	var resizePanel = function(w,h) {
		_this.ctnr_panel.setSize(w,h);
	}
	var resizeByPnlSize = function(w,h) {
		var v_w = getVdoWByPanel(w);
		var v_h = getVdoHByPanel(h);
		var vdo_w = 352;
		var vdo_h = 288;


		vdo_h = v_h;
		vdo_w = Math.ceil(_this.bl_w * vdo_h / _this.bl_h);
		if (vdo_w > v_w) {

			vdo_w = v_w;
			vdo_h = Math.ceil(_this.bl_h * vdo_w / _this.bl_w);
		}

		_this.w = vdo_w;
		_this.h = vdo_h;

		client_wh = _this.winpel.getSize();

		//top left corner of the container panel
		var client_w = client_wh.width;
		var client_h = client_wh.height;
		var x = Math.ceil((client_w - getPnlW(vdo_w)) / 2);
		var y = Math.ceil((client_h - getPnlH(vdo_h)) / 2);


		if (_this.ctnr_panel) {
			_this.ctnr_panel.setPosition(x,y);
			_this.ctnr_panel.setSize(w,h);
		}

		if (_this.panel) {
			_this.panel.setPosition(0,0);
			_this.panel.setSize(vdo_w, getVnlH(vdo_h));
		}

		var player = _this.getPlayer();
		if (player) {
			player.width = vdo_w;
			player.height = vdo_h;

			tv_starv_fun.$(_this.video_id+'_sb').width = vdo_w-44;
		}

		if (_this.panel) _this.panel.doLayout();
		try{_this.ctnr_panel.doLayout();}catch(e){}		//when initializing, the panel is not avaliable

		_this.hdl_resized(w,h,_this.maxmized);
	}

	var resizeWindow = function(w,h) {
		_this.window.setSize(w,h);
	}
	var resizeByWinSize = function(w,h) {
		var v_w = getVdoW(w);
		var v_h = getVdoH(h);
		var vdo_w = 352;
		var vdo_h = 288;

		vdo_h = v_h;
		vdo_w = Math.ceil(_this.bl_w * vdo_h / _this.bl_h);
		if (vdo_w > v_w) {
			vdo_w = v_w;
			vdo_h = Math.ceil(_this.bl_h * vdo_w / _this.bl_w);
		}

		_this.w = vdo_w;
		_this.h = vdo_h;

		//left top corner of the video panel
		var client_w = w-_this.wofw;
		var client_h = h-_this.hofw;
		var x = Math.ceil((client_w - vdo_w) / 2);
		var y = Math.ceil((client_h - vdo_h) / 2);


		if (_this.ctnr_panel) {
			_this.ctnr_panel.setPosition(0,0);
			_this.ctnr_panel.setSize(w,h);
		}

		if (_this.panel) {
			_this.panel.setPosition(x,y);
			_this.panel.setSize(vdo_w, getVnlH(vdo_h));
		}

		var player = _this.getPlayer();
		if (player) {
			player.width = vdo_w;
			player.height = vdo_h;

			if (Ext.isIE) {
				tv_starv_fun.$(_this.video_id+'_sb').width = vdo_w-44;
			}else{
				tv_starv_fun.$(_this.video_id+'_sb_FF').width = vdo_w-44;
			}
		}

		_this.panel.doLayout();
		_this.window.doLayout();

		_this.hdl_resized(w,h,_this.maxmized);
	}

	var createPPanel = function() {
		if (_this.ctnr_panel==null) {
			if (_this.renderto) {
				var tools = [];
				if (m_size_button) {
					tools.push({id:'minus',qtip:_this.lan.smaller,handler:function(e,tool_el,panel){
						resizePanel(getPnlW(_this.w1), getPnlH(_this.h1));

					}});
					tools.push({id:'plus',qtip:_this.lan.bigger,handler:function(e,tool_el,panel){
						resizePanel(getPnlW(_this.w2), getPnlH(_this.h2));

					}});
				};
				if (_this.show_playerswitch) {
					tools.unshift({id:'refresh',qtip:_this.lan.switch_to_quicktime,handler:function(e,tool_el,panel){
						_this.hdl_switchplayer(m_id, m_title, m_url, _this.w, _this.h, _this.maxmized);

					}});
				}
				if (_this.show_speedswitch) {
					tools.unshift({id:'speed',qtip:_this.lan.switch_speed,handler:function(e,tool_el,panel){
						_this.speed = _this.speed_click_handler(e,tool_el,panel);
					}});
				}
				//tools.push({id:'maximize',qtip:'maximize',handler:function(e,tool_el,panel){
				//	//_this.hdl_switchplayer(m_id, m_title, m_url, _this.w, _this.h, _this.maxmized);
				//	//resizeByWinSize(getWinW(_this.w1), getWinH(_this.h1));
				//	
				//	_this.ctnr_panel.header.setDisplayed(false);
				//	
				//	createWindow(false);
				//	_this.window.add(_this.ctnr_panel);
				//	
				//	_this.window.show();
				//	//
				//	_this.maxmized = true;
				//	if (_this.maxmized) {
				//		_this.window.maximize();
				//		var tmpsize = _this.window.getSize();
				//		resizeByWinSize(tmpsize.width, tmpsize.height);
				//	}
				//}});
			}
			var pnl_obj = {
				header:false,
				layout:'absolute', x:0, y:0,

				width:getPnlW(_this.w), height:getPnlH(_this.h),
				border:(_this.panel_border_cssstyle ? true : false), bodyStyle:"padding:0px; margin:0px; background:#000000"+(_this.panel_border_cssstyle ? "; border:"+_this.panel_border_cssstyle : ""),
				listeners: {
					'resize' : function(win, width, height) {
						if (!_this.renderto) return false;
	
						//adjust the video size
						resizeByPnlSize(width, height);
					}
				}
			}

			if (_this.renderto) {
				if (m_panel_header) {
					pnl_obj.header = true;
				}
				else{
					pnl_obj.header = false;
				}
				if (tools.length>0) pnl_obj.tools = tools;
			}

			if (_this.ctnrpanel_baseCls) pnl_obj.baseCls = _this.ctnrpanel_baseCls;
			_this.ctnr_panel = new Ext.Panel(pnl_obj);
		}
		return _this.ctnr_panel;
	}

	var createWinpnl = function() {
		if (_this.winpel==null) {
			var pnl_obj = {
				layout:'absolute', x:0, y:0,
				width:_this.w+_this.wofp, height:_this.h+_this.hofp,
				border:false, bodyStyle:"padding:0px; margin:0px; background:"+m_background
			}
			_this.winpel = new Ext.Panel(pnl_obj);
		}
		return _this.winpel;
	}
	var createWindow = function(closable) {
		if(getWinW(_this.w)>document.body.clientWidth || getWinH(_this.h)>document.body.clientHeight)
		{	if(_this.hdnormals=="hd")
			{	
				_this.w = _this.hd_w1;
				_this.h = _this.hd_h1;
			}
			else{
				_this.w = _this.w1;
				_this.h = _this.h1;
			}
			
			var window_w = document.body.clientWidth;
			var window_h = document.body.clientHeight;
			var vdo_h=0;
			var vdo_w=0;
			vdo_h = _this.h;
			vdo_w = Math.ceil(_this.bl_w * vdo_h / _this.bl_h);
			if (vdo_w > window_w) {
				vdo_w = window_w;
				vdo_h = Math.ceil(_this.bl_h * vdo_w / _this.bl_w);
			}
	
			_this.w = vdo_w;
			_this.h = vdo_h;
		}
		if (typeof(closable)=='undefined' || closable==null) closable = true;
		if (_this.window==null) {
			var tools = [];
			if (m_size_button) {
				tools.push({id:'orginal',qtip:"original",handler:function(e,tool_el,panel){
					if(_this.hdnormals=="hd")
					{	
						_this.w = _this.hd_w1;
						_this.h = _this.hd_h1;
					}
					else{
						_this.w = _this.w1;
						_this.h = _this.h1;
					}
					var window_w = document.body.clientWidth;
					var window_h = document.body.clientHeight;
					var vdo_h=0;
					var vdo_w=0;
					vdo_h = _this.h;
					vdo_w = Math.ceil(_this.bl_w * vdo_h / _this.bl_h);
					if (vdo_w > window_w) {
						vdo_w = window_w;
						vdo_h = Math.ceil(_this.bl_h * vdo_w / _this.bl_w);
					}
			
					_this.w = vdo_w;
					_this.h = vdo_h;
		
					resizeWindow(getWinW(_this.w), getWinH(_this.h));

				}});
				tools.push({id:'minus',qtip:_this.lan.smaller,handler:function(e,tool_el,panel){
					if(parseInt(_this.w*_this.reduce)>=_this.w1 && parseInt(_this.h*_this.reduce)>=_this.h1){
						_this.w = parseInt(_this.w*_this.reduce);
						_this.h = parseInt(_this.h*_this.reduce);
						resizeWindow(getWinW(_this.w), getWinH(_this.h));
					}

				}});
				tools.push({id:'plus',qtip:_this.lan.bigger,handler:function(e,tool_el,panel){
					if(getWinW(parseInt(_this.w*_this.magnification))<=document.body.clientWidth && getWinH(parseInt(_this.h*_this.magnification))<=document.body.clientHeight){
						_this.w = parseInt(_this.w*_this.magnification);
						_this.h = parseInt(_this.h*_this.magnification);
						resizeWindow(getWinW(_this.w), getWinH(_this.h));
					}

				}});
			};
			if (_this.show_playerswitch) {
				tools.unshift({id:'refresh',qtip:_this.lan.switch_to_realplayer,handler:function(e,tool_el,panel){
					_this.hdl_switchplayer(m_id, m_title, m_url, _this.w, _this.h, _this.maxmized);

				}});
			}
			var win_obj = {
				closeAction: 'close', modal: false, plain: true, resizable: true, header: true,
				title: '',
				closable: closable, shadow: true,
				width: getWinW(_this.w), autoHeight: false,
				height: getWinH(_this.h),
				bodyStyle: 'padding:0px;',
				border: false,
				defaults: {border:false},
				listeners: {
					'close' : function(){
						_this.close();
					},
					'resize' : function(win, width, height) {
						win.center();
	
						resizeByWinSize(width, height);
					},
					'maximize' : function(win) {
						_this.maxmized = true;
	
						_this.window.tools.minus.hide();
						_this.window.tools.plus.hide();
						if (_this.show_playerswitch) {
							m_tools_refresh_sh = _this.window.tools.refresh.isVisible();
							try{_this.window.tools.refresh.hide();}catch(e){}
						}
	
						_this.hdl_resized(_this.window.getWidth(),_this.window.getHeight(),_this.maxmized);
					},
					'restore' : function(win) {
						_this.maxmized = false;
						if (!_this.renderto) {
							forceRestoreWinsize();
	
							_this.window.tools.minus.show();
							_this.window.tools.plus.show();
							if (_this.show_playerswitch) {
								try{
									if (m_tools_refresh_sh) _this.window.tools.refresh.show();
								}catch(e){}
							}
						}
						else{
							if (_this.w > _this.w2) {
								_this.w = _this.w1;
								_this.h = _this.h1;
							}
							_this.winpel.add(_this.ctnr_panel);
							_this.winpel.doLayout();
							_this.window.hide();
						}
	
						_this.hdl_resized(_this.window.getWidth(),_this.window.getHeight(),_this.maxmized);
					}
				}
			};
			if (tools.length>0) win_obj.tools = tools;
			win_obj.maximizable = false;
			if (m_size_button) win_obj.maximizable = true;
			_this.window = new Ext.Window(win_obj);
		}
		return _this.window;
	}
	this.createPlayer = function() {
		if (_this.panel==null) {
			var player_str = getPlayerString(_this.w, _this.h);

			_this.panel = new Ext.Panel({
				header: false, width:_this.w, height:getVnlH(_this.h), defaults: {border:false}, border:false

				,layout:'absolute', x:0, y:0
				,bodyStyle: 'background:#000000'

				,html: player_str
			});
		}
		return _this.panel;
	}
	var checkPlayerExists = function() {
		var p = _this.getPlayer();
		if (!p) {
			try{
				if (_this.panel) {
					_this.panel.destroy();
					_this.panel = null;
				}
			}catch(e){}
			try{
				if (_this.ctnr_panel) {
					_this.ctnr_panel.destroy();
					_this.ctnr_panel = null;
				}
			}catch(e){}
			try{
				if (_this.winpel) {
					_this.winpel.destroy();
					_this.winpel = null;
				}
			}catch(e){}
			try{
				if (_this.window) {
					_this.window.destroy();
					_this.window = null;
				}
			}catch(e){}
			return false;
		}
		else{
			return true;
		}
	}
	this.stop = function() {
		var player = _this.getPlayer();
		if (player) {
			try{player.DoStop()}catch(e){}
		}
	}
	this.show = function(title) {
		if (typeof(title)=='undefined' || title==null) title = '';
		_this.play(0,title,null);
	}
	this.play = function(camera_id, title, url) {
		clearTimerForPlay();

		m_url = url;
		m_title = title;
		m_id = camera_id;
		var is_first = !checkPlayerExists();

		if (is_first) {
			_this.createPlayer();

			createPPanel();
			_this.ctnr_panel.add(_this.panel);

			if (!_this.renderto) {
				createWindow();
				_this.window.add(_this.ctnr_panel);
				_this.window.show();

				if (_this.maxmized) {
					_this.window.maximize();
					var tmpsize = _this.window.getSize();
					resizeByWinSize(tmpsize.width, tmpsize.height);
				}

			}
			else{
				createWinpnl();
				_this.winpel.render(_this.renderto);

				client_wh = Ext.get(_this.renderto).getSize();
				_this.winpel.setSize(client_wh.width, client_wh.height);

				if (is_first) _this.winpel.add(_this.ctnr_panel);
				_this.winpel.doLayout();

				if (is_first) {
					var tmp_size = _this.ctnr_panel.getSize();
					resizeByPnlSize(tmp_size.width, tmp_size.height);
				}
			}
		}
		
		_this.stop();

		_this.showmsg(_this.lan.preparing + title);

		var play_success = false;
		if (typeof(url)=='undefined' || url==null) {
			if (camera_id>0) {
				_this.showmsg(_this.lan.getting_video + title);
				Ext.Ajax.abort();
				Ext.Ajax.request({
					url: m_root + 'play_servernew.php',
					params: {'ids':camera_id, 'public':(_this.for_public ? 1 : 0)},
					success: function(response, options){
						try{
							var rjdata = Ext.util.JSON.decode(response.responseText);
							_this.showmsg(tv_starv_fun.qpDHanzi(rjdata.message) + ' ' + title);
							play_success = _play(rjdata.urls);
							_this.hdnormals = rjdata.hdnormals;
							
						}
						catch(e){
							_this.showmsg(_this.lan.unexpected_error+' 1' + title);
							alert(e.message + "\r\n\r\n" + response.responseText);
						}
					},
					failure: function(response, options){
						if (!response) {
							alert(_this.lan.unexpected_error+' 3'); return false;
						}
						if (!response.responseText) {
							alert(_this.lan.unexpected_error+' 4'); return false;
						}
						if (response.responseText.length>0) {
							alert(tv_starv_fun.qpDHanzi(response.responseText), '', _this.lan.unexpected_error+' 2');
						}
						else{

							_this.showmsg(_this.lan.waiting_msg + title);
						}
					}
				});
			}
			else{
				_this.showmsg(_this.lan.player_status_ready + title);
			}
		}
		else{
			play_success = _play(url);
		}

		//if (!play_success) return false;
		
		//load the specified url(eg: for stats)
		if (tv_starv_fun.Cfg(cfg,'loadpage','')!='') {
			var ifm = getIframe();
			if (!ifm) {
				if (_this.panel) {
					Ext.DomHelper.append(_this.panel.body,{tag:'iframe',src:cfg.loadpage,style:'display:none;'});
				}
			}
			else{
				ifm.src = cfg.loadpage;
			}
		}
	}
	var getIframe = function() {
		if (!_this.panel) return false;
		if (_this.panel.body.dom.lastChild.tagName.toLowerCase()=='iframe') {
			return _this.panel.body.dom.lastChild;
		}
		else{
			return false;
		}
	}
	var _play = function(url) {
		if (!url) {
			_this.showmsg(_this.lan.video_url_empty);
			return false;
		}

		if (url.indexOf('[error]')>-1) {
			_this.showmsg(url);
			_this.hdl_playurl_error(url,m_id,m_title);
			return false;
		}
		url = tv_starv_fun.replaceAll(url, "&amp;", "&");
		var player = _this.getPlayer();

		if (!player) {
			_this.showmsg(_this.lan.getplayer_failed);
			return false;
		}

		try{
			try{player.DoStop()}catch(e){}
			//alert('a: '+player.GetPlayerState());
			//alert('b: '+player.GetPlayState());
			if (navigator.userAgent.indexOf("Firefox")>0) {
				checkForPlay(player, url);
			}
			else{
				player.SetSource(url);
				player.DoPlay();
			}
		}
		catch(e){}

		_this.showmsg(m_title);
		return true;
	}

	var checkForPlay = function(player,url) {
		m_timer = window.setInterval(function(){
			if (player.GetPlayState) {
				if (player.GetPlayState()==0) {
					player.SetSource(url);
					player.DoPlay();
				}
				else{

				}
			}
		},2000);
	}
	var clearTimerForPlay = function() {
		if (m_timer) {
			window.clearInterval(m_timer);
			m_timer = null;
		}
	}

	var forceRestoreWinsize = function() {
		//to avoid window be maxmized when click the restore button, if window closed when it is maxmized
		if (_this.w > _this.w2) {
			_this.w = _this.w1;
			_this.h = _this.h1;
		}
		_this.maxmized = false;
		var tmp_w = getWinW(_this.w);
		var tmp_h = getWinH(_this.h);
		_this.window.setSize(tmp_w, tmp_h);
	}

	this.close = function() {
		//in a new window, load complete event of player can't be captured, so the following 4 lines disabled for the present
		/*if (_this.w>_this.w2) {
		_this.w = _this.w1;
		_this.h = _this.h1;
		}*/
		_this.stop();
		
		_this.hdl_savevideosize(_this.w, _this.h, _this.maxmized);

		if (_this.ctnr_panel) {_this.ctnr_panel.destroy(); _this.ctnr_panel=null;}
		if (_this.panel) {_this.panel.destroy(); _this.panel=null;}
		if (_this.window) {_this.window.destroy(); _this.window=null;}
		if (_this.winpel) {_this.winpel.destroy(); _this.winpel=null;}
	}
	this.showmsg = function(msg) {
		if (!_this.renderto) {
			if (_this.window!=null) _this.window.setTitle(msg);
		}
		else{
			if (!m_panel_header) return true;
			if (_this.ctnr_panel!=null) _this.ctnr_panel.setTitle(msg);
		}
	}
	this.setPlayerSwitcherVisible = function(tf) {
		if (!_this.window) return false;
		if (!_this.window.tools) return false;
		if (!_this.window.tools.refresh) return false;

		if (tf) {
			_this.window.tools.refresh.show();
		}
		else{
			_this.window.tools.refresh.hide();
		}
	}
	this.doSwitchplayer = function(id, title, url) {
		if (typeof(id)=='undefined') id=m_id;
		if (typeof(title)=='undefined') title = m_title;
		if (typeof(url)=='undefined') url = m_url;
		this.hdl_switchplayer(id, title, url, _this.w, _this.h, _this.maxmized);
	}
	this.getVHByW = function(w) {
		vdo_w = w;
		vdo_h = Math.ceil(_this.bl_h * vdo_w / _this.bl_w);
		return vdo_h;
	}
	this.getVWByH = function(h) {
		vdo_h = h;
		vdo_w = Math.ceil(_this.bl_w * vdo_h / _this.bl_h);
		return vdo_w;
	}
	this.getPlayer = function() {
		if (Ext.isIE) {
			return tv_starv_fun.$(_this.video_id);
		}
		else{
			return tv_starv_fun.$(_this.video_id+'_FF');
		}
	}
	var getPlayerString = function(w, h) {
		var strx = '<OBJECT ID="'+_this.video_id+'" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT="'+h+'" WIDTH="'+w+'">';
		strx += '<param name="_ExtentX" value="9313">';
		strx += '<param name="_ExtentY" value="7620">';
		strx += '<param name="AUTOSTART" value="0">';
		strx += '<param name="SHUFFLE" value="0">';
		strx += '<param name="PREFETCH" value="0">';
		strx += '<param name="NOLABELS" value="0">';
		strx += '<param name="SRC" value="">';
		strx += '<param name="CONTROLS" value="ImageWindow">';
		strx += '<param name="CONSOLE" value="Clip1">';
		strx += '<param name="LOOP" value="0">';
		strx += '<param name="NUMLOOP" value="0">';
		strx += '<param name="CENTER" value="0">';
		strx += '<param name="MAINTAINASPECT" value="0">';
		strx += '<param name="BACKGROUNDCOLOR" value="#000000">';
		strx += '<embed name="'+_this.video_id+'_FF" id="'+_this.video_id+'_FF" SRC="" type="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="ImageWindow" HEIGHT="'+h+'" WIDTH="'+w+'" autostart="false"></embed>';
		strx += '</OBJECT>';

		var stra1 = '<OBJECT ID="'+_this.video_id+'_play" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH="44" HEIGHT="26">';
		stra1 += '<PARAM NAME="CONTROLS" VALUE="PlayButton"><PARAM NAME="CONSOLE" VALUE="Clip1">';
		stra1 += '<embed ID="'+_this.video_id+'_play_FF" WIDTH=44 HEIGHT=26 CONTROLS="PlayButton" CONSOLE="Clip1" type="audio/x-pn-realaudio-plugin"></embed>';
		stra1 += '</OBJECT>';
		stra1 += '<OBJECT ID="'+_this.video_id+'_sb" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH="'+(w-44)+'" HEIGHT="26">';
		stra1 += '<PARAM NAME="CONTROLS" VALUE="StatusBar"><PARAM NAME="CONSOLE" VALUE="Clip1">';
		stra1 += '<embed ID="'+_this.video_id+'_sb_FF" WIDTH="'+(w-44)+'" HEIGHT=26 CONTROLS="StatusBar" CONSOLE="Clip1" type="audio/x-pn-realaudio-plugin"></embed>';
		stra1 += '</OBJECT>';

		var vdstr = '<table cellpadding="0" cellspacing="0" border="0">';
		vdstr += '<tr><td>' + strx + '</td></tr>';
		vdstr += '<tr><td>' + stra1 + '</td></tr>';
		vdstr += '</table>';

		//document.getElementById(_this.video_id).setWantErrors(true);
		//document.getElementById(_this.video_id).SetEnableContextMenu(true);
		//alert(document.getElementById("video").GetEnableContextMenu());
		return vdstr;
	}
}
