// Edit this file to set up VL skins according to your installation environment,
// such as redirection. Settings related to the appearance of a particular skin
// should be set in config.js
// Default values are shown commented out. You need to uncomment and edit the value
// in order to change the skin's behaviour.

// The default setup is intended to work with VL ini settings of:
// v3DocumentLinkString=/%realdocumentpath%
// VideoLinkString=/%realvideopath%

window.deployment = {

// Redir port. Set this if you are redirecting through aspx and using an alternate VL port
	redirPort: 18000,

// Log URL. User activity will be reported here if this is set. Default is unset.
	//logUrl: false,

// Live URL. Set this to the url from which live slides can be retrieved
// Default is unset which turns off live slides
	liveUrl: '/redir2/redir.ashx/17000/_1.2/liveslides/?path=',

// ToC URL. Settings will be different for each deployment.
	tocUrl: '/vl/toc3.aspx?port=18000',

// Downloads Link. Function to transform a bare httplink into the url to get downloads from
// in some environments, videos and slides are redirected but downloads are not. The result
// should /not/ contain "/Downloads"
    getDownloadsLink: function(httplink){return "/redir2/redir.ashx/17000/"+httplink.replace('%26', '@@@A').replace('%25', '@@@P')},

// GetLiveSlideLink. Function to transform a bare httplink into a link to a live slide
	//getLiveSlideLink: function(httplink){return '/_1.2/liveslides/'}, 

// GetMMSLink. Transform a bare mms link, doing whatever redirection is necessary
    getMMSLink: function(mmslink){return mmslink},

// GetSlideLink. Transform a bare httplink link into the location to get slides and thumbnails from
    getSlideLink: function(httplink){return "/redir2/redir.ashx/18000/"+httplink.replace('%26', '@@@A').replace('%25', '@@@P')}
};

