function displayObj(videoUrl) {
var bnum = Math.round(Math.random()*9999);
var burl = "";
var bparam = "";
var bembed = "";
burl = "http://www.gagreport.com/videoasx.php?url="+videoUrl+"&"+bnum;

bparam = "<param name=\"FileName\" value=\""+burl+"\">";
bembed = "<embed type=\"application/x-mplayer2\" pluginspage = \"http://www.microsoft.com/Windows/MediaPlayer/\" src=\""
bembed = bembed + burl +"\" align=\"middle\" defaultframe=\"rightFrame\" showstatusbar=true width=\"450\" height=\"350\"></embed>";

document.write('<object id="MediaPlayer1" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft. Windows. Media Player components..." type="application/x-oleobject" align="middle" width="450" height="350">\n');
document.write(bparam);
document.write('\n');
document.write('<param name="AnimationatStart" value="true">\n');
document.write('<param name="TransparentatStart" value="true">\n');
document.write('<param name="AutoStart" value="true">\n');
document.write('<param name="ShowControls" value="1">\n');
document.write('<param name="Volume" value="-20">\n');
document.write(bembed);
document.write('\n');
document.write('</object>\n');
}

