	function Movie(){
		
		this.vtype;
		this.type			= this.vtype;
		this.height			= 140;
		this.width			= 201;
		this.obj;			
		this.menuvisible	= 'OFF';
		this.objcectstring	= "";



		this.browsercheck = function(){
			if(navigator.userAgent.indexOf("MSIE") !=-1)			return "IE";
			else if(navigator.userAgent.indexOf("Firefox") !=-1)	return "FF";
			else if(navigator.userAgent.indexOf("Mozilla") !=-1)	return "MZ";
			else if(navigator.userAgent.indexOf("Opera") !=-1)		return "OP";
			else if(navigator.userAgent.indexOf("Mac") !=-1)		return "MC";
			else return "NG";  
		}
		this.WebBrowser		= this.browsercheck();
		
		this.browseralert = function(){
			alert(this.WebBrowser);
		}

		/*Player Movie */
		this.startobject	= function(){

			if(this.url){
				if(this.vtype	== "WMV")		this.changemovie();
				else if(this.vtype	== "FLA")	this.changeflash();
			}else{
				this.objcectstring	= '<img src="/images/capture.png" alt="video"  />';
			}
			OMovieDiv			= document.getElementById('flv');
			OMovieDiv.innerHTML	= '';
			
			OMovieDiv.insertAdjacentHTML('beforeEnd',this.objcectstring);


			//document.write(this.objcectstring);
			this.obj   = document.getElementById('WEA_Player');
		}
		
		this.changemovie	=function(){
			if(window.window.ActiveXObject){
				this.objcectstring =	'<OBJECT ID="WEA_Player" height="'+this.height+'" width="'+this.width+'" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">';
				this.objcectstring +=	'	<PARAM NAME="autostart" VALUE="true">';
				this.objcectstring +=	'	<PARAM NAME="url" VALUE="'+this.url+'">';
				if(this.menuvisible == 'ON'){
				}else{
					this.objcectstring +=	'	<PARAM NAME="uimode" VALUE="none">';
				}
				this.objcectstring +=	'	<PARAM NAME="stretchToFit" VALUE="true">';

				this.objcectstring +=	'</object>'
			}else{
				this.objcectstring =	'<OBJECT id="WEA_Player" type="application/x-ms-wmp" width="'+this.width+'" height="'+this.height+'">';
				this.objcectstring +=	'	<PARAM NAME="url" VALUE="'+this.url+'">';
				if(this.menuvisible == 'ON'){
				}else{
					this.objcectstring +=	'	<PARAM NAME="uimode" VALUE="none">';
				}
				this.objcectstring +=	'	<PARAM NAME="autostart" VALUE="true">';
				this.objcectstring +=	'	<PARAM NAME="stretchToFit" VALUE="true">';
				this.objcectstring +=	'</object>';
			}

		}


		this.changeflash = function(){
			if(window.window.ActiveXObject){
				this.objcectstring =	'<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
				this.objcectstring +=	'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" ';
				this.objcectstring +=	' WIDTH="'+this.width+'" HEIGHT="'+this.height+'" > ';
				this.objcectstring +=	'	<PARAM NAME=movie VALUE="'+this.url+'">';
				this.objcectstring +=	'	<PARAM NAME=quality VALUE=high>';
				this.objcectstring +=	'	<PARAM NAME=bgcolor VALUE=#FFFFFF>';
				this.objcectstring +=	'	<EMBED src="'+this.url+'" quality=high bgcolor=#FFFFFF ';
				this.objcectstring +=	'	WIDTH="'+this.width+'" HEIGHT="'+this.height+'" NAME="myMovieName" ';
				this.objcectstring +=	'	ALIGN="" TYPE="application/x-shockwave-flash" ';
				this.objcectstring +=	'	PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>';

			}else{
				this.objcectstring =	'<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
				this.objcectstring +=	'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" ';
				this.objcectstring +=	' WIDTH="'+this.width+'" HEIGHT="'+this.height+'" > ';
				this.objcectstring +=	'	<PARAM NAME=movie VALUE="'+this.url+'">';
				this.objcectstring +=	'	<PARAM NAME=quality VALUE=high>';
				this.objcectstring +=	'	<PARAM NAME=bgcolor VALUE=#FFFFFF>';
				this.objcectstring +=	'	<EMBED src="'+this.url+'" quality=high bgcolor=#FFFFFF ';
				this.objcectstring +=	'	WIDTH="'+this.width+'" HEIGHT="'+this.height+'" NAME="myMovieName" ';
				this.objcectstring +=	'	ALIGN="" TYPE="application/x-shockwave-flash" ';
				this.objcectstring +=	'	PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>';
			}
			
		}
	}