function FFPlay(sPath,Format) 
		{	 
		 
		if( Format == 'flash' )
		{
		   s = "<embed src='"+sPath+"' id=VTCVN type=application/x-shockwave-flash wmode=transparent width=240 height=180></embed>";
		}
		else
		{
		    s="";
   			s="<OBJECT id=winMediaPlayerID ";
            s+="codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 ";
            s+="type=application/x-oleobject ";
            s+="standby=\"Loading Microsoft Windows Media Player components...\" "; 
            s+="width=240 height=180 classid=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6 ";
            s+="name=winMediaPlayer>";
	        s+="<PARAM NAME=\"URL\" VALUE=\""+sPath+"\"> ";
	        s+="<PARAM NAME=\"rate\" VALUE=\"1\">";
	        s+="<PARAM NAME=\"balance\" VALUE=\"0\">";
	        s+="<PARAM NAME=\"currentPosition\" VALUE=\"0\">";
	        s+="<PARAM NAME=\"defaultFrame\" VALUE=\"0\">";
	        s+="<PARAM NAME=\"playCount\" VALUE=\"1\">";
	        s+="<PARAM NAME=\"CursorType\" VALUE=\"-1\">";
	        s+="<PARAM NAME=\"autoStart\" VALUE=\"1\">";
	        s+="<PARAM NAME=\"currentMarker\" VALUE=\"0\">";
	        s+="<PARAM NAME=\"invokeURLs\" VALUE=\"-1\">";
	        s+="<PARAM NAME=\"volume\" VALUE=\"100\">";
	        s+="<PARAM NAME=\"mute\" VALUE=\"0\">";
	        s+="<PARAM NAME=\"stretchToFit\" VALUE=\"1\">";
	        s+="<PARAM NAME=\"windowlessVideo\" VALUE=\"0\">";
	        s+="<PARAM NAME=\"enabled\" VALUE=\"1\">";
	        s+="<PARAM NAME=\"fullScreen\" VALUE=\"0\">";
	        s+="<PARAM NAME=\"enableContextMenu\" VALUE=\"0\">";
	        s+="<PARAM NAME=\"enableErrorDialogs\" VALUE=\"0\"> \n";
        
       		s+="<Embed type='application/x-mplayer2' pluginspage='http://www.microsoft.com/windows/windowsmedia/download/' src='"+sPath+"'  id='winMediaPlayerIDFF' "; 
            s+="width=240 height=180  ";
            s+="AutoSize='1' ";
            s+="AutoStart='1' ";
            s+="ClickToPlay='1' ";
            s+="DisplaySize='1' ";
            s+="EnableContextMenu='0' ";
            s+="EnableFullScreenControls='1' "; 
            s+="EnableTracker='1' ";
            s+="Mute='0' ";
            s+="PlayCount='1' "; 
            s+="ShowControls='1' "; 
            s+="ShowAudioControls='1' "; 
            s+="ShowDisplay='0' ";
            s+="ShowGotoBar='0' ";
            s+="ShowPositionControls='1' "; 
            s+="ShowStatusBar='1' ";
            s+="ShowTracker='1'> ";
            s+="</embed> ";
    		s+="</OBJECT>";
    		}
    		var flashObj = document.getElementById('flash');
    		if (flashObj != null)
    		    flashObj.innerHTML=s;
		}

   