var mp;

$(document).ready(function(){
	mp = new MavenPlayer('vmnewsmedium');
	mp.setParameter('checkSystemId', 'systemRequirementsHTML'); 
	mp.setQueryParamsAsVariables( false );

	mp.setVariable('partner', partner); //Should never change
	mp.setVariable('channel', ch); //Peform to update per channel
	mp.setVariable('subchannel', sch); //Peform to update per channel
	mp.setVariable('sschannel', ssch); //Peform to update per channel
	mp.setVariable('pagename', pg); //Peform to update per channel
	mp.setVariable('t', '0');
	mp.setVariable('l', 'non-customer');
	mp.setVariable('tile', ord); //Peform to pull from VM JS value - used to SYNC MPU
	mp.setVariable('package', '');
	mp.setVariable('vidsync', ''); //Peform to update is Ad Trafic request
	mp.setVariable('plytype', 'medium'); //Peform to ensure matches player type/size  -  values small | medium | lrge

	mp.write('maven_player_single');
		
	$(document).bind('contextmenu',function(e) {
		return maven.PlayerObjectUtil.doContextMenu(); 
	});
});

function show_maven_video(video_id) {
	mp.setVariable('MAVEN_VIDEOID',video_id);
	mp.write('maven_player_single');
}