function changeChanelXetv(width , height){
		var chanel = document.getElementById('chaneltk').value ;
		document.getElementById('_play').style.display = 'none';
		document.getElementById('_stop').style.display = 'block';
		var timestr = Date.parse(new Date());
		//alert(chanel);	
		if(chanel == 'mindroom'){
			
			
			
			
		document.getElementById('tvtk').innerHTML =	'<OBJECT ID="JPEGViewer" WIDTH = '+  width  +' HEIGHT= '+height+' CLASSID="CLSID:00706F54-DA22-419f-B20A-BBE4E1C4E017" CODEBASE="./v225.cab#version=1,0,0,8"><PARAM NAME="IP" VALUE="192.168.0.33"><PARAM NAME="HttpPort" VALUE="80"><PARAM NAME="DispWidth" VALUE="'+  width  +'"><PARAM NAME="DispHeight" VALUE="'+height+'"><PARAM NAME="FrameRate" VALUE="15"><PARAM NAME="StreamType" VALUE="0"><PARAM NAME="OpPassword" VALUE="jvc"></OBJECT>';
		}else {
		document.getElementById('tvtk').innerHTML = "<applet width='"+  width  +"' height='"+  height +"' codebase='http://"+chanel +"/?time="+timestr+"' code='mjpeg.class'></applet>";
		}
	
	}
	function changeChanelStopXetv(){
		document.getElementById('_play').style.display = 'block';
		document.getElementById('_stop').style.display = 'none';

		document.getElementById('tvtk').innerHTML = "<div style='background:url(http://www.tkpark.or.th/tk/modules/mod_xetvmini/images/live.jpg); width:echo 190px; height:150px; background-color:Black;'></<div >";
	
	}
