// Video Detective WMPlayer for MTW clips	
function insert_VDWMP() {	
document.write('<OBJECT height="'+jsplayerHeight+'" width="'+jsplayerWidth+'" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6">');
document.write('<PARAM NAME="URL" VALUE="http://www.videodetective.net/player.aspx?cmd=3&publishedId='+jsVDpubID+'&videokbrate='+jsvideoKrate+'&customerid=27879">');
document.write('<PARAM NAME="rate" VALUE="1">');
document.write('<PARAM NAME="balance" VALUE="0">');
document.write('<PARAM NAME="currentPosition" VALUE="0">');
document.write('<PARAM NAME="defaultFrame" VALUE="">');
document.write('<PARAM NAME="playCount" VALUE="1">');
document.write('<PARAM NAME="autoStart" VALUE="-1">');
document.write('<PARAM NAME="currentMarker" VALUE="0">');
document.write('<PARAM NAME="invokeURLs" VALUE="-1">');
document.write('<PARAM NAME="baseURL" VALUE="">');
document.write('<PARAM NAME="volume" VALUE="100">');
document.write('<PARAM NAME="mute" VALUE="0">');
document.write('<PARAM NAME="uiMode" VALUE="full">');
document.write('<PARAM NAME="stretchToFit" VALUE="0">');
document.write('<PARAM NAME="windowlessVideo" VALUE="0">');
document.write('<PARAM NAME="enabled" VALUE="-1">');
document.write('<PARAM NAME="enableContextMenu" VALUE="-1">');
document.write('<PARAM NAME="fullScreen" VALUE="0">');
document.write('<PARAM NAME="SAMIStyle" VALUE="">');
document.write('<PARAM NAME="SAMILang" VALUE="">');
document.write('<PARAM NAME="SAMIFilename" VALUE="">');
document.write('<PARAM NAME="captioningID" VALUE="">');
document.write('<PARAM NAME="enableErrorDialogs" VALUE="0">');
document.write('<PARAM NAME="_cx" VALUE="8520">');
document.write('<PARAM NAME="_cy" VALUE="8123">');
document.write('<embed src="http://www.videodetective.net/player.aspx?cmd=3&publishedId='+jsVDpubID+'&videokbrate='+jsvideoKrate+'&customerid=27879" type="application/x-mplayer2" width="'+jsplayerWidth+'" height="'+jsplayerHeight+'" controls="ImageWindow" autostart="true" autoplay="true" controller="true" clicktoplay="false" ShowControls="true" Showtracker="false" ShowPositionControls="true" url="http://www.videodetective.net/player.aspx?cmd=3&publishedId='+jsVDpubID+'&videokbrate='+jsvideoKrate+'&customerid=27879"></embed>');
	document.write('</object>');
}	

	
	
	
	
/* ********  TEMP	
function insert_WMP() {	
document.write('<OBJECT height="305" width="320" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6">');
document.write('<PARAM NAME="URL" VALUE="http://www.videodetective.net/player.asp?cmd=3&publishedId=789532&videokbrate=300&customerid=27879">');
document.write('<PARAM NAME="rate" VALUE="1">');
document.write('<PARAM NAME="balance" VALUE="0">');
document.write('<PARAM NAME="currentPosition" VALUE="0">');
document.write('<PARAM NAME="defaultFrame" VALUE="">');
document.write('<PARAM NAME="playCount" VALUE="1">');
document.write('<PARAM NAME="autoStart" VALUE="-1">');
document.write('<PARAM NAME="currentMarker" VALUE="0">');
document.write('<PARAM NAME="invokeURLs" VALUE="-1">');
document.write('<PARAM NAME="baseURL" VALUE="">');
document.write('<PARAM NAME="volume" VALUE="100">');
document.write('<PARAM NAME="mute" VALUE="0">');
document.write('<PARAM NAME="uiMode" VALUE="full">');
document.write('<PARAM NAME="stretchToFit" VALUE="0">');
document.write('<PARAM NAME="windowlessVideo" VALUE="0">');
document.write('<PARAM NAME="enabled" VALUE="-1">');
document.write('<PARAM NAME="enableContextMenu" VALUE="-1">');
document.write('<PARAM NAME="fullScreen" VALUE="0">');
document.write('<PARAM NAME="SAMIStyle" VALUE="">');
document.write('<PARAM NAME="SAMILang" VALUE="">');
document.write('<PARAM NAME="SAMIFilename" VALUE="">');
document.write('<PARAM NAME="captioningID" VALUE="">');
document.write('<PARAM NAME="enableErrorDialogs" VALUE="0">');
document.write('<PARAM NAME="_cx" VALUE="8520">');
document.write('<PARAM NAME="_cy" VALUE="8123">');
document.write('<embed height="305" src="http://www.videodetective.net/player.asp?cmd=3&publishedId=789532&videokbrate=300&customerid=27879" type="application/x-mplayer2" width="320" controls="ImageWindow" autostart="true" autoplay="true" controller="true" clicktoplay="false" ShowControls="true" Showtracker="false" ShowPositionControls="true" url="http://www.videodetective.net/player.asp?cmd=3&publishedId=789532&videokbrate=300&customerid=27879"></embed>');
	document.write('</object>');
}	

******************************* */
 
 // Flash player for BWL **** testing
function insert_BWL(moviepath) {
	document.write('<OBJECT id=player codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab height=380 width=380 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>');
	document.write('<PARAM NAME="_cx" VALUE="10054">');
	document.write('<PARAM NAME="_cy" VALUE="10054">');
	document.write('<PARAM NAME="FlashVars" VALUE="10054">');
	document.write('<PARAM NAME="Movie" VALUE="http://images.barnesandnoble.com/pimages/swf/'+moviepath+'">');
	document.write('<PARAM NAME="Src" VALUE="http://images.barnesandnoble.com/pimages/swf/'+moviepath+'">');
	document.write('<PARAM NAME="WMode" VALUE="Window">');
	document.write('<PARAM NAME="Play" VALUE="-1">');
	document.write('<PARAM NAME="Loop" VALUE="0">');
	document.write('<PARAM NAME="Quality" VALUE="High">');
	document.write('<PARAM NAME="SAlign" VALUE="L">');
	document.write('<PARAM NAME="Menu" VALUE="-1">');
	document.write('<PARAM NAME="Base" VALUE="">');
	document.write('<PARAM NAME="AllowScriptAccess" VALUE="always">');
	document.write('<PARAM NAME="Scale" VALUE="NoScale">');
	document.write('<PARAM NAME="DeviceFont" VALUE="0">');
	document.write('<PARAM NAME="EmbedMovie" VALUE="0">');
	document.write('<PARAM NAME="BGColor" VALUE="">');
	document.write('<PARAM NAME="SWRemote" VALUE="">');
	document.write('<EMBED NAME="player" SRC="http://images.barnesandnoble.com/pimages/swf/'+moviepath+'" WIDTH="380" HEIGHT="380" PLAY="true" LOOP="false" QUALITY="high" SCALE="SHOWALL" swLiveConnect="true" PLUGINSPAGE="http://www.macromedia.com/go/flashplayer/"/>');
	document.write('</OBJECT>');
	}



