﻿function PlayVideo(url,id)
{   
    document.getElementById("VideoContent").innerHTML='<object id="mVideo" name="mVideo" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" type="application/x-oleobject" height="312" standby="Loading Microsoft Windows Media Player components..." width="346" classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"><param name="URL" value="'+url+'"><param name="volume" value="50"><embed id="mEVideo" name="mEVideo" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/" src="'+url+'" width="346px" height="312px"></embed></object>';    
    document.getElementById("titlecenter").innerHTML= document.getElementById("Title" + id).innerHTML;//
    document.getElementById("contentcenter").innerHTML= document.getElementById("Contenthtml" + id).innerHTML;
    
    
    //alert(url);
   
}
